mame/3rdparty/lzma/CPP/Windows/ErrorMsg.h
2023-12-06 07:58:49 +11:00

17 lines
322 B
C++

// Windows/ErrorMsg.h
#ifndef ZIP7_INC_WINDOWS_ERROR_MSG_H
#define ZIP7_INC_WINDOWS_ERROR_MSG_H
#include "../Common/MyString.h"
namespace NWindows {
namespace NError {
UString MyFormatMessage(DWORD errorCode);
inline UString MyFormatMessage(HRESULT errorCode) { return MyFormatMessage((DWORD)errorCode); }
}}
#endif