Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

#define AssertMsgRCReturn ( rc,
rcRet   )     do { AssertMsgReturn(RT_SUCCESS_NP(rc), msg, rcRet); NOREF(rc); } while (0)

Asserts a iprt status code successful and if it's not return the specified status code.

If RT_STRICT is defined the message will be printed and a breakpoint hit before it returns

rc iprt status code.
msg printf argument list (in parenthesis).
rcRet What is to be presented to return.
rc is referenced multiple times. In release mode is NOREF()'ed.

Definition at line 1900 of file assert.h.

Referenced by dbgfR3SymInit(), pdmR3DevInit(), rtR3InitBody(), VMM_INT_DECL(), and VMMR3DECL().

Generated by  Doxygen 1.6.0   Back to index