ITransport (Windows CE 5.0)
This interface is the root-level interface for the part of the transport that resides on the development workstation. An application creates this interface by calling the Component Object Model (COM) CoCreateInstance function. In making the call, the application uses the IID_ITransport globally unique identifier (GUID) and a class identifier (CLSID) pertaining to the transport that is defined by a call to the IPMPlatform::AddStartupServer and IPMPlatform::AddTransport methods.
The following table shows this interface's methods in the order they are called by the compiler.
Method | Description |
---|---|
ITransport::Accept | Called by the remote utility to establish a connection with the device each time a stream is created. |
ITransport::Configure | Allows the transport to display a dialog box that enables the user to enter configuration information. |
ITransport::GetClientName | Retrieves the name of the client-side part of the transport. |
ITransport::GetConnectionInfo | Retrieves transport settings and any data that needs to be passed on to the device-side part of the transport. |
ITransport::GetName | Retrieves the friendly name of the transport. |
ITransport::GetType | Retrieves the device types supported by the transport. |
ITransport::InitConnection | Initializes the transport connection. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Tl.h, Tl.idl.
Link Library: Tlcesrv.dll (ActiveSync Transport), Tlkitl.dll (KITL Transport), Tcpip.dll (TCP/IP Transport).
See Also
IPMPlatform::AddStartupServer | IPMPlatform::AddTransport | CoCreateInstance
Send Feedback on this topic to the authors