My driver project uses several template classes which are implemented in c++ header files.
By default WPP runs only on .c and .cpp source files, and does not process .h files at all.
I have followed the instructions in How do I generate trace messages from a header file? from MSDN, however the .h files are still not being processed by WPP.
The MSDN documentation omits an important additional step - WPP is not called for "h" files, therefore you have to direct it manually by adding
to the WPP command line.
(or add
\\path\\to\\header\\*.h
to process multiple files)You can configure visual studio to do this for you like so: