MAPIAllocateMore (MAPI32.14)
SCODE MAPIAllocateMore ( ULONG cbSize, LPVOID lpOrig, LPVOID* lppBuffer )
MAPIAllocateMore@12 (MAPI32.15).
Allocate a block of memory linked to a previous allocation.
cbSize | [In] | Size of the block to allocate in bytes. |
lpOrig | [In] | Initial allocation to link to, from MAPIAllocateBuffer. |
lppBuffer | [Out] | Destination for pointer to allocated memory. |
Success: S_OK. *lppBuffer is filled with a pointer to a memory block of length cbSize bytes.
Failure: MAPI_E_INVALID_PARAMETER, if lpOrig or lppBuffer is invalid. MAPI_E_NOT_ENOUGH_MEMORY, if memory allocation fails.
Memory allocated with this function and stored in *lppBuffer is freed when lpOrig is passed to MAPIFreeBuffer. It should not be freed independently.
Declared in "include/mapix.h". gitlab.winehq.org/wine/wine/blob/master/include/mapix.h
Implemented in "dlls/mapi32/util.c". gitlab.winehq.org/wine/wine/blob/master/dlls/mapi32/util.c
Debug channel "mapi".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.