VirtualBox

Ignore:
Timestamp:
Jan 8, 2020 11:10:43 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135573
Message:

VBoxUSBMon.sys: Comments, tweaked disabled code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.cpp

    r82538 r82669  
    668668                }
    669669
     670                /* The CompatibleID the IOCTL gives is not always the same as what the PnP Manager uses
     671                 * (thanks, Microsoft). It might look like "USB\DevClass_00&SubClass_00&Prot_00" or like
     672                 * "USB\USB30_HUB". In such cases, we must consider the class/subclass/protocol
     673                 * information simply unavailable.
     674                 */
    670675                rc = vboxUsbParseCompatibleIDs(HubInfo.CompatibleIds.Buffer, &cls, &sub, &prt);
    671676                if (!rc)
    672677                {
    673                     /* This *really* should not happen. */
    674                     WARN(("Failed to parse Hardware ID"));
    675                     break;
     678                    /* This is unfortunate but not fatal. */
     679                    WARN(("Failed to parse Compatible ID"));
    676680                }
    677681                LOG(("Parsed HardwareID from IOCTL: vid=%04X, pid=%04X, rev=%04X, class=%02X, subcls=%02X, prot=%02X", vid, pid, rev, cls, sub, prt));
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