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:
Jon Turney 2020-07-28 13:25:00 +01:00
parent 123b806523
commit 7b1416c3ab
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ typedef enum _MEMORY_INFORMATION_CLASS
} MEMORY_INFORMATION_CLASS;
extern "C"
NTSTATUS
NTSTATUS NTAPI
NtQueryVirtualMemory(HANDLE ProcessHandle,
LPVOID BaseAddress,
MEMORY_INFORMATION_CLASS MemoryInformationClass,