Click or drag to resize
Xcalibur Systems LLC Logo

ProcessHelperTerminateProcess Method

Terminates the specified process and all of its threads.

TerminateProcess function


Namespace: Xcalibur.NativeMethods.V2.Processes
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("CoreDll.dll", SetLastError = true)]
public static int TerminateProcess(
	IntPtr processHandle,
	IntPtr exitCode
)

Parameters

processHandle  IntPtr
A handle to the process to be terminated.
exitCode  IntPtr
The exit code to be used by the process and threads terminated as a result of this call.

Return Value

Int32
See Also