#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
NTSYSCALLAPI
NTSTATUS
NTAPI
NtPulseEvent(
_In_ HANDLE EventHandle,
_Out_opt_ PLONG PreviousState
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwPulseEvent(
_In_ HANDLE EventHandle,
_Out_opt_ PLONG PreviousState
);
View code on GitHub
HANDLE
to Event Object opened with EVENT_MODIFY_STATE
access.
State of event before call.
Function sets event to signaled state, releases all (or one - depending on EVENT_TYPE
) waiting threads, and resets event to non-signaled state. If they're no waiting threads, NtPulseEvent
just clear event state.