Changeset 56315 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB
- Timestamp:
- Jun 9, 2015 10:52:04 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100901
- Location:
- trunk/src/VBox/HostDrivers/VBoxUSB/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxDrvTool.cpp
r56293 r56315 188 188 Interval.QuadPart = -(int64_t) 2 /* ms */ * 10000; 189 189 uint32_t cRefs; 190 size_t loops = 0; 190 size_t loops = 0; 191 191 KTIMER kTimer; 192 192 NTSTATUS status = STATUS_SUCCESS; 193 193 194 194 KeInitializeTimer(&kTimer); 195 195 196 196 while ((cRefs = ASMAtomicReadU32(&pRef->cRefs)) > u32Val && loops < 256) 197 197 { -
trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPnP.cpp
r56293 r56315 70 70 ENMVBOXUSB_PNPSTATE enmState = vboxUsbPnPStateGet(pDevExt); 71 71 NTSTATUS Status = STATUS_SUCCESS; 72 72 73 73 IoCopyCurrentIrpStackLocationToNext(pIrp); 74 74 Status = VBoxDrvToolIoPostSync(pDevExt->pLowerDO, pIrp); … … 77 77 vboxUsbPnPStateRestore(pDevExt); 78 78 } 79 79 80 80 Status = STATUS_SUCCESS; 81 81 VBoxDrvToolIoComplete(pIrp, Status, 0); … … 139 139 NTSTATUS Status = STATUS_SUCCESS; 140 140 IoCopyCurrentIrpStackLocationToNext(pIrp); 141 141 142 142 Status = VBoxDrvToolIoPostSync(pDevExt->pLowerDO, pIrp); 143 143 … … 147 147 vboxUsbPnPStateRestore(pDevExt); 148 148 } 149 149 150 150 Status = STATUS_SUCCESS; 151 151 VBoxDrvToolIoComplete(pIrp, Status, 0); -
trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
r56293 r56315 191 191 } 192 192 pIrp->IoStatus.Status = STATUS_NOT_SUPPORTED; 193 193 194 194 pSl = IoGetNextIrpStackLocation(pIrp); 195 195 pSl->MajorFunction = IRP_MJ_PNP; … … 1158 1158 { 1159 1159 PIO_ERROR_LOG_PACKET pErrEntry; 1160 1160 1161 1161 1162 1162 /* Truncate dumps that do not fit into IO_ERROR_LOG_PACKET. */
Note:
See TracChangeset
for help on using the changeset viewer.