VirtualBox

Changeset 37325 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jun 6, 2011 5:18:46 AM (14 years ago)
Author:
vboxsync
Message:

USB: device qualifier descriptor (from spec).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vusb.h

    r36476 r37325  
    121121/** Pointer to a const USB device descriptor. */
    122122typedef const VUSBDESCDEVICE *PCVUSBDESCDEVICE;
     123
     124/**
     125 * USB device qualifier (from spec)
     126 */
     127struct VUSBDEVICEQUALIFIER
     128{
     129    uint8_t bLength;
     130    uint8_t bDescriptorType;
     131    uint8_t bcdUsb;
     132    uint8_t bDeviceClass;
     133    uint8_t bDeviceSubClass;
     134    uint8_t bDeviceProtocol;
     135    uint8_t bMaxPacketSize0;
     136    uint8_t idVendor;
     137    uint8_t idProduct;
     138    uint8_t bcdDevice;
     139    uint8_t iManufacturer;
     140    uint8_t iProduct;
     141    uint8_t iSerialNumber;
     142    uint8_t bNumConfigurations;
     143};
     144
     145typedef struct VUSBDEVICEQUALIFIER VUSBDEVICEQUALIFIER;
     146typedef VUSBDEVICEQUALIFIER *PVUSBDEVICEQUALIFIER;
    123147
    124148
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette