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

Namespaces | Defines | Functions

errorprint.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  com

Defines

#define ASSERT(expr)
#define ASSERT_BREAK(expr, ret)   if (1) { ASSERT(expr); if (!(expr)) break; } else do {} while (0)
#define ASSERT_RET(expr, ret)   do { ASSERT(expr); if (!(expr)) return (ret); } while (0)
#define CHECK_ERROR(iface, method)
#define CHECK_ERROR_BREAK(iface, method)
#define CHECK_ERROR_RET(iface, method, ret)

Functions

void com::GlueHandleComError (ComPtr< IUnknown > iface, const char *pcszContext, HRESULT rc, const char *pcszSourceFile, uint32_t ulLine)
void com::GluePrintErrorContext (const char *pcszContext, const char *pcszSourceFile, uint32_t ulLine)
void com::GluePrintErrorInfo (com::ErrorInfo &info)
void com::GluePrintRCMessage (HRESULT rc)

Detailed Description

MS COM / XPCOM Abstraction Layer: Error printing macros using shared functions defined in shared glue code. Use these CHECK_* macros for efficient error checking around calling COM methods.

Definition in file errorprint.h.


Generated by  Doxygen 1.6.0   Back to index