KeClearEvent
TOC
Collapse the table of content
Expand the table of content

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

Target platform

Universal

Version

Available starting with Windows 2000.

Header

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

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

IoBuildDeviceIoControlSetEvent, IrqlKeDispatchLte, HwStorPortProhibitedDDIs

See also

KeInitializeEvent
KeReadStateEvent
KeResetEvent
KeSetEvent

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft