OpenProcess function kernel32

int OpenProcess(
  1. int dwDesiredAccess,
  2. int bInheritHandle,
  3. int dwProcessId
)

Opens an existing local process object.

HANDLE OpenProcess(
  DWORD dwDesiredAccess,
  BOOL  bInheritHandle,
  DWORD dwProcessId
);

Implementation

int OpenProcess(int dwDesiredAccess, int bInheritHandle, int dwProcessId) =>
    _OpenProcess(dwDesiredAccess, bInheritHandle, dwProcessId);