// wdm.h
BOOLEAN KeReadStateTimer(
[in] PKTIMER Timer
);
View the official Windows Driver Kit DDI reference
No description available.
The KeReadStateTimer routine reads the current state of a timer object.
Timer
[in]A pointer to an initialized timer object, for which the caller provides the storage.
KeReadStateTimer returns TRUE if the current state of the timer object is signaled; otherwise, it returns FALSE.
This routine provides an efficient way to poll the signal state of a timer. KeReadStateTimer reads the state of the timer without synchronizing its access to the timer. Do not assume that accesses of a timer state by KeReadStateTimer are mutually exclusive of accesses by routines, such as KeSetTimer and KeWaitForSingleObject, that do synchronize their access to the timer state.
For more information about timer objects, see Timer Objects and DPCs.