How to capture output from OutputDebugString?

Hello all,

I would like to read the messages that are output by
OutputDebugString. From my research, it looks like the messages are
written to a memory mapped region called DBWIN_BUFFER. I’ve tried
finding sample code that does this, but I can’t seem to find a good
example. Would anyone know where I could find a good example on how
to read from this buffer?

Thanks,
J

http://msdn.microsoft.com/en-us/library/aa242171(VS.60).aspx

Or use Google for DBMON and/or DBWIN_BUFFER. There is a lot of info.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jonathon
Sent: Saturday, October 17, 2009 4:09 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to capture output from OutputDebugString?

Hello all,

I would like to read the messages that are output by
OutputDebugString. From my research, it looks like the messages are
written to a memory mapped region called DBWIN_BUFFER. I’ve tried
finding sample code that does this, but I can’t seem to find a good
example. Would anyone know where I could find a good example on how
to read from this buffer?

Thanks,
J


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online
at http://www.osronline.com/page.cfm?name=ListServer