?/TD> |
Microsoft DirectX 9.0 |
Passes error information to the debugger.
Syntax
HRESULT DXTRACE_ERR(
char *str, HRESULT hr );
Parameters
- str
- [in] Pointer to a string to be passed to the debugger.
- hr
- [in] HRESULT containing an error code. This value will be passed to DXGetErrorString9 and converted to the equivalent name.
Return Value
Returns the HRESULT that was assigned to hr.
Remarks
The string and error name is accompanied by the file name and line number. The macro declaration is:
DXTRACE_ERR(str,hr) DXTrace(__FILE__,(DWORD)__LINE__,hr,str, FALSE)
Macro Information
Header dxerr9.h Minimum operating systems Windows 98