Rediger

Del via


MAPIReallocateBuffer

Applies to: Outlook 2013 | Outlook 2016

Reallocates a memory buffer. It is used with the MAPIAllocateBuffer function.

Property Value
Header file:
omapix.h
Called by:
Client applications and service providers
STDMETHODIMP_(SCODE) MAPIReallocateBuffer
(
LPVOID lpv, 
ULONG ulSize, 
LPVOID * lppv
);

Parameters

lpv

A pointer to the memory to be reallocated.

ulSize

The size, in bytes, of the buffer to be allocated.

lppv

A pointer to the returned allocated buffer.

Remarks

MAPIReallocateBuffer allocates a new block of memory of the requested size and copies the contents of the buffer that is passed into this new block of memory. If the block of memory that is passed contains internal pointers, the pointers do not change to match the new location.

See also

MAPIAllocateBuffer