The MailFree function returns storage space back to the system from a previous MailFirst, MailGet, or MailNext function call.
BOOL MailFree (MailMsg* pmm);
Header file: | Msgstore.h |
Platforms: | H/PC |
Versions: | 1.0 and later |
This function returns TRUE if successful; FALSE if it fails. To get extended error information, use MailError or MailErrorMsg.
The message flags set (in the dwFlags field of MailMsg) before a call to retrieve a message from the message store determine whether the MailFree function needs to allocate memory.
For more information, see Inbox.