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