NAME

VirtualAlloc  (KERNEL32.@)

SYNOPSIS

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

DESCRIPTION

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

Defined in "winbase.h".

Implemented in "dlls/kernel32/virtual.c". source.winehq.org/source/dlls/kernel32/virtual.c


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2008.