Advanced Software Tracing

This section includes the following topics:

How do I generate trace messages from a header file?

What happens to NULL strings in tracing code?

How do I trace function entry and exit?

How do I redefine an fprintf function as a tracing call?

How do I initialize WPP software tracing in a kernel-mode driver?

How do I initialize WPP software tracing in a user-mode application?

How do I initialize WPP software tracing in a user-mode DLL?

What are the WPP extended format specification strings?

How do I create custom WPP extended format specification strings?

Can I use enumerations in my tracing code?

What are PRE / POST macros?

How are Trace-If expressions used?

How do I notify a driver when enabling, disabling, or changing certain flags?

How do I use WPP in static libraries?