mirror of
https://github.com/silverf0x/RpcView
synced 2026-06-08 17:26:38 +00:00
Fix call convension for the ProcexpOpenProcess function and support for the 32-bit version.
This commit is contained in:
+2
-2
@@ -22,10 +22,10 @@ typedef struct _LanguageCodePage_T {
|
||||
|
||||
HANDLE hProcexp = NULL;
|
||||
|
||||
HANDLE ProcexpOpenProcess(DWORD dwDesiredAccess, BOOL bInheritHandle, DWORD dwProcessId)
|
||||
HANDLE WINAPI ProcexpOpenProcess(DWORD dwDesiredAccess, BOOL bInheritHandle, DWORD dwProcessId)
|
||||
{
|
||||
HANDLE hProcess = NULL;
|
||||
UINT64 Pid = dwProcessId;
|
||||
HANDLE Pid = (HANDLE)(uintptr_t)dwProcessId;
|
||||
DWORD Bytes;
|
||||
|
||||
hProcess = OpenProcess(dwDesiredAccess, bInheritHandle, dwProcessId);
|
||||
|
||||
Reference in New Issue
Block a user