aboutsummaryrefslogtreecommitdiff
path: root/c/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/common.h')
-rw-r--r--c/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/c/common.h b/c/common.h
index 515c75c..2b3c331 100644
--- a/c/common.h
+++ b/c/common.h
@@ -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