xref: /aosp_15_r20/external/lzma/CPP/Windows/ErrorMsg.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1 // Windows/ErrorMsg.h
2 
3 #ifndef ZIP7_INC_WINDOWS_ERROR_MSG_H
4 #define ZIP7_INC_WINDOWS_ERROR_MSG_H
5 
6 #include "../Common/MyString.h"
7 
8 namespace NWindows {
9 namespace NError {
10 
11 UString MyFormatMessage(DWORD errorCode);
MyFormatMessage(HRESULT errorCode)12 inline UString MyFormatMessage(HRESULT errorCode) { return MyFormatMessage((DWORD)errorCode); }
13 
14 }}
15 
16 #endif
17