NtDllNtSetEvent Method
Sets an event object to a Signaled state and attempts to satisfy as many waits as possible.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("NtDll.dll">]
Public Shared Function NtSetEvent (
eventHandle As IntPtr,
<OptionalAttribute> <OutAttribute> ByRef refPreviousState As Integer
) As NTStatus
Dim eventHandle As IntPtr
Dim refPreviousState As Integer
Dim returnValue As NTStatus
returnValue = NtDll.NtSetEvent(eventHandle,
refPreviousState)
public:
[DllImportAttribute(L"NtDll.dll")]
static NTStatus NtSetEvent(
[InAttribute] IntPtr eventHandle,
[OptionalAttribute] [OutAttribute] int% refPreviousState
)
[<DllImportAttribute("NtDll.dll")>]
static member NtSetEvent :
eventHandle : IntPtr *
[<OptionalAttribute>] refPreviousState : int byref -> NTStatus
No code example is currently available or this language may not be supported.
- 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. .
NTStatus
Returns
SUCCESS on success, or the appropriate
NTStatus error code on failure.