MAPIFREEBUFFER callback function (wabmem.h)

[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

MAPIFREEBUFFER Mapifreebuffer;

ULONG Mapifreebuffer(
  LPVOID lpBuffer
)
{...}

Parameters

lpBuffer

Return value

This function returns one of the following values.

Return code Description
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

Requirement Value
Target Platform Windows
Header wabmem.h (include Mapi.h)

See also

MAPILogoff

Simple MAPI