MAPIAllocateMore(3w)

NAME

MAPIAllocateMore (MAPI32.14)

SYNOPSIS

SCODE MAPIAllocateMore
 (
  ULONG   cbSize,
  LPVOID  lpOrig,
  LPVOID* lppBuffer
 )

DESCRIPTION

MAPIAllocateMore@12 (MAPI32.15).

Allocate a block of memory linked to a previous allocation.

PARAMS

cbSize [In] Size of the block to allocate in bytes.

lpOrig [In] Initial allocation to link to, from MAPIAllocateBuffer(3w).

lppBuffer [Out] Destination for pointer to allocated memory.

RETURNS

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.

NOTES

Memory allocated with this function and stored in *lppBuffer is freed when lpOrig is passed to MAPIFreeBuffer(3w). It should not be freed independently.

IMPLEMENTATION

Defined in "mapix.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/mapi32/util.c".

Debug channel "mapi".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout