ITransportConnection::Close (Windows CE 5.0)
This method closes the connection stream.
HRESULT Close();
Parameters
None.
Remarks
If the ITransportConnection::Close method is called, all blocking calls to the ITransportConnection::ReadBytes method and the ITransportConnection::WriteBytes method should return.
Return Values
Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.
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
ITransportConnection::ReadBytes | ITransportConnection::WriteBytes
Send Feedback on this topic to the authors