PC Review


Reply
Thread Tools Rate Thread

Help on WPP program

 
 
zhong
Guest
Posts: n/a
 
      19th Jan 2004
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
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalled Program, but Program Name Remains in Program & Featur kuyarog Windows Vista General Discussion 3 2nd Dec 2007 01:26 AM
buffer overflow in program:c\program files\internet explorer\iexpl =?Utf-8?B?VFJBSU5NQU41NA==?= Windows XP Internet Explorer 1 17th Feb 2007 11:47 PM
Help. I am creating a Program for college, in which the Program will read a Folder and create a HTML page. Paul Microsoft VB .NET 5 15th Jul 2005 04:04 AM
Runtime Error! Program:c:\Program Files\Internet Explorer\iexplore =?Utf-8?B?Um9iZXJ0SGlsbEVEUw==?= Windows XP Internet Explorer 2 21st Jan 2005 10:52 PM
my program won't work on computer without framework, dow do i make a program that runs on every windows 2k/xp system ? bart Microsoft C# .NET 11 26th Jan 2004 06:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:42 PM.