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
Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cemapi.h
Library: cemapi.lib
See Also
IMailSyncCallBack::AllocateMem
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.