NtResumeProcess function Null safety

int NtResumeProcess(
  1. int hWnd
)

The undocumented NtResumeProcess function accepts a process handle and resumes that process. Return value is 0 for success, non-zero for failure.

BOOL NtResumeProcess(
 HWND hWnd
);

Implementation

int NtResumeProcess(int hWnd) {
  final _NtResumeProcess = _ntdll.lookupFunction<Int32 Function(IntPtr hWnd),
      int Function(int hWnd)>('NtResumeProcess');
  return _NtResumeProcess(hWnd);
}