18 #define DXGetErrorString9 DXGetErrorString9W
19 #define DXGetErrorDescription9 DXGetErrorDescription9W
20 #define DXTrace DXTraceW
22 #define DXGetErrorString9 DXGetErrorString9A
23 #define DXGetErrorDescription9 DXGetErrorDescription9A
24 #define DXTrace DXTraceA
27#if defined(DEBUG) || defined(_DEBUG)
28 #define DXTRACE_MSG(str) DXTrace( __FILE__, (DWORD)__LINE__, 0, str, FALSE )
29 #define DXTRACE_ERR(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str, FALSE )
30 #define DXTRACE_ERR_MSGBOX(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str, TRUE )
32 #define DXTRACE_MSG(str) (0L)
33 #define DXTRACE_ERR(str,hr) (hr)
34 #define DXTRACE_ERR_MSGBOX(str,hr) (hr)
const char *WINAPI DXGetErrorDescription9A(HRESULT hr)
HRESULT WINAPI DXTraceW(const char *strFile, DWORD dwLine, HRESULT hr, const WCHAR *strMsg, BOOL bPopMsgBox)
HRESULT WINAPI DXTraceA(const char *strFile, DWORD dwLine, HRESULT hr, const char *strMsg, BOOL bPopMsgBox)
const char *WINAPI DXGetErrorString9A(HRESULT hr)
const WCHAR *WINAPI DXGetErrorString9W(HRESULT hr)
const WCHAR *WINAPI DXGetErrorDescription9W(HRESULT hr)