The TransportFreeMsg function destroys the MailMsg heap allocated by TransportRecv and resets the heap, header, and message body pointers to NULL.
BOOL TransportFreeMessage(MailMsg * MsgPtr);
Header file: | Smtp.h |
Platforms: | H/PC |
Windows CE versions: | 1.0 and later |
Returns TRUE if successful. Returns FALSE if MsgPtr is invalid or if the hHeap member of the specified MailMsg structure does not exist.
The TransportFreeMsg function must be implemented by the transport service provider in a DLL registered as a mail service. The Inbox application can load this DLL and call this function.