KeClearEvent function

The KeClearEvent routine sets an event to a not-signaled state.

Syntax

void KeClearEvent(
  PRKEVENT Event
);

Parameters

Event

Pointer to an initialized dispatcher object of type event for which the caller supplies the storage.

Return Value

None

Remarks

Event is set to a not-signaled state, meaning its value is set to zero.

For better performance, use KeClearEvent unless the caller uses the value returned by KeResetEvent to determine what to do next.

For more information about event objects, see Event Objects.

Requirements

   
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL
DDI compliance rules IoBuildDeviceIoControlSetEvent, IrqlKeDispatchLte, HwStorPortProhibitedDDIs

See Also

KeInitializeEvent

KeReadStateEvent

KeResetEvent

KeSetEvent