mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
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
5e145c08ba
commit
96520070b1
@ -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…
x
Reference in New Issue
Block a user