Partager via


ITransport::GetType (Windows CE 5.0)

Send Feedback

This method retrieves the device types supported by the transport.

HRESULT GetType(DEVICE_TYPE*pdt);

Parameters

  • pdt
    [out] Pointer to the DEVICE_TYPE flag from the PACKAGE_FILE_INFO structure that is filled in by the transport.

    The following table shows the values that the DEVICE_TYPE flag can have.

    Value
    DEVICE_TYPE_EMULATION
    DEVICE_TYPE_CE

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

PACKAGE_FILE_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.