mirror of
https://github.com/ip7z/7zip.git
synced 2025-12-06 07:12:00 +01:00
17 lines
308 B
C
17 lines
308 B
C
|
|
// Windows/ErrorMsg.h
|
||
|
|
|
||
|
|
#ifndef __WINDOWS_ERROR_MSG_H
|
||
|
|
#define __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
|