I use WPP macros to log strings from my driver into event
trace for windows. The API that I use to log messages is
DoTraceMessage()
I can view the messages using Microsoft's Tracefmt utility
that creates a formatted trace message file, which
contains trace log messages converted to a human-readable
form.
I would like to convert the logged strings into human
readale format in my application? Using the ProcessTrace()
API I am able to get the contents of the data in pEvent-
>mofData. Also I have the format of the logged data from a
TMF file created by the driver.
How can I convert the data into human readable format in
my application? Do I use FormatMessage() API?
Thanks
Suman
|