VirtualBox

Changeset 65544 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 31, 2017 2:58:40 PM (8 years ago)
Author:
vboxsync
Message:

Main/HostUSBDeviceImpl: Report the port number on Windows for all USB devices. In case of multiple active backends active (USB/IP) which may contain a valid port number those would be reported as 0 too (breaks USB testing if the capture option is enabled). Forcing the port number to be 0 should be done in the Windows specific part of the USB code if it turns out that it is still necessary for devices attached to a Windows host

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostUSBDeviceImpl.cpp

    r65432 r65544  
    202202    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    203203
    204 #if !defined(RT_OS_WINDOWS) /// @todo check up the bPort value on Windows before enabling this.
    205204    *aPort = mUsb->bPort;
    206 #else
    207     *aPort = 0;
    208 #endif
    209205
    210206    return S_OK;
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