Partager via


ITransport::GetClientName (Windows CE 5.0)

Send Feedback

This method retrieves the name of the client-side part of the transport.

HRESULTGetClientName(LPOLESTR* ppszName);

Parameters

  • ppszName
    [out] Pointer to the name of the client. 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

The name of the client is the name of the DLL specified on the device. If Platform Manager copies the device-side files to the target device by means of a startup server, the name of the startup server is the name that is used on the device.

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.