terminateprocess (kernel32)
Last changed: -186.136.223.176

.
Summary

C# Signature:

[DllImport("kernel32.dll", SetLastError=true)]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool TerminateProcess(IntPtr hProcess, uint uExitCode);

VB.NET Signature

Declare Auto Function TerminateProcess Lib "KERNEL32.DLL" (ByVal hProcess As IntPtr, _

ByVal uExitCode As UInteger) As Boolean

Boo Signature:

[DllImport("kernel32.dll", SetLastError : true)]
def TerminateProcess(hProcess as IntPtr, dwExitCode as UInt32) as bool:
     pass

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

System.Diagnostics.Process.Kill()

Documentation