Hi,
This is the first time I use WPP in my driver.
Here is the code in my sources file:
....
RUN_WPP= $(SOURCES) \
-km -dll \
-func

rvTrace(flag,arg,...) \
-func

rvTraceNoInfo((arg,...))
Here is the definition for DrvTrace and DrvTraceNoInfo:
#if !defined(DRV_TRACING)
#define DrvTrace(flag, arg)
_Debug_Print_Macro(flag, arg)
#define DrvTraceNoInfo(arg)
_Debug_Print_Macro_No_Info(arg)
#define _Debug_Print_Macro(flag, arg)
\
do
\
{
\
DbgPrint(DRIVERNAME ": 0x%x ",flag); \
DbgPrint arg;
\
}
\
while (0)
#define _Debug_Print_Macro_No_Info(arg)
\
do
\
{
\
DbgPrint arg;
\
}
\
while (0)
#else
#define DrvTrace(flag, arg)
#define DrvTraceNoInfo(arg)
#endif
Whenever I compiled the code, I got the following error
messages:
WPP_flag_arg_ENABLED not defined
WPP_flag_arg_LOGGER not defined
How can I get rid of these messages?
Thanks,
zhong