TransportDisconnect

This function disconnects the current transmit and/or receive service.

At a Glance

Header file: Smtp.h
Windows CE versions: 1.0 and later

Syntax

BOOL TransportConnect(HANDLE hService);

Parameters

hService

[in] Handle to a SERVICE structure.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call TransportError or TransportErrorMsg.

Remarks

The transport service provider must implement the TransportDisconnect function in a DLL registered as a mail service. The Inbox application can then load this DLL and call this function.

See Also

TransportConnect, TransportRelease