Share via


TRANPORTINFOSTRUCT

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This structure contains information about the desktop side of the transport.

Syntax

typedef struct _TRANPORTINFOSTRUCT {
  WORD cbData;
  WORD wVersion;
  WORD wTranGuid;
  WORD wFlags;
  DWORD dwBandWidth;
} TRANPORTINFOSTRUCT, *PTRANPORTINFOSTRUCT;

Members

  • cbData
    Size of the structure.
  • wVersion
    Version of the structure, which should be set to CURRENT_TRANINFO_VERSION.
  • wTranGuid
    Transport identifier that can be set to one of the following values.

    ID Description

    TRAN_GUID_DEFAULT

    Use the default transport.

    TRAN_GUID_ETHERNET

    Use the Ethernet transport.

    TRAN_GUID_SERIAL

    Use the serial transport.

    TRAN_GUID_PARALLEL

    Use the parallel transport.

    TRAN_GUID_USB

    Use the universal serial bus (USB) transport.

    TRAN_GUID_OEMSTART

    OEM-specific transport starts the number from this point.

  • wFlags
    Transport flags to describe the transport, which can be set to the following.

    Flag Description

    TRAN_DIRECTCONNTECT

    Direct connection to the hoist computer, such as serial parallel.

    0

    Not a direct connection.

  • dwBandWidth
    Specifies the bandwidth available for this transport in bits per second.

Requirements

Header kitltran.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Other Resources

TranGetInfo