Export (0) Print
Expand All
Expand Minimize

KeClearEvent routine

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

Syntax


VOID KeClearEvent(
  _Inout_  PRKEVENT Event
);

Parameters

Event [in, out]

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

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

IoBuildDeviceIoControlSetEvent, IrqlKeDispatchLte, HwStorPortProhibitedDDIs

See also

KeInitializeEvent
KeReadStateEvent
KeResetEvent
KeSetEvent

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft