The KeResetEvent routine resets a specified event object to a not-signaled state and returns the previous state of that event object.
LONG KeResetEvent( PRKEVENT Event );
A pointer to an initialized dispatcher object of type event for which the caller provides the storage.
KeResetEvent returns a value that indicates the previous state of the specified Event, which is nonzero for a signaled state.
Event is reset to a not-signaled state, meaning that its value is set to zero.
Unless the caller requires the value that is returned by KeResetEvent, using the KeClearEvent routine is a faster way to set an event object to a not-signaled state.
For more information about event objects, see Event Objects.
|Minimum supported client||Available starting with Windows 2000.|
|Header||wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)|
|DDI compliance rules||IrqlKeDispatchLte, HwStorPortProhibitedDDIs|