OpenProcess method

Pointer<Void> OpenProcess(
  1. int dwDesiredAccess,
  2. int bInheritHandle,
  3. int dwProcessId
)

Implementation

ffi.Pointer<ffi.Void> OpenProcess(
  int dwDesiredAccess,
  int bInheritHandle,
  int dwProcessId,
) {
  return (_OpenProcess ??= _dylib
      .lookupFunction<_c_OpenProcess, _dart_OpenProcess>('OpenProcess'))(
    dwDesiredAccess,
    bInheritHandle,
    dwProcessId,
  );
}