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