VirtualAllocEx(3w)

VirtualAllocEx3w

Usage

LPVOID VirtualAllocEx
(
HANDLE hProcess,
LPVOID addr,
SIZE_T size,
DWORD type,
DWORD protect
)

Overview

Seems to be just as VirtualAlloc, but with process handle.

Params

hProcess [In] Handle to process to do mem operation.

addr [In] Address of region to reserve or commit.

size [In] Size of region.

type [In] Type of allocation.

protect [In] Type of access protection.

Returns

Success: Base address of allocated region of pages.

Failure: NULL.

Implementation

Declared in "winbase.h".

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

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.