Kernel32ExitThread Method
Ends the calling thread.
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", ExactSpelling = true)]
public static void ExitThread(
uint exitCode
)
<DllImportAttribute("Kernel32.dll", ExactSpelling := true>]
Public Shared Sub ExitThread (
exitCode As UInteger
)
Dim exitCode As UInteger
Kernel32.ExitThread(exitCode)
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true)]
static void ExitThread(
unsigned int exitCode
)
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true)>]
static member ExitThread :
exitCode : uint32 -> unit
No code example is currently available or this language may not be supported.
Parameters
- exitCode UInt32
-
The exit code for the thread