Helper class for writing HRESULTs to the debug stream. More...
#include <rts/debug.h>
Public Member Functions | |
| HResult (long hresult) | |
Helper class for writing HRESULTs to the debug stream.
Can be used directly in the output stream, e.g.
The most interesting thing about HRESULTs is that custom HRESULT translators can be added or removed during runtime, see Debug::AddHResultTranslator for more information.
Definition at line 164 of file debug_debug.h.
|
inlineexplicit |
Creates a HRESULT descriptor.
| hresult | HRESULT value (checked, Windows declares HRESULT as typedef long) |
Definition at line 178 of file debug_debug.h.