IMailSyncCallBack::FreeMem
The FreeMem method frees memory allocated by Messaging.
Syntax
HRESULT FreeMem (
LPVOID pvmem
);
Parameters
- pvmem
[in] Reference to memory that was previously allocated using the AllocateMem method.
Return Values
- E_FAIL
Ignored.
Note Although FreeMem returns an HRESULT of E_FAIL, it means it successfully freed the allocated memory.
Remarks
Anytime the transport needs to free the memory allocated by Messaging, FreeMem must be used — for example, memory received when using the IMailSyncCallBack::RequestCredentials.
Requirements
Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cemapi.h
Library: cemapi.lib
See Also
IMailSyncCallBack | IMailSyncCallBack::AllocateMem | Messaging
Send Feedback on this topic to the authors