LONG
KeResetEvent(
IN PKEVENT Event
);
KeResetEvent resets the state of a specified event object to Not-Signaled and returns the previous state of that event object.
KeResetEvent returns the previous state of the given Event, nonzero for Signaled.
The state of Event is reset to Not-Signaled, meaning its value is set to zero.
Unless the caller uses the value returned by KeResetEvent, setting the state of a given event object to Not-Signaled with KeClearEvent is faster.
Callers of KeResetEvent must be running at IRQL <= DISPATCH_LEVEL.
KeClearEvent, KeInitializeEvent, KeReadStateEvent, KeSetEvent, KeWaitForMultipleObjects, KeWaitForSingleObject