KeClearEvent function (wdm.h)

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

Syntax

void KeClearEvent(
  [in, out] PRKEVENT Event
);

Parameters

[in, out] 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

Requirement Value
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 HwStorPortProhibitedDDIs(storport), IoBuildDeviceIoControlSetEvent(wdm), IrqlKeDispatchLte(wdm)

See also

KeInitializeEvent

KeReadStateEvent

KeResetEvent

KeSetEvent