VirtualBox

Ignore:
Timestamp:
Oct 21, 2008 6:40:56 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38249
Message:

SUPR3HardenedMain: Added optional TrustedError callback to the wrapped up executable. This gets called when something goes wrong and we think we can things enough to display a message. The messages may need some more words and work, there are also more cases for which we could display messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPLibInternal.h

    r11794 r13458  
    8383# define supR3HardenedFatalV               supR3HardenedStaticFatalV
    8484# define supR3HardenedFatal                supR3HardenedStaticFatal
     85# define supR3HardenedFatalMsgV            supR3HardenedStaticFatalMsgV
     86# define supR3HardenedFatalMsg             supR3HardenedStaticFatalMsg
    8587# define supR3HardenedErrorV               supR3HardenedStaticErrorV
    8688# define supR3HardenedError                supR3HardenedStaticError
     
    281283
    282284/**
     285 * Display a fatal error and try call TrustedError or quit.
     286 */
     287DECLHIDDEN(void)   supR3HardenedFatalMsgV(const char *pszWhere, SUPINITOP enmWhat, int rc, const char *pszMsgFmt, va_list va);
     288
     289/**
     290 * Display a fatal error and try call TrustedError or quit.
     291 */
     292DECLHIDDEN(void)   supR3HardenedFatalMsg(const char *pszWhere, SUPINITOP enmWhat, int rc, const char *pszMsgFmt, ...);
     293
     294/**
    283295 * Display a fatal error and quit.
    284296 */
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