Partager via


ITransport::GetName (Windows CE 5.0)

Send Feedback

This method retrieves the friendly name of the transport.

HRESULTGetName(LPOLESTR* ppszName);

Parameters

  • ppszName
    [out] Pointer to the name of the transport. The transport allocates space for the pointer by calling the CoTaskMemFree function.

Return Values

Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.

Remarks

This method retrieves the friendly or descriptive name of the transport, as opposed to the actual name of the DLL. A call to the ITransport::GetClientName method retrieves the name of the DLL.

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

CoTaskMemFree | ITransport::GetClientName

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.