_SHELL_QueryAppyTimeAvailable


include shell.inc
VxDcall _SHELL_QueryAppyTimeAvailable
or eax, eax
jz not_available

Specifies whether application time events are available to VxDs. Application time events are available only after Windows initializes; they cease to be available when Windows begins to shutdown or if the message server GP faults. Uses C calling conventions.

This is an asynchronous service.

This service does not specify whether the system is currently in an appy-time state. The message server may GP fault if a call to the CallRing3 service by a VxD GP faults. Under such conditions, application time is permanently disabled until the system shuts down and restarts.