Export (0) Print
Expand All

MAPIFreeBuffer function

[The use of this function is discouraged. It may be altered or unavailable in subsequent versions of Windows.]

The MAPIFreeBuffer function frees memory allocated by the messaging system.

Syntax


ULONG WINAPI MAPIFreeBuffer(
  _In_  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 value

This function returns one of the following values.

Return codeDescription
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.

 

Requirements

Header

Mapi.h

DLL

Mapi32.dll

See also

Simple MAPI
MAPILogoff

 

 

Community Additions

ADD
Show:
© 2014 Microsoft