VirtualBox

Changeset 6591 in vbox


Ignore:
Timestamp:
Jan 30, 2008 9:34:31 AM (17 years ago)
Author:
vboxsync
Message:

Added isochronous support to Windows USB proxy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/usblib-win.h

    r6476 r6591  
    7777#define USBMON_MINOR_VERSION              1
    7878
    79 #define USBDRV_MAJOR_VERSION              1
    80 #define USBDRV_MINOR_VERSION              2
     79#define USBDRV_MAJOR_VERSION              2
     80#define USBDRV_MINOR_VERSION              0
    8181
    8282#define SUPUSB_IOCTL_TEST                 CTL_CODE(FILE_DEVICE_UNKNOWN, 0x601, METHOD_BUFFERED, FILE_WRITE_ACCESS)
     
    209209} USBSUP_ERROR;
    210210
    211 typedef struct
    212 {
    213     USBSUP_TRANSFER_TYPE type; /* [in] QUSB_TRANSFER_TYPE_XXX */
    214     uint32_t ep;               /* [in] index to dev->pipe */
    215     USBSUP_DIRECTION     dir;  /* [in] QUSB_DIRECTION_XXX */
    216     uint32_t error;            /* [out] QUSB_XFER_XXX */
    217     size_t len;                /* [in/out] may change */
    218     void *buf;                 /* [in/out] depends on dir */
     211typedef struct USBSUP_ISOCPKT
     212{
     213    uint16_t        cb;     /* [in/out] packet size/size transferred */
     214    uint16_t        off;    /* [in] offset of packet in buffer */
     215    USBSUP_ERROR    stat;   /* [out] packet status */
     216} USBSUP_ISOCPKT;
     217
     218typedef struct
     219{
     220    USBSUP_TRANSFER_TYPE    type;           /* [in] QUSB_TRANSFER_TYPE_XXX */
     221    uint32_t                ep;             /* [in] index to dev->pipe */
     222    USBSUP_DIRECTION        dir;            /* [in] QUSB_DIRECTION_XXX */
     223    USBSUP_ERROR            error;          /* [out] QUSB_XFER_XXX */
     224    size_t                  len;            /* [in/out] may change */
     225    void                    *buf;           /* [in/out] depends on dir */
     226    uint32_t                numIsoPkts;     /* [in] number of isochronous packets (8 max) */
     227    USBSUP_ISOCPKT          aIsoPkts[8];    /* [in/out] isochronous packet descriptors */   
    219228} USBSUP_URB, *PUSBSUP_URB;
    220229
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