VirtualBox

Changeset 3663 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 17, 2007 4:20:32 AM (18 years ago)
Author:
vboxsync
Message:

nc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostImpl.cpp

    r3578 r3663  
    12731273
    12741274/**
    1275  *  Notification from the VM process that it is going to detach (\a aDone = false) 
     1275 *  Notification from the VM process that it is going to detach (\a aDone = false)
    12761276 *  or that is has just detach (\a aDone = true) the given USB device.
    1277  * 
    1278  *  When \a aDone = false we only inform the USB Proxy about what the vm is 
     1277 *
     1278 *  When \a aDone = false we only inform the USB Proxy about what the vm is
    12791279 *  up to so it doesn't get confused and create a new USB host device object
    12801280 *  (a Darwin issue).
    1281  * 
    1282  *  When \a aDone = true we replay all filters against the given USB device 
    1283  *  excluding filters of the machine the device is currently marked as 
     1281 *
     1282 *  When \a aDone = true we replay all filters against the given USB device
     1283 *  excluding filters of the machine the device is currently marked as
    12841284 *  captured by.
    12851285 *
     
    12891289 *
    12901290 *  Called by Console from the VM process (throug IInternalMachineControl).
    1291  * 
     1291 *
    12921292 */
    12931293HRESULT Host::detachUSBDevice (SessionMachine *aMachine, INPTR GUIDPARAM aId, BOOL aDone)
     
    13481348        {
    13491349            ComAssertRet (device->machine() == aMachine, E_FAIL);
    1350        
     1350
    13511351            /* re-apply filters on the device before giving it back to the host */
    13521352            device->setHeld();
     
    21292129        if (device->pendingStateEx() == HostUSBDevice::kDetachingPendingAttachFilters)
    21302130        {
    2131             /* The device has completed an asynchronous detach operation, subject 
     2131            /* The device has completed an asynchronous detach operation, subject
    21322132               it to the filters and such if the current state permits this.
    21332133               (handlePendingStateChange will disassociate itself from the machine.) */
     
    21422142            }
    21432143            else
    2144                 Log (("USB: async detached devices reappeared in stated %d instead of %d!\n", 
     2144                Log (("USB: async detached devices reappeared in stated %d instead of %d!\n",
    21452145                      device->state(), USBDeviceState_USBDeviceCaptured));
    21462146        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette