ATL Macros Alphabetical Ref ...


ATL Library Reference
ATLTRACE (ATL)

Reports warnings to an output device, such as the debugger window, according to the indicated flags and levels. Included for backward compatibility.

ATLTRACE( exp );
ATLTRACE(
   DWORD category,
   UINT level,
   LPCSTR lpszFormat,
...
);
Parameters

exp

[in] The string and variables to send to the Visual C++ output window or any application that traps these messages.

category

[in] Type of event or method on which to report. See the Remarks for a list of categories.

level

[in] The level of tracing to report. See the Remarks for details.

lpszFormat

[in] The formatted string to send to the dump device.

Remarks

See ATLTRACE2 for a description of ATLTRACE. ATLTRACE and ATLTRACE2 have the same behavior, ATLTRACE is included for backward compatibility.

Requirements

Header: atltrace.h

See Also

Reference

Other Resources

Tags :


Community Content

Giovanni Dicanio
Visual C++ Team blog post on ATLTRACE

The ATL/MFC Trace Tool and the Tracing Mechanism


http://blogs.msdn.com/vcblog/archive/2009/10/08/the-atl-mfc-trace-tool-and-the-tracing-mechanism.aspx

Tags :

Page view tracker