Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendxerr9.h
Go to the documentation of this file.
00001 #ifndef _DXERR9_H_ 00002 #define _DXERR9_H_ 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 00009 const char* WINAPI DXGetErrorString9A(HRESULT hr); 00010 const char* WINAPI DXGetErrorDescription9A(HRESULT hr); 00011 HRESULT WINAPI DXTraceA( const char* strFile, DWORD dwLine, HRESULT hr, const char* strMsg, BOOL bPopMsgBox ); 00012 00013 const WCHAR* WINAPI DXGetErrorString9W(HRESULT hr); 00014 const WCHAR* WINAPI DXGetErrorDescription9W(HRESULT hr); 00015 HRESULT WINAPI DXTraceW( const char* strFile, DWORD dwLine, HRESULT hr, const WCHAR* strMsg, BOOL bPopMsgBox ); 00016 00017 #ifdef UNICODE 00018 #define DXGetErrorString9 DXGetErrorString9W 00019 #define DXGetErrorDescription9 DXGetErrorDescription9W 00020 #define DXTrace DXTraceW 00021 #else 00022 #define DXGetErrorString9 DXGetErrorString9A 00023 #define DXGetErrorDescription9 DXGetErrorDescription9A 00024 #define DXTrace DXTraceA 00025 #endif 00026 00027 00028 #if defined(DEBUG) | defined(_DEBUG) 00029 #define DXTRACE_MSG(str) DXTrace( __FILE__, (DWORD)__LINE__, 0, str, FALSE ) 00030 #define DXTRACE_ERR(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str, FALSE ) 00031 #define DXTRACE_ERR_MSGBOX(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str, TRUE ) 00032 #else 00033 #define DXTRACE_MSG(str) (0L) 00034 #define DXTRACE_ERR(str,hr) (hr) 00035 #define DXTRACE_ERR_MSGBOX(str,hr) (hr) 00036 #endif 00037 00038 00039 #ifdef __cplusplus 00040 } 00041 #endif 00042 00043 #endif 00044 Generated on Sat May 26 2012 04:29:21 for ReactOS by
1.7.6.1
|