Problem with WPP

I’m trying to add WPP tracing to a filter driver. I tested the tracedrv.c
sample and I can compile it without any problem.

But when I try to compile the sfilter.c sample I get the below output from
“build”.

can anybody give me a suggestion?

Best regards.

Pablo Frank

*********************************
OUTPUT FROM BUILD
*********************************

BUILD: Adding /Y to COPYCMD so xcopy ops won’t hang.
BUILD: Object root set to: ==> objfre_wxp_x86
BUILD: Compile and Link for i386
BUILD: Loading E:\W2003\IFS\build.dat…
BUILD: Computing Include file dependencies:
BUILD: Examining e:\w2003\ifs\src\filesys\filter\sfilter directory for
files to compile.
e:\w2003\ifs\src\filesys\filter\sfilter - 2 source files (6,561 lines)
BUILD: Saving E:\W2003\IFS\build.dat…
BUILD: Compiling e:\w2003\ifs\src\filesys\filter\sfilter directory
Compiling - sfilter.rc for i386
Compiling - sfilter.c for i386
objfre_wxp_x86\i386\sfilter.tmh(27) : error C2061: syntax error :
identifier ‘WppQueryLogger’
objfre_wxp_x86\i386\sfilter.tmh(27) : error C2059: syntax error : ‘;’
objfre_wxp_x86\i386\sfilter.tmh(27) : error C2059: syntax error : ‘type’
objfre_wxp_x86\i386\sfilter.tmh(391) : error C2065:
‘TRACE_MESSAGE_SEQUENCE’ : undeclared identifier
objfre_wxp_x86\i386\sfilter.tmh(392) : error C2065: ‘TRACE_MESSAGE_GUID’ :
undeclared identifier
objfre_wxp_x86\i386\sfilter.tmh(392) : error C2065:
‘TRACE_MESSAGE_SYSTEMINFO’ : undeclared identifier
objfre_wxp_x86\i386\sfilter.tmh(392) : error C2065:
‘TRACE_MESSAGE_TIMESTAMP’ :undeclared identifier
objfre_wxp_x86\i386\sfilter.tmh(392) : error C2057: expected constant
expression

BUILD: Compile errors: not linking e:\w2003\ifs\src\filesys\filter\sfilter
direc
tory
BUILD: Done

3 files compiled - 8 Errors - 6561 LPS