Поделиться через


USB_INTERFACE_ASSOCIATION_DESCRIPTOR (Compact 2013)

3/26/2014

This structure describes a grouping of two or more interfaces that are associated with the same function.

Syntax

typedef struct _USB_INTERFACE_ASSOCIATION_DESCRIPTOR {
  UCHAR bLength;
  UCHAR bDescriptorType;
  UCHAR bFirstInterface;
  UCHAR bInterfaceCount;
  UCHAR bFunctionClass;
  UCHAR bFunctionSubClass;
  UCHAR bFunctionProtocol;
  UCHAR iFunction;
} USB_INTERFACE_ASSOCIATION_DESCRIPTOR, *PUSB_INTERFACE_ASSOCIATION_DESCRIPTOR;

Members

  • bLength
    Length, in bytes, of this structure.
  • bDescriptorType
    Constant value USB_DEVICE_INTERFACE_ASSOCIATION_DESCRIPTOR descriptor.
  • bFirstInterface
    Interface number of the first interface that is associated with this function.
  • bInterfaceCount
    Number of contiguous interfaces that are associated with this function.
  • bFunctionClass
    Function class code. The USB working group defines class codes. A value of zero is not allowed in this descriptor. The value 0xFF represents a vendor-specific class code.
  • bFunctionSubclass
    Function subclass code. The USB working group defines subclass codes. The meaning of this value depends on the value of bFunctionClass.
  • bFunctionProtocol
    Function protocol code. The USB working group defines protocol codes. These

    codes are qualified by the values of the

    bFunctionClass and bFunctionSubclass structure members.

  • iFunction
    Index of a string descriptor describing this interface.

Remarks

USB_INTERFACE_ASSOCIATION_DESCRIPTOR structures are accessed by the USB software or device drivers in response to requests for configuration information.

Requirements

Header

usb100.h

See Also

Reference

USB Driver Structures