diff options
Diffstat (limited to 'c/common.h')
-rw-r--r-- | c/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -16,9 +16,11 @@ struct Win32Error : public std::exception Win32Error(DWORD dwErr); ~Win32Error(); virtual const char* what() const noexcept override; + virtual const TCHAR* twhat() const noexcept; private: DWORD m_dwErr; - char* const m_szMsg = NULL; + char* m_szMsg = NULL; + wchar_t* m_wszMsg = NULL; }; struct Library |