VirtualBox

Changeset 43960 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Nov 26, 2012 12:01:53 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
82305
Message:

VUSB: interface association descriptor for emulated devices.

File:
1 edited

Legend:

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

    r37807 r43960  
    5555#define VUSB_DT_OTHER_SPEED_CFG         0x07
    5656#define VUSB_DT_INTERFACE_POWER         0x08
     57#define VUSB_DT_INTERFACE_ASSOCIATION   0x0B
    5758/** @} */
    5859
     
    163164
    164165/**
     166 * USB interface association descriptor (from USB ECN Interface Association Descriptors)
     167 */
     168typedef struct VUSBDESCIAD
     169{
     170    uint8_t bLength;
     171    uint8_t bDescriptorType;
     172    uint8_t bFirstInterface;
     173    uint8_t bInterfaceCount;
     174    uint8_t bFunctionClass;
     175    uint8_t bFunctionSubClass;
     176    uint8_t bFunctionProtocol;
     177    uint8_t iFunction;
     178} VUSBDESCIAD;
     179/** Pointer to a USB interface association descriptor. */
     180typedef VUSBDESCIAD *PVUSBDESCIAD;
     181/** Pointer to a readonly USB interface association descriptor. */
     182typedef const VUSBDESCIAD *PCVUSBDESCIAD;
     183
     184
     185/**
    165186 * USB interface descriptor (from spec)
    166187 */
     
    257278     * Core.bNumEndpoints in size. */
    258279    const struct VUSBDESCENDPOINTEX *paEndpoints;
     280    /** Interface association descriptor, which prepends a group of interfaces,
     281     * starting with this interface. */
     282    PCVUSBDESCIAD pIAD;
     283    /** Size of interface association descriptor. */
     284    uint16_t cbIAD;
    259285} VUSBDESCINTERFACEEX;
    260286/** Pointer to an prased USB interface descriptor. */
Note: See TracChangeset for help on using the changeset viewer.

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