VirtualBox

Changeset 70289 in vbox for trunk


Ignore:
Timestamp:
Dec 21, 2017 4:15:31 PM (7 years ago)
Author:
vboxsync
Message:

USB/win: Removed no longer needed flags (IOCTL interface change, version bump, see bugref:7280).

Location:
trunk
Files:
2 edited

Legend:

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

    r70286 r70289  
    7676#endif
    7777
    78 #define USBFLT_MAJOR_VERSION              1
    79 #define USBFLT_MINOR_VERSION              3
    80 
    8178#define USBMON_MAJOR_VERSION              5
    8279#define USBMON_MINOR_VERSION              0
    8380
    84 #define USBDRV_MAJOR_VERSION              4
     81#define USBDRV_MAJOR_VERSION              5
    8582#define USBDRV_MINOR_VERSION              0
    8683
     
    124121{
    125122    HVBOXUSBDEVUSR  hDevice;
    126     uint8_t         fAttached;
    127     uint8_t         fHiSpeed;
    128123} USBSUP_GETDEV, *PUSBSUP_GETDEV;
    129124
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp

    r69500 r70289  
    493493        && pSl->Parameters.DeviceIoControl.OutputBufferLength == sizeof(*pDev))
    494494    {
     495        /* Even if we don't return it, we need to query the HS flag for later use. */
    495496        Status = VBoxUsbToolGetDeviceSpeed(pDevExt->pLowerDO, &pDevExt->Rt.fIsHighSpeed);
    496497        if (NT_SUCCESS(Status))
    497498        {
    498499            pDev->hDevice = pDevExt->Rt.hMonDev;
    499             pDev->fAttached = true;
    500             pDev->fHiSpeed = pDevExt->Rt.fIsHighSpeed;
    501500            cbOut = sizeof (*pDev);
    502501        }
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