.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH MAPIAllocateMore 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBMAPIAllocateMore\fR (MAPI32.14) .SH SYNOPSIS SCODE MAPIAllocateMore ( ULONG \fIcbSize\fR, LPVOID \fIlpOrig\fR, LPVOID* \fIlppBuffer\fR ) .SH DESCRIPTION .PP MAPIAllocateMore@12 (\fBMAPI32\fR.\fB15\fR). .PP Allocate a block of memory linked to a previous allocation. .SH PARAMS \fIcbSize\fR \fB[In]\fR Size of the block to allocate in bytes. .PP \fIlpOrig\fR \fB[In]\fR Initial allocation to link to, from \fBMAPIAllocateBuffer(3w)\fR. .PP \fIlppBuffer\fR \fB[Out]\fR Destination for pointer to allocated memory. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. *\fIlppBuffer\fR is filled with a pointer to a memory block of length \fIcbSize\fR bytes. .PP \fBFailure:\fR \fBMAPI_E_INVALID_PARAMETER\fR, if \fIlpOrig\fR or \fIlppBuffer\fR is invalid. \fBMAPI_E_NOT_ENOUGH_MEMORY\fR, if memory allocation fails. .SH NOTES .PP Memory allocated with this function and stored in *\fIlppBuffer\fR is freed when \fIlpOrig\fR is passed to \fBMAPIFreeBuffer(3w)\fR. It should not be freed independently. .SH IMPLEMENTATION .PP Declared in \fB"util.h"\fR. .PP Implemented in \fB"dlls/mapi32/util.c"\fR. .PP Debug channel \fB"mapi"\fR.