TerminateProcess

[DllImport("coredll.dll")]
public static extern uint TerminateProcess(
   IntPtr hProcess,
   uint uExitCode
);

Microsoft documentation: Linkarrow-up-right

Last updated