VirtualBox

Ignore:
Timestamp:
Jul 9, 2018 11:09:32 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123555
Message:

Main: Use setErrorBoth when we've got a VBox status code handy. (The COM status codes aren't too specfic and this may help us decode error messages and provide an alternative to strstr for API clients. setErrorBoth isn't new, btw.)

File:
1 edited

Legend:

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

    r72833 r73003  
    949949    va_start(va, aText);
    950950    HRESULT rc = VirtualBoxBase::setErrorInternal(aResultCode,
    951                                                     COM_IIDOF(IHost),
    952                                                     "USBProxyService",
    953                                                     Utf8Str(aText, va),
    954                                                     false /* aWarning*/,
    955                                                     true /* aLogIt*/);
     951                                                  COM_IIDOF(IHost),
     952                                                  "USBProxyService",
     953                                                  Utf8Str(aText, va),
     954                                                  false /* aWarning*/,
     955                                                  true /* aLogIt*/);
    956956    va_end(va);
    957957    return rc;
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