VirtualBox

Changeset 26674 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Feb 22, 2010 9:41:17 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57891
Message:

iprt: Added RTMsgInitFailure for dealing with RTR3Init failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/message.h

    r24825 r26674  
    7070RTDECL(int)  RTMsgErrorV(const char *pszFormat, va_list va);
    7171
     72/**
     73 * Print an error message for a RTR3Init failure and suggest an exit code.
     74 *
     75 * @code
     76 *
     77 * int rc = RTR3Init();
     78 * if (RT_FAILURE(rc))
     79 *     return RTMsgInitFailure(rc);
     80 *
     81 * @endcode
     82 *
     83 * @returns Appropriate exit code.
     84 * @param   rcRTR3Init      The status code returned by RTR3Init.
     85 */
     86RTDECL(int)  RTMsgInitFailure(int rcRTR3Init);
     87
    7288/** @} */
    7389
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