- Timestamp:
- Dec 21, 2017 3:35:40 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/usblib-win.h
r70285 r70286 265 265 } USBSUP_DEVID, *PUSBSUP_DEVID; 266 266 267 typedef struct268 {269 USBSUP_DEVID DevId;270 char szName[512];271 USBDEVICESTATE enmState;272 bool fHiSpeed;273 } USBSUP_DEVINFO, *PUSBSUP_DEVINFO;274 275 267 #pragma pack() /* paranoia */ 276 268 -
trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.cpp
r70283 r70286 1148 1148 } 1149 1149 1150 static void vboxUsbDevToUserInfo(PVBOXUSBFLTCTX pContext, PVBOXUSBFLT_DEVICE pDevice, PUSBSUP_DEVINFO pDevInfo)1151 {1152 #if 01153 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_PROXY1160 || 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 #else1167 RT_NOREF3(pContext, pDevice, pDevInfo);1168 #endif1169 }1170 1171 1150 NTSTATUS VBoxUsbFltGetDevice(PVBOXUSBFLTCTX pContext, HVBOXUSBDEVUSR hDevice, PUSBSUP_GETDEV_MON pInfo) 1172 1151 {
Note:
See TracChangeset
for help on using the changeset viewer.