From: Don Burn on 17 Mar 2010 17:31 It has nothing to do with ETW. Take a look at http://msdn.microsoft.com/en-us/library/aa489593.aspx Don Burn (MVP, Windows DKD) Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr > -----Original Message----- > From: RamenWarrior [mailto:RamenWarrior(a)nospam.nospam] > Posted At: Wednesday, March 17, 2010 5:15 PM > Posted To: microsoft.public.development.device.drivers > Conversation: How to work with StorportLogSystemEvent > Subject: RE: How to work with StorportLogSystemEvent > > I have a few more questions related to using the message compiler. I > started > reading about creating a manifest and was led here: > http://msdn.microsoft.com/en-us/library/aa468726.aspx (Adding Event > Tracing to > Kernel-Mode drivers). > > While this document was helpful it was clearly intended for general > device > drivers and not the storport special case. I assume that I won't need to > use > EtwXXXX functions to manipulate the manifest. However as someone who has > never > used the message compiler I wish there was more documentation specific > to > storport driver writing. > > "RamenWarrior" wrote: > > > I thought the data type PWSTR implied that all string were in Unicode > format. > > Are you saying I can ignore that assumption and use standard strings? > > > > > > "Don Burn" wrote: > > > > > For a standard storport the Unicode string functions are not > > > available, but for a log entry they are rarely needed. If you need > > > to pass a constant UNICODE_STRING emulate the RTL_CONSTANT_STRING > > > string macro from the WDK. Mostly people use the message compiler > > > to put together the equivalent of the format string of a printf and > > > then have the individual args as needed. > > > > > > > > > Don Burn (MVP, Windows DKD) > > > Windows Filesystem and Driver Consulting > > > Website: http://www.windrvr.com > > > Blog: http://msmvps.com/blogs/WinDrvr > > > > > > > > __________ Information from ESET Smart Security, version of virus > signature > database 4953 (20100317) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com >
First
|
Prev
|
Pages: 1 2 Prev: Install Filter Driver Next: WLK 1.5: IO Cancellation with Direct IO on network storage (Pr |