VirtualBox

Changeset 26471 in vbox


Ignore:
Timestamp:
Feb 12, 2010 5:23:50 PM (15 years ago)
Author:
vboxsync
Message:

VUSB: Provide a way to store and pass along vendor/class-specific descriptors embedded in device or endpoint descriptors.

File:
1 edited

Legend:

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

    r26248 r26471  
    230230    VUSBDESCINTERFACE Core;
    231231    /** Pointer to additional descriptor bytes following what's covered by VUSBDESCINTERFACE. */
    232     void *pvMore;
     232    const void *pvMore;
     233    /** Pointer to additional class- or vendor-specific interface descriptors. */
     234    const void *pvClass;
     235    /** Size of class- or vendor-specific descriptors. */
     236    uint16_t cbClass;
    233237    /** Pointer to an array of the endpoints referenced by the interface.
    234238     * Core.bNumEndpoints in size. */
     
    250254    VUSBDESCENDPOINT Core;
    251255    /** Pointer to additional descriptor bytes following what's covered by VUSBDESCENDPOINT. */
    252     void *pvMore;
     256    const void *pvMore;
     257    /** Pointer to additional class- or vendor-specific interface descriptors. */
     258    const void *pvClass;
     259    /** Size of class- or vendor-specific descriptors. */
     260    uint16_t cbClass;
    253261} VUSBDESCENDPOINTEX;
    254262/** Pointer to a parsed USB endpoint descriptor. */
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