VirtualBox

Changeset 86141 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 16, 2020 9:01:16 PM (4 years ago)
Author:
vboxsync
Message:

Main/glue: Added GlueHandleComErrorNoCtx() for printing extended error info but no method/file/linx context. bugref:9224

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/errorprint.cpp

    r82968 r86141  
    135135        GluePrintRCMessage(rc);
    136136
    137     GluePrintErrorContext(pcszContext, pcszSourceFile, ulLine);
     137    if (pcszContext != NULL || pcszSourceFile != NULL)
     138        GluePrintErrorContext(pcszContext, pcszSourceFile, ulLine);
    138139}
    139140
     
    156157}
    157158
     159void GlueHandleComErrorNoCtx(ComPtr<IUnknown> iface, HRESULT rc)
     160{
     161    GlueHandleComError(iface, NULL, rc, NULL, 0);
     162}
     163
    158164void GlueHandleComErrorProgress(ComPtr<IProgress> progress,
    159165                                const char *pcszContext,
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