---
name: "VirtualQueryEx"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/VirtualQueryEx"
---

# VirtualQueryEx(3w)

## NAME

**VirtualQueryEx** (KERNEL32.@)

## SYNOPSIS

SIZE\_T VirtualQueryEx\
  (\
   HANDLE                    *process*,\
   LPCVOID                   *addr*,\
   PMEMORY\_BASIC\_INFORMATION *info*,\
   SIZE\_T                    *len*\
  )

## DESCRIPTION

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

## PARAMS

*process* **\[In\]**  Handle to *process*.

*addr* **\[In\]**  Address of region.

*info* **\[Out\]**  Address of information buffer.

*len* **\[In\]**  Size of buffer.

## RETURNS

Number of bytes returned in information buffer.

## IMPLEMENTATION

Declared in **"winbase.h"**.

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