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