NAME

VirtualAlloc  (KERNEL32.@)

SYNOPSIS

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

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.

DESCRIPTION

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

RETURNS

Base address of allocated region of pages

NULL: Failure

IMPLEMENTATION

Defined in "winbase.h".

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

Debug channel "virtual".


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