Microsoft DirectX 8.1 (C++)

DXTRACE_MSG

Passes a string to the debugger.

HRESULT DXTRACE_MSG(
  char *str,
);

Parameters

str
Pointer to a string that will be passed to the debugger.

Return Values

Returns zero if successful, or a non-zero value if not.

Remarks

The string is accompanied by the file name and line number. The macro declaration is:

DXTRACE_MSG(str) DXTrace( __FILE__, (DWORD)__LINE__, 0, 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.