mirror of
https://github.com/holub/mame
synced 2025-06-24 13:26:36 +03: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
|