aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/ErrorMsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Windows/ErrorMsg.h')
-rw-r--r--CPP/Windows/ErrorMsg.h16
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
8namespace NWindows {
9namespace NError {
10
11UString MyFormatMessage(DWORD errorCode);
12inline UString MyFormatMessage(HRESULT errorCode) { return MyFormatMessage((DWORD)errorCode); }
13
14}}
15
16#endif