mirror of
https://github.com/reactos/reactos.git
synced 2025-06-11 04:47:22 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
45
sdk/include/dxsdk/dxerr8.h
Normal file
45
sdk/include/dxsdk/dxerr8.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
|
||||
|
||||
#ifndef _DXERR8_H_
|
||||
#define _DXERR8_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
const char* WINAPI DXGetErrorString8A(HRESULT hr);
|
||||
const char* WINAPI DXGetErrorDescription8A(HRESULT hr);
|
||||
HRESULT WINAPI DXTraceA( const char* strFile, DWORD dwLine, HRESULT hr, const char* strMsg, BOOL bPopMsgBox );
|
||||
|
||||
const WCHAR* WINAPI DXGetErrorString8W(HRESULT hr);
|
||||
const WCHAR* WINAPI DXGetErrorDescription8W(HRESULT hr);
|
||||
HRESULT WINAPI DXTraceW( const char* strFile, DWORD dwLine, HRESULT hr, const WCHAR* strMsg, BOOL bPopMsgBox );
|
||||
|
||||
|
||||
#ifdef UNICODE
|
||||
#define DXGetErrorString8 DXGetErrorString8W
|
||||
#define DXGetErrorDescription8 DXGetErrorDescription8W
|
||||
#define DXTrace DXTraceW
|
||||
#else
|
||||
#define DXGetErrorString8 DXGetErrorString8A
|
||||
#define DXGetErrorDescription8 DXGetErrorDescription8A
|
||||
#define DXTrace DXTraceA
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG) | defined(_DEBUG)
|
||||
#define DXTRACE_MSG(str) DXTrace( __FILE__, (DWORD)__LINE__, 0, str, FALSE )
|
||||
#define DXTRACE_ERR(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str, TRUE )
|
||||
#define DXTRACE_ERR_NOMSGBOX(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str, FALSE )
|
||||
#else
|
||||
#define DXTRACE_MSG(str) (0L)
|
||||
#define DXTRACE_ERR(str,hr) (hr)
|
||||
#define DXTRACE_ERR_NOMSGBOX(str,hr) (hr)
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue