18 #if !defined(NOMINMAX) 34 #define DXGetErrorString DXGetErrorStringW 42 #define DXGetErrorDescription DXGetErrorDescriptionW 59 HRESULT WINAPI
DXTraceW( _In_z_
const WCHAR* strFile, _In_ DWORD dwLine, _In_ HRESULT hr, _In_opt_
const WCHAR* strMsg, _In_
bool bPopMsgBox );
61 #define DXTrace DXTraceW 68 #if defined(DEBUG) || defined(_DEBUG) 69 #define DXTRACE_MSG(str) DXTrace( __FILEW__, (DWORD)__LINE__, 0, str, false ) 70 #define DXTRACE_ERR(str,hr) DXTrace( __FILEW__, (DWORD)__LINE__, hr, str, false ) 71 #define DXTRACE_ERR_MSGBOX(str,hr) DXTrace( __FILEW__, (DWORD)__LINE__, hr, str, true ) 73 #define DXTRACE_MSG(str) (0L) 74 #define DXTRACE_ERR(str,hr) (hr) 75 #define DXTRACE_ERR_MSGBOX(str,hr) (hr) void WINAPI DXGetErrorDescriptionW(_In_ HRESULT hr, _Out_cap_(count) WCHAR *desc, _In_ size_t count)
HRESULT WINAPI DXTraceW(_In_z_ const WCHAR *strFile, _In_ DWORD dwLine, _In_ HRESULT hr, _In_opt_ const WCHAR *strMsg, _In_ bool bPopMsgBox)
const WCHAR *WINAPI DXGetErrorStringW(_In_ HRESULT hr)