Kernel32ResumeThread(SafeAccessTokenHandle) Method
Decrements a thread's suspend count.
When the suspend count is decremented to zero, the execution of the thread is resumed.
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("Kernel32.dll", SetLastError = true)]
public static int ResumeThread(
SafeAccessTokenHandle hThread
)
<DllImportAttribute("Kernel32.dll", SetLastError := true>]
Public Shared Function ResumeThread (
hThread As SafeAccessTokenHandle
) As Integer
Dim hThread As SafeAccessTokenHandle
Dim returnValue As Integer
returnValue = Kernel32.ResumeThread(hThread)
public:
[DllImportAttribute(L"Kernel32.dll", SetLastError = true)]
static int ResumeThread(
SafeAccessTokenHandle^ hThread
)
[<DllImportAttribute("Kernel32.dll", SetLastError = true)>]
static member ResumeThread :
hThread : SafeAccessTokenHandle -> int
No code example is currently available or this language may not be supported.
- hThread SafeAccessTokenHandle
-
A handle to the thread to be resumed.
The handle must have the SuspendResume access right
Int32
If the function succeeds, the return value is the thread's previous suspend count; otherwise, it is
-1.
To get extended error information, call
GetLastWin32Error.