aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/ErrorMsg.h
blob: 6142b4ebe641d334122f8eb175e1d78a8cf7cc38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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