Compile error after adding #define WPP_GLOBALLOGGER
- From: John Bond <johnbond@xxxxxxxxxxxxxxxx>
- Date: Mon, 30 Nov 2009 10:37:01 -0800
My driver is currently using WPP tracing to assist my development and
debugging. I need to see details that occur early, and decided to attempt
using the Global Logger Session. After reading several related pages, I
added the #define WPP_GLOBALLOGGER to my trace.h file after the #define
WPP_CONTROL_GUIDS macro definition.
I now get the following compile error in only the .cpp file that has the
WPP_INIT_TRACING macro call (SwrxDriver.cpp in the DriverEntry function):
....SwrxDriver.tmh(2048) : error C2664: 'RtlStringFromGUID' : cannot convert
parameter 1 from 'LPCGUID' to 'const GUID &'
When I commend out the #define WPP_GLOBALLOGGER macro, the driver compiles
without comment.
Any suggestions? John Bond
.
- Follow-Ups:
- Re: Compile error after adding #define WPP_GLOBALLOGGER
- From: Doron Holan [MSFT]
- Re: Compile error after adding #define WPP_GLOBALLOGGER
- Prev by Date: Re: USB enumeration timeout?
- Next by Date: Re: Send custom messages to hid keyboard minidriver
- Previous by thread: Send custom messages to hid keyboard minidriver
- Next by thread: Re: Compile error after adding #define WPP_GLOBALLOGGER
- Index(es):
Relevant Pages
|