TerminateProcess function Null safety kernel32

int TerminateProcess(
  1. int hProcess,
  2. int uExitCode
)

Terminates the specified process and all of its threads.

BOOL TerminateProcess(
  HANDLE hProcess,
  UINT   uExitCode);

Implementation

int TerminateProcess(int hProcess, int uExitCode) =>
    _TerminateProcess(hProcess, uExitCode);