NtDllNtSetEvent Method

Sets an event object to a Signaled state and attempts to satisfy as many waits as possible.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("NtDll.dll")]
public static NTStatus NtSetEvent(
	IntPtr eventHandle,
	[OptionalAttribute] out int refPreviousState
)

Parameters

eventHandle  IntPtr
A handle to an event object..
refPreviousState  Int32  (Optional)
An optional pointer to a variable where the previous state of the event object is stored on output. .

Return Value

NTStatus
Returns SUCCESS on success, or the appropriate NTStatus error code on failure.

Remarks

See Also