IServiceGroup::RequestDelayedService 方法 (portcls.h)

方法 RequestDelayedService 在指定的延迟后请求服务。

语法

void RequestDelayedService(
  [in] ULONGLONG ullDelay
);

参数

[in] ullDelay

指定计时器到期的绝对时间或相对时间。 如果 ulDelay 的值为负,则过期时间相对于当前系统时间。 否则,过期时间为绝对时间。 过期时间以系统时间单位表示,) (100 纳秒间隔。 绝对过期时间跟踪系统时间中的任何更改;相对过期时间不受系统时间更改的影响。

返回值

备注

在调用 RequestDelayedService 以请求计时器延迟之前,请通过调用 IServiceGroup::SupportDelayedService 来初始化计时器。

要求

要求
目标平台 通用
标头 portcls.h (包括 Portcls.h)
IRQL PASSIVE_LEVEL

另请参阅

IServiceGroup

IServiceGroup::SupportDelayedService