#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
NTSYSCALLAPI
NTSTATUS
NTAPI
NtResetEvent(
_In_ HANDLE EventHandle,
_Out_opt_ PLONG PreviousState
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwResetEvent(
_In_ HANDLE EventHandle,
_Out_opt_ PLONG PreviousState
);
View code on GitHub
HANDLE
to Event Object opened with EVENT_MODIFY_STATE
access.
Optional pointer to state of event before function call.
Difference between NtResetEvent
and NtClearEvent
is the first one can return state of event before call.