Cygwin: Decorate NtQueryVirtualMemory() to fix 32-bit build
Decorate NtQueryVirtualMemory() with NTAPI (for stdcall) to fix 32-bit build. Reported-by: Takashi Yano <takashi.yano@nifty.ne.jp>
This commit is contained in:
parent
123b806523
commit
7b1416c3ab
@ -272,7 +272,7 @@ typedef enum _MEMORY_INFORMATION_CLASS
|
|||||||
} MEMORY_INFORMATION_CLASS;
|
} MEMORY_INFORMATION_CLASS;
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
NTSTATUS
|
NTSTATUS NTAPI
|
||||||
NtQueryVirtualMemory(HANDLE ProcessHandle,
|
NtQueryVirtualMemory(HANDLE ProcessHandle,
|
||||||
LPVOID BaseAddress,
|
LPVOID BaseAddress,
|
||||||
MEMORY_INFORMATION_CLASS MemoryInformationClass,
|
MEMORY_INFORMATION_CLASS MemoryInformationClass,
|
||||||
|
Loading…
Reference in New Issue
Block a user