The KeResetEvent routine resets a specified event object to a not signaled state and returns the previous state of that event object.
LONG
KeResetEvent(
IN PRKEVENT Event
);
KeResetEvent returns the previous state of the given Event, nonzero for a signaled state.
Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.
Event is reset to a not signaled state, meaning that its value is set to zero.
Unless the caller uses the value returned by KeResetEvent, setting a given event object to a not signaled state using KeClearEvent is faster.
Callers of KeResetEvent must be running at IRQL <= DISPATCH_LEVEL.
KeClearEvent, KeInitializeEvent, KeReadStateEvent, KeSetEvent, KeWaitForMultipleObjects, KeWaitForSingleObject