VirtualQueryEx function kernel32

int VirtualQueryEx(
  1. int hProcess,
  2. Pointer<NativeType> lpAddress,
  3. Pointer<MEMORY_BASIC_INFORMATION> lpBuffer,
  4. int dwLength,
)

Retrieves information about a range of pages within the virtual address space of a specified process.

SIZE_T VirtualQueryEx(
  HANDLE hProcess,
  LPCVOID lpAddress,
  PMEMORY_BASIC_INFORMATION lpBuffer,
  SIZE_T dwLength
);

Implementation

int VirtualQueryEx(int hProcess, Pointer lpAddress,
        Pointer<MEMORY_BASIC_INFORMATION> lpBuffer, int dwLength) =>
    _VirtualQueryEx(hProcess, lpAddress, lpBuffer, dwLength);