VirtualBox

Changeset 80207 in vbox


Ignore:
Timestamp:
Aug 9, 2019 10:54:29 AM (5 years ago)
Author:
vboxsync
Message:

VBoxUSBMon: Log semi-undocumented PnP IRPs that we may see.

File:
1 edited

Legend:

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

    r79334 r80207  
    139139#define VBOXUSBDBG_STRCASE_UNKNOWN(_v) \
    140140        default: LOG((__FUNCTION__": Unknown Value (0n%d), (0x%x)", _v, _v)); return "Unknown"
     141
     142/* These minor code are semi-undocumented. */
     143#ifndef IRP_MN_QUERY_LEGACY_BUS_INFORMATION
     144#define IRP_MN_QUERY_LEGACY_BUS_INFORMATION 0x18
     145#endif
     146#ifndef IRP_MN_DEVICE_ENUMERATED
     147#define IRP_MN_DEVICE_ENUMERATED 0x19
     148#endif
    141149
    142150static const char* vboxUsbDbgStrPnPMn(UCHAR uMn)
     
    167175        VBOXUSBDBG_STRCASE(IRP_MN_DEVICE_USAGE_NOTIFICATION);
    168176        VBOXUSBDBG_STRCASE(IRP_MN_SURPRISE_REMOVAL);
     177        VBOXUSBDBG_STRCASE(IRP_MN_QUERY_LEGACY_BUS_INFORMATION);
     178        VBOXUSBDBG_STRCASE(IRP_MN_DEVICE_ENUMERATED);
    169179        VBOXUSBDBG_STRCASE_UNKNOWN(uMn);
    170180    }
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