VirtualBox

Changeset 51738 in vbox


Ignore:
Timestamp:
Jun 26, 2014 12:07:44 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
94528
Message:

USB/win/USBProxyDevice-win.cpp: Return last error code instead of just asserting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/win/USBProxyDevice-win.cpp

    r50238 r51738  
    729729        return VINF_SUCCESS; /* Fake success and deal with the unplugged device elsewhere. */
    730730    }
    731     else
    732         AssertMsgFailed(("lasterr=%d\n", dwErr));
     731
     732    AssertMsgFailed(("lastErr=%ld\n", dwErr));
     733    return RTErrConvertFromWin32(dwErr);
    733734}
    734735
Note: See TracChangeset for help on using the changeset viewer.

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