MAPIFreeBuffer function (mapi.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
ULONG MAPIFreeBuffer(
[in] LPVOID pv
);
Parameters
[in] pv
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 code | Description |
---|---|
|
One or more unspecified errors occurred. The memory could not be freed. |
|
The call succeeded and the memory was freed. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mapi.h (include Mapi.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for