Reference

VirtualQuery(3w)

NAME

VirtualQuery (KERNEL32.@)

SYNOPSIS

SIZE_T VirtualQuery
(
LPCVOID addr,
PMEMORY_BASIC_INFORMATION info,
SIZE_T len
)

DESCRIPTION

Provides information about a range of pages in virtual address space.

PARAMS

addr [In] Address of region.

info [Out] Address of information buffer.

len [In] Size of buffer.

RETURNS

Number of bytes returned in information buffer or 0 if addr >= 0xc0000000 (kernel space).

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/virtual.c".

History