Method TerminateProcess NamespaceMicrosoft.Samples.Debugging.Native AssemblyNativeDebugWrappers.dll TerminateProcess(IntPtr, uint) public static extern bool TerminateProcess(IntPtr hProcess, uint uExitCode) Parameters hProcess IntPtr uExitCode uint Returns bool