This function frees the memory heap and all resources allocated for this transport service by TransportInit.
At a Glance
Header file: | Smtp.h |
Windows CE versions: | 1.0 and later |
Syntax
BOOL TransportRelease(HANDLE hService);
Parameters
hService
[in] Handle to a SERVICE structure.
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
The transport service provider must implement the TransportRelease function in a DLL registered as a mail service. The Inbox application can then 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.
See Also