Partager via


ITransport::GetConnectionInfo (Windows CE 5.0)

Send Feedback

This method retrieves transport settings and any data that needs to be passed on to the device-side part of the transport.

HRESULTGetConnectionInfo(DWORDdwMaxSize,BYTE* pData,LPDWORDpdwActualSize);

Parameters

  • dwMaxSize
    [in] Maximum size of the data that can be returned. The size of the TLPUBINFO structure should be included in the calculation of the maximum size.
  • pData
    [out] Pointer to the data returned by the transport layer. The memory for this pointer is allocated by the caller and filled in by the transport. The first part of this data should contain the TLPUBINFO data structure.
  • pdwActualSize
    [out] Actual size of the data returned. The value of pdwActualSize can be less than dwMaxSize but never greater.

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

TLPUBINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.