#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
/**
* The NtSetEvent routine sets an event object to the signaled state.
*
* @param EventHandle A handle to the event object.
* @param PreviousState A pointer to a variable that receives the previous state of the event object.
* @return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtSetEvent(
_In_ HANDLE EventHandle,
_Out_opt_ PLONG PreviousState
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwSetEvent(
_In_ HANDLE EventHandle,
_Out_opt_ PLONG PreviousState
);
View code on GitHub
This function is documented in Windows Driver Kit.
HANDLE
to Event Object opened with EVENT_MODIFY_STATE
access.
State of Event Object before function call.