OpenProcess function kernel32
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);