Changeset 57934 in vbox
- Timestamp:
- Sep 29, 2015 10:24:25 AM (9 years ago)
- Location:
- trunk/src/VBox/HostDrivers/VBoxUSB/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/Install/USBUninstall.cpp
r57358 r57934 120 120 else if (ControlService(hService, SERVICE_CONTROL_STOP, &Status)) 121 121 { 122 int iWait = 100; 122 /* 123 * Wait for finish about 1 minute. 124 * It should be enough for work with driver verifier 125 */ 126 int iWait = 600; 123 127 while (Status.dwCurrentState == SERVICE_STOP_PENDING && iWait-- > 0) 124 128 { -
trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
r56315 r57934 566 566 if (Status == STATUS_SUCCESS) 567 567 { 568 LOG(("IoGetDeviceObjectPointer for %S returned %p %p", szwHubName, pHubDevObj, pHubFileObj));568 LOG(("IoGetDeviceObjectPointer for \\Device\\USBPDO-%d returned %p %p", i, pHubDevObj, pHubFileObj)); 569 569 570 570 VBOXUSBOBJDRVOBJSEARCHER Data = {0}; … … 599 599 else 600 600 { 601 LOG(("IoGetDeviceObjectPointer returned Status (0x%x) for ( %S)", Status, szwHubName));601 LOG(("IoGetDeviceObjectPointer returned Status (0x%x) for (\\Device\\USBPDO-%d)", Status, i)); 602 602 } 603 603 } 604 604 else 605 605 { 606 WARN(("RtlAnsiStringToUnicodeString failed, Status (0x%x) for Ansu name ( %s)", Status, szHubName));606 WARN(("RtlAnsiStringToUnicodeString failed, Status (0x%x) for Ansu name (\\Device\\USBPDO-%d)", Status, i)); 607 607 } 608 608 } … … 627 627 if (Status == STATUS_SUCCESS) 628 628 { 629 /* * @todo Replace %S with something else as it does not work for PWSTR.*/630 LOG(("IoGetDeviceObjectPointer for %S returned %p %p", szwHubName, pHubDevObj, pHubFileObj));629 /* We can't log HubName here couse string logging could lead to BSOD */ 630 LOG(("IoGetDeviceObjectPointer returned %p %p", pHubDevObj, pHubFileObj)); 631 631 if (!pfnWalker(pHubFileObj, pHubDevObj, pHubDevObj, pvWalker)) 632 632 {
Note:
See TracChangeset
for help on using the changeset viewer.