Changeset 8471 in vbox for trunk/src/VBox/Main/ConsoleImpl.cpp
- Timestamp:
- Apr 29, 2008 3:20:44 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30336
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r8439 r8471 2011 2011 Guid (aId).raw()); 2012 2012 2013 # if def RT_OS_DARWIN2014 /* Notify the USB Proxy that we're about to detach the device. Since2015 * we don't dare do IPC when holding the console lock, so we'll have2016 * to revalidate the device when we get back. */2013 # if defined(RT_OS_DARWIN) || defined(NEW_HOSTUSBDEVICE_STATE) 2014 /* 2015 * Inform the USB device and USB proxy about what's cooking. 2016 */ 2017 2017 alock.leave(); 2018 2018 HRESULT rc2 = mControl->DetachUSBDevice (aId, false /* aDone */); … … 2020 2020 return rc2; 2021 2021 alock.enter(); 2022 2022 # ifndef NEW_HOSTUSBDEVICE_STATE 2023 2023 for (it = mUSBDevices.begin(); it != mUSBDevices.end(); ++ it) 2024 2024 if ((*it)->id() == aId) … … 2026 2026 if (it == mUSBDevices.end()) 2027 2027 return S_OK; 2028 # endif 2028 2029 # endif 2029 2030 2030 /* First, request VMM to detach the device*/2031 /* Request the PDM to detach the USB device. */ 2031 2032 HRESULT rc = detachUSBDevice (it); 2032 2033
Note:
See TracChangeset
for help on using the changeset viewer.