Changeset 36999 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB/win
- Timestamp:
- May 7, 2011 8:40:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.cpp
r36998 r36999 518 518 else 519 519 { 520 /* the device is currently filtered, we should release it only if it is NOT grabbed by a one-shot filter */ 521 if (!pDevice->pOwner || !pDevice->fIsFilterOneShot) 520 /* the device is currently filtered, we should release it only if 521 * 1. device does not have an owner 522 * or 523 * 2. it should be released bue to a one-shot filter 524 * or 525 * 3. it is NOT grabbed by a one-shot filter */ 526 if (!pDevice->pOwner || fIsOneShot || !pDevice->fIsFilterOneShot) 522 527 { 523 528 bNeedReplug = true; … … 556 561 else 557 562 { 558 /* the device is currently NOT filtered, we should replug it only if it is NOT grabbed by a one-shot filter */ 559 if (!pDevice->pOwner || !pDevice->fIsFilterOneShot) 563 /* the device is currently NOT filtered, 564 * we should replug it only if 565 * 1. device does not have an owner 566 * or 567 * 2. it should be captured due to a one-shot filter 568 * or 569 * 3. it is NOT released by a one-shot filter */ 570 if (!pDevice->pOwner || fIsOneShot || !pDevice->fIsFilterOneShot) 560 571 { 561 572 bNeedReplug = true;
Note:
See TracChangeset
for help on using the changeset viewer.