Previous Next

KeClearEvent

The KeClearEvent routine sets the given event to a not signaled state.

VOID 
  KeClearEvent(
    IN PRKEVENT  Event
    );

Parameters

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

Return Value

None

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

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.

Callers of KeClearEvent must be running at IRQL <= DISPATCH_LEVEL.

See Also

KeInitializeEvent, KeReadStateEvent, KeResetEvent, KeSetEvent