MAPIFreeBuffer (Simple MAPI)

The MAPIFreeBuffer function frees memory allocated by the messaging system.

Quick Info

Header file: MAPI.H

ULONG FAR PASCAL MAPIFreeBuffer(
  LPVOID pv  
)
 

Parameters

pv
[in] Pointer to memory allocated by the messaging system. This pointer is returned by the MAPIReadMail, MAPIAddress, and MAPIResolveName functions.

Return Values

MAPI_E_FAILURE
One or more unspecified errors occurred. The memory could not be freed.
SUCCESS_SUCCESS
The call succeeded and the memory was freed.

See Also

MAPILogoff