7zip/CPP/Windows/ErrorMsg.h

17 lines
322 B
C
Raw Normal View History

2021-12-27 01:00:00 +01:00
// Windows/ErrorMsg.h
2023-06-21 02:00:00 +02:00
#ifndef ZIP7_INC_WINDOWS_ERROR_MSG_H
#define ZIP7_INC_WINDOWS_ERROR_MSG_H
2021-12-27 01:00:00 +01:00
#include "../Common/MyString.h"
namespace NWindows {
namespace NError {
UString MyFormatMessage(DWORD errorCode);
inline UString MyFormatMessage(HRESULT errorCode) { return MyFormatMessage((DWORD)errorCode); }
}}
#endif