diff options
Diffstat (limited to 'CPP/Windows/ErrorMsg.h')
-rw-r--r-- | CPP/Windows/ErrorMsg.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/CPP/Windows/ErrorMsg.h b/CPP/Windows/ErrorMsg.h new file mode 100644 index 0000000..01204eb --- /dev/null +++ b/CPP/Windows/ErrorMsg.h | |||
@@ -0,0 +1,16 @@ | |||
1 | // Windows/ErrorMsg.h | ||
2 | |||
3 | #ifndef __WINDOWS_ERROR_MSG_H | ||
4 | #define __WINDOWS_ERROR_MSG_H | ||
5 | |||
6 | #include "../Common/MyString.h" | ||
7 | |||
8 | namespace NWindows { | ||
9 | namespace NError { | ||
10 | |||
11 | UString MyFormatMessage(DWORD errorCode); | ||
12 | inline UString MyFormatMessage(HRESULT errorCode) { return MyFormatMessage((DWORD)errorCode); } | ||
13 | |||
14 | }} | ||
15 | |||
16 | #endif | ||