Static Public Member Functions | |
| static CString | getString (HINSTANCE instance, DWORD id) |
| Get message string. | |
| static CString | getErrorString (HINSTANCE, DWORD error, DWORD id) |
| Get error string. | |
Definition at line 22 of file CMSWindowsUtil.h.
| CString CMSWindowsUtil::getErrorString | ( | HINSTANCE | , | |
| DWORD | error, | |||
| DWORD | id | |||
| ) | [static] |
Get error string.
Gets a system error message for error. If the error cannot be found return the string for id, replacing ${1} with error.
Definition at line 54 of file CMSWindowsUtil.cpp.
References CStringUtil::format(), getString(), and CStringUtil::print().
| CString CMSWindowsUtil::getString | ( | HINSTANCE | instance, | |
| DWORD | id | |||
| ) | [static] |
Get message string.
Gets a string for id from the string table of instance.
Definition at line 24 of file CMSWindowsUtil.cpp.
Referenced by getErrorString().
1.4.7