Partager via


TRANPORTINFOSTRUCT

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

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Kitltran.h.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.