ExitProcess function kernel32
Ends the calling process and all its threads.
To learn more, see learn.microsoft.com/windows/win32/api/processthreadsapi/nf-processthreadsapi-exitprocess.
Implementation
@pragma('vm:prefer-inline')
void ExitProcess(int uExitCode) => _ExitProcess(uExitCode);