VirtualQuery function kernel32

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

Retrieves information about a range of pages in the virtual address space of the calling process.

SIZE_T VirtualQuery(
  LPCVOID lpAddress,
  PMEMORY_BASIC_INFORMATION lpBuffer,
  SIZE_T dwLength
);

Implementation

int VirtualQuery(Pointer lpAddress, Pointer<MEMORY_BASIC_INFORMATION> lpBuffer,
        int dwLength) =>
    _VirtualQuery(lpAddress, lpBuffer, dwLength);