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