VirtualBox

Changeset 70286 in vbox for trunk


Ignore:
Timestamp:
Dec 21, 2017 3:35:40 PM (7 years ago)
Author:
vboxsync
Message:

More unused code.

Location:
trunk
Files:
2 edited

Legend:

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

    r70285 r70286  
    265265} USBSUP_DEVID, *PUSBSUP_DEVID;
    266266
    267 typedef struct
    268 {
    269     USBSUP_DEVID    DevId;
    270     char            szName[512];
    271     USBDEVICESTATE  enmState;
    272     bool            fHiSpeed;
    273 } USBSUP_DEVINFO, *PUSBSUP_DEVINFO;
    274 
    275267#pragma pack()                          /* paranoia */
    276268
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.cpp

    r70283 r70286  
    11481148}
    11491149
    1150 static void vboxUsbDevToUserInfo(PVBOXUSBFLTCTX pContext, PVBOXUSBFLT_DEVICE pDevice, PUSBSUP_DEVINFO pDevInfo)
    1151 {
    1152 #if 0
    1153     pDevInfo->usVendorId = pDevice->idVendor;
    1154     pDevInfo->usProductId = pDevice->idProduct;
    1155     pDevInfo->usRevision = pDevice->bcdDevice;
    1156     pDevInfo->enmState = vboxUsbDevGetUserState(pContext, pDevice);
    1157 
    1158     strcpy(pDevInfo->szDrvKeyName, pDevice->szDrvKeyName);
    1159     if (pDevInfo->enmState == USBDEVICESTATE_HELD_BY_PROXY
    1160             || pDevInfo->enmState == USBDEVICESTATE_USED_BY_GUEST)
    1161     {
    1162         /* this is the only case where we return the obj name to the client */
    1163         strcpy(pDevInfo->szObjName, pDevice->szObjName);
    1164     }
    1165     pDevInfo->fHighSpeed = pDevice->fHighSpeed;
    1166 #else
    1167     RT_NOREF3(pContext, pDevice, pDevInfo);
    1168 #endif
    1169 }
    1170 
    11711150NTSTATUS VBoxUsbFltGetDevice(PVBOXUSBFLTCTX pContext, HVBOXUSBDEVUSR hDevice, PUSBSUP_GETDEV_MON pInfo)
    11721151{
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