|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Reports warnings to an output device, such as the debugger window, according to the indicated flags and levels. Included for backward compatibility.
[in] The string and variables to send to the Visual C++ output window or any application that traps these messages.
[in] Type of event or method on which to report. See the Remarks for a list of categories.
[in] The level of tracing to report. See the Remarks for details.
[in] The formatted string to send to the dump device.
See ATLTRACE2 for a description of ATLTRACE. ATLTRACE and ATLTRACE2 have the same behavior, ATLTRACE is included for backward compatibility.