WinStd
Windows Win32 API using Standard C++
|
Classes | |
class | winstd::com_runtime_error |
COM runtime error. More... | |
class | winstd::num_runtime_error< _Tn > |
Numerical runtime error. More... | |
class | winstd::last_error_saver |
Saves GetLastError and restores SetLastError when going out of scope. More... | |
class | winstd::win_runtime_error |
Windows runtime error. More... | |
class | winstd::eap_runtime_error |
EapHost runtime error. More... | |
class | winstd::sec_runtime_error |
Security runtime error. More... | |
Functions | |
std::string | winstd::load_msg_from_res (HMODULE hModule, UINT nId, WORD wLanguage) |
Loads exception message string from resources and converts it to UTF-8. | |
std::string | winstd::fmt_msg_from_res (HMODULE hModule, UINT nId, WORD wLanguage,...) |
Loads exception message sprintf template from resources, formats it and converts it to UTF-8. | |
|
inline |
Loads exception message sprintf template from resources, formats it and converts it to UTF-8.
[in] | hModule | Module to load resource string from |
[in] | nId | Resource string ID number |
[in] | wLanguage | Resource string language |
|
inline |
Loads exception message string from resources and converts it to UTF-8.
[in] | hModule | Module to load resource string from |
[in] | nId | Resource string ID number |
[in] | wLanguage | Resource string language |