The TransportRelease function frees the memory heap and all resources allocated for this transport service by TransportInit.
BOOL TransportRelease(HANDLE hService);
Header file: | Smtp.h |
Platforms: | H/PC |
Windows CE versions: | 1.0 and later |
Returns TRUE if successful or FALSE otherwise.
The TransportRelease 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.
TransportRelease is called before the service DLL is unloaded. For the sample transport service, TransportRelease frees the heap allocated by TransportInit and also calls TransportDisconnect.