The TransportDisconnect function disconnects the current transmit and/or receive service.
BOOL TransportConnect(HANDLE hService);
Header file: | Smtp.h |
Platforms: | H/PC |
Windows CE versions: | 1.0 and later |
Returns TRUE if successful or FALSE otherwise. To get extended error information, call TransportError or TransportErrorMsg.
The TransportDisconnect 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 TransportDisconnect.