Platform SDK: Exchange Server |
The DAPIAllocBuffer function allocates or reallocates a block of memory.
Header file: | DAPI.H |
Library: | DAPI.LIB |
LPVOID DAPIAllocBuffer( ULONG cbSize, LPVOID pvAllocBase );
If pvAllocBase is not NULL, pvAllocBase must point to a memory block that was either previously allocated by DAPIAllocBuffer or returned by another directory function.
You release the allocated memory with a call to DAPIFreeMemory.