ExitProcess function Null safety kernel32

void ExitProcess(
  1. int uExitCode
)

Ends the calling process and all its threads.

void ExitProcess(
  UINT uExitCode
);

Implementation

void ExitProcess(int uExitCode) {
  final _ExitProcess = _kernel32.lookupFunction<Void Function(Uint32 uExitCode),
      void Function(int uExitCode)>('ExitProcess');
  return _ExitProcess(uExitCode);
}