Microsoft DirectX 8.1 (C++)

DXTRACE_ERR_NOMSGBOX

Passes error information to the debugger.

HRESULT DXTRACE_ERR_NOMSGBOX(
  char *str,
  HRESULT hr
);

Parameters

str
Pointer to a string to be passed to the debugger.
hr
HRESULT containing an error code. This value will be passed to DXGetErrorString8 and converted to the equivalent name.

Return Values

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_NOMSGBOX(str,hr) DXTrace(__FILE__,(DWORD)__LINE__,hr,str, FALSE)

Requirements

  Windows NT/2000/XP: Requires Windows® 2000.
  Windows 98/Me: Requires Windows 98 or later. Available as a redistributable for Windows 98.
  Version: Requires DirectX® 8.1.
  Header: Declared in Dxerr8.h.