diff options
author | Christopher Faylor <me@cgf.cx> | 2012-11-07 16:52:48 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-11-07 16:52:48 +0000 |
commit | 61746d6ae850aa6a89b0c0b00c609011c6d0ade9 (patch) | |
tree | 95552490c8ee6f3bf8b0f2d37e61bbc9dafe7a7b /winsup/w32api/include/directx/dxerr9.h | |
parent | 2ca28ea2dc0c397b9a11072e121e1c5b6f87650b (diff) | |
download | cygnal-61746d6ae850aa6a89b0c0b00c609011c6d0ade9.tar.gz cygnal-61746d6ae850aa6a89b0c0b00c609011c6d0ade9.tar.bz2 cygnal-61746d6ae850aa6a89b0c0b00c609011c6d0ade9.zip |
* mingw: Delete obsolete directory.
* w32api: Ditto.
Diffstat (limited to 'winsup/w32api/include/directx/dxerr9.h')
-rw-r--r-- | winsup/w32api/include/directx/dxerr9.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/winsup/w32api/include/directx/dxerr9.h b/winsup/w32api/include/directx/dxerr9.h deleted file mode 100644 index 36605c92c..000000000 --- a/winsup/w32api/include/directx/dxerr9.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - - dxerr9.h - Header file for the DirectX 9 Error API - - Written by Filip Navara <xnavara@volny.cz> - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -*/ - -#ifndef _DXERR9_H -#define _DXERR9_H -#if __GNUC__ >=3 -#pragma GCC system_header -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -const char *WINAPI DXGetErrorString9A(HRESULT); -const WCHAR *WINAPI DXGetErrorString9W(HRESULT); -const char* WINAPI DXGetErrorDescription9A(HRESULT); -const WCHAR* WINAPI DXGetErrorDescription9W(HRESULT); -HRESULT WINAPI DXTraceA(const char*,DWORD,HRESULT,const char*,BOOL); -HRESULT WINAPI DXTraceW(const char*,DWORD,HRESULT,const WCHAR*,BOOL); - -#ifdef UNICODE -#define DXGetErrorString9 DXGetErrorString9W -#define DXGetErrorDescription9 DXGetErrorDescription9W -#define DXTrace DXTraceW -#else -#define DXGetErrorString9 DXGetErrorString9A -#define DXGetErrorDescription9 DXGetErrorDescription9A -#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,FALSE) -#define DXTRACE_ERR_MSGBOX(str,hr) DXTrace(__FILE__,(DWORD)__LINE__,hr,str,TRUE) -#else -#define DXTRACE_MSG(str) (0L) -#define DXTRACE_ERR(str,hr) (hr) -#define DXTRACE_ERR_MSGBOX(str,hr) (hr) -#endif - -#ifdef __cplusplus -} -#endif -#endif |