Skip to content

Latest commit

 

History

History
91 lines (60 loc) · 2.69 KB

nf-wdm-keresetevent.md

File metadata and controls

91 lines (60 loc) · 2.69 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wdm.KeResetEvent
KeResetEvent function (wdm.h)
The KeResetEvent routine resets a specified event object to a not-signaled state and returns the previous state of that event object.
kernel\keresetevent.htm
kernel
04/30/2018
KeResetEvent function
KeResetEvent, KeResetEvent routine [Kernel-Mode Driver Architecture], k105_d2a27b37-56af-46a4-8a48-da507261f77a.xml, kernel.keresetevent, wdm/KeResetEvent
wdm.h
Wdm.h, Ntddk.h, Ntifs.h
Universal
Available starting with Windows 2000.
IrqlKeDispatchLte, HwStorPortProhibitedDDIs
NtosKrnl.lib
NtosKrnl.exe
<=DISPATCH_LEVEL
Windows
KeResetEvent
wdm/KeResetEvent
APIRef
kbSyntax
DllExport
NtosKrnl.exe
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

-param Event [in, out]

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

-returns

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