WIN_TRACE
WIN_TRACE allows arbitrary messages to be printed. The macro allows printf-style formatting and variable argument lists. Consult the documentation for printf for a list of format specifiers.
void WIN_TRACE( __in PCSTR Format, ... ); void WIN_TRACE( __in PCWSTR Format, ... );
WIN_TRACE is overloaded to support both ANSI and UNICODE strings.
[in] Format: Format string. Consult the documentation for printf for a list of format specifiers.
[in] ...: Arguments. Note that if you use the %s specifier in the format string, be sure that the wideness (i.e. ANSI vs. Unicode) of argument strings matches the wideness of the format string itself.
Table 7.41.
User Mode | Kernel Mode | |
---|---|---|
Available since | 1.3 | N/A |
Header | Declared in winunit.h | N/A |
Library | Link to cfix.lib | N/A |
DLL | cfix.dll | N/A |
IRQL | N/A | N/A |
Requires cl version 14.00 (VisualStudio 2005) or better.