ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

dxerr9.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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.