.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VirtualAlloc 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVirtualAlloc\fR (KERNEL32.@) .SH SYNOPSIS LPVOID VirtualAlloc ( LPVOID \fIaddr\fR, SIZE_T \fIsize\fR, DWORD \fItype\fR, DWORD \fIprotect\fR ) .SH DESCRIPTION .PP Reserves or commits a region of pages in virtual address space. .SH PARAMS \fIaddr\fR \fB[In]\fR Address of region to reserve or commit. .PP \fIsize\fR \fB[In]\fR Size of region. .PP \fItype\fR \fB[In]\fR Type of allocation. .PP \fIprotect\fR \fB[In]\fR Type of access protection. .PP .SH RETURNS .PP \fBSuccess:\fR Base address of allocated region of pages. .PP \fBFailure:\fR \fBNULL\fR. .SH IMPLEMENTATION .PP Declared in \fB"winbase.h"\fR. .PP Implemented in \fB"dlls/kernel32/virtual.c"\fR.