VirtualAlloc(3w)

VirtualAlloc3w

Usage

LPVOID VirtualAlloc
(
LPVOID addr,
SIZE_T size,
DWORD type,
DWORD protect
)

Overview

Reserves or commits a region of pages in virtual address space.

Params

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

6 releases since Debian 2.0 (Hamm); the text changed 5 times.

  1. 2.0
  2. 2.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7

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