TerminateProcess method

int TerminateProcess(
  1. Pointer<Void> hProcess,
  2. int uExitCode
)

Implementation

int TerminateProcess(
  ffi.Pointer<ffi.Void> hProcess,
  int uExitCode,
) {
  return (_TerminateProcess ??=
      _dylib.lookupFunction<_c_TerminateProcess, _dart_TerminateProcess>(
          'TerminateProcess'))(
    hProcess,
    uExitCode,
  );
}