![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <HResult.h>
Public Member Functions | |
int | FindCode (HRESULT hRes) const |
associated error message string. UTF8 More... | |
Public Attributes | |
HRESULT | m_hRes |
const char * | m_pszMsg |
error code for a FACILITY_TYPE. might just use WORD? More... | |
Used to define a nullptr terminated table of codes (usually) for a single FACILITY_TYPE. ASSUME this array is HRESULT sorted.
int Gray::HResultCode::FindCode | ( | HRESULT | hRes | ) | const |
associated error message string. UTF8
Find a code by its HRESULT assuming this is the first of an array of HResultCode Usually this is all of a single FACILITY_TYPE. like FindSortedARetB()
HRESULT Gray::HResultCode::m_hRes |
const char* Gray::HResultCode::m_pszMsg |
error code for a FACILITY_TYPE. might just use WORD?