次の方法で共有


VirtualQueryEx (Windows Embedded CE 6.0)

1/6/2010

This function provides information about a range of pages in the virtual address space of the calling process.

Syntax

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

Parameters

  • hProcess
    [in] Handle to the process to query for virtual address space information.
  • lpAddress
    [in] Pointer to the base address of the region of pages to be queried. This value is rounded down to the next page boundary. To determine the size of a page on the host computer, use the GetSystemInfo function.
  • lpBuffer
    [out] Pointer to a MEMORY_BASIC_INFORMATION structure in which information about the specified page range is returned.
  • dwLength
    [in] Specifies the size, in bytes, of the buffer pointed to by the lpBuffer parameter.

Return Value

The number of bytes returned in the information buffer indicates success.

Remarks

For more information about this function, see VirtualQuery.

Requirements

Header winbase.h
Library coredll.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Memory Management Functions
VirtualAlloc
GetSystemInfo
MEMORY_BASIC_INFORMATION