- Timestamp:
- Aug 3, 2011 7:44:06 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
r38284 r38288 250 250 251 251 pDrvObj = pHubDevObj->DriverObject; 252 /* ensure the driver object is not destroyed */ 253 ObReferenceObject(pDrvObj); 254 /* release the file object which will releade the dev objectas well, 255 * as we do not need those anymore */ 256 ObDereferenceObject(pHubFileObj); 252 257 break; 258 } 259 else 260 { 261 LOG(("driver object (0x%p) no match", pHubDevObj->DriverObject)); 262 if (pHubDevObj->DriverObject) 263 { 264 if ( pHubDevObj->DriverObject->DriverName.Buffer 265 && pHubDevObj->DriverObject->DriverName.Length) 266 { 267 LOG(("driver name not match, was:")); 268 LOG_USTR(&pHubDevObj->DriverObject->DriverName); 269 LOG(("but expected:")); 270 LOG_USTR(&szStandardHubName); 271 } 272 else 273 { 274 LOG(("driver name is zero, Length(%d), Buffer(0x%p)", 275 pHubDevObj->DriverObject->DriverName.Length, pHubDevObj->DriverObject->DriverName.Buffer)); 276 } 277 } 278 else 279 { 280 LOG(("driver object is NULL")); 281 } 253 282 } 254 283 ObDereferenceObject(pHubFileObj);
Note:
See TracChangeset
for help on using the changeset viewer.