Export (0) Print
Expand All
URB
Expand Minimize

USB_INTERFACE_DESCRIPTOR structure

The USB_INTERFACE_DESCRIPTOR structure is used by USB client drivers to retrieve a USB-defined interface descriptor.

Syntax


typedef struct _USB_INTERFACE_DESCRIPTOR {
  UCHAR bLength;
  UCHAR bDescriptorType;
  UCHAR bInterfaceNumber;
  UCHAR bAlternateSetting;
  UCHAR bNumEndpoints;
  UCHAR bInterfaceClass;
  UCHAR bInterfaceSubClass;
  UCHAR bInterfaceProtocol;
  UCHAR iInterface;
} USB_INTERFACE_DESCRIPTOR, *PUSB_INTERFACE_DESCRIPTOR;

Members

bLength

The length, in bytes, of the descriptor.

bDescriptorType

The descriptor type. bDescriptor must be set to USB_INTERFACE_DESCRIPTOR_TYPE.

bInterfaceNumber

The index number of the interface.

bAlternateSetting

The index number of the alternate setting of the interface.

bNumEndpoints

The number of endpoints that are used by the interface, excluding the default status endpoint.

bInterfaceClass

The class code of the device that the USB specification group assigned.

bInterfaceSubClass

The subclass code of the device that the USB specification group assigned.

bInterfaceProtocol

The protocol code of the device that the USB specification group assigned.

iInterface

The index of a string descriptor that describes the interface. For information about this field, see section 9.6.5 in the "Universal Serial Bus Revision 2.0" specification at USB Technology.

Requirements

Header

Usb100.h (include Usb100.h)

See also

UsbBuildGetDescriptorRequest
_URB_CONTROL_DESCRIPTOR_REQUEST
USB Structures

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft