Help on WPP program

Posted: 01-19-2004, 07:21 PM
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 \
-funcrvTrace(flag,arg,...) \
-funcrvTraceNoInfo((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
Reply With Quote

Responses to "Help on WPP program"

 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalling program leaves program listed under linked events Matt L. Windows XP Help & Support 2 11-05-2003 12:30 AM
C:\program Kevin Cameron Windows XP Help & Support 1 10-18-2003 02:08 PM
Fax Program Windows XP Printers / Scanners / Fax 0 08-26-2003 09:40 PM
new program Bob Windows XP New Users 0 08-11-2003 07:54 PM
Is there actually any program... vonbayern Windows XP Work Remotely 1 07-08-2003 02:29 AM