KeResetEvent - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

LONG KeResetEvent(
  [in, out] PRKEVENT Event
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-keresetevent)

KeResetEvent function

Description

The KeResetEvent routine resets a specified event object to a not-signaled state and returns the previous state of that event object.

Parameters

Event [in, out]

A pointer to an initialized dispatcher object of type event for which the caller provides the storage.

Return value

KeResetEvent returns a value that indicates the previous state of the specified Event, which is nonzero for a signaled state.

Remarks

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

Unless the caller requires the value that is returned by KeResetEvent, using the KeClearEvent routine is a faster way to set an event object to a not-signaled state.

For more information about event objects, see Event Objects.

See also

KeClearEvent

KeInitializeEvent

KeReadStateEvent

KeSetEvent

KeWaitForMultipleObjects

KeWaitForSingleObject