ITransport::InitConnection (Windows CE 5.0)
This method initializes the transport connection.
HRESULTInitConnection(IRemoteDevice* piDevice);
Parameters
- piDevice
[in] Pointer to the IPMRemoteDevice interface. This pointer enables the transport to retrieve any information that it previously saved from a call to the ITransport::Configure method.
Return Values
Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.
Remarks
In addition to initializing the transport, this method determines what information must be returned on a call to the ITransport::GetConnectionInfo method.
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
IPMRemoteDevice | ITransport::Configure | ITransport::GetConnectionInfo
Send Feedback on this topic to the authors