Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
ATL
Expand Minimize
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.

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.

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

Community Additions

ADD
Show:
© 2015 Microsoft