TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Software World > Software Troubleshooting

Notices

Debug Messages in Free build

Software Troubleshooting


Reply
 
Thread Tools Display Modes
Old 28-10-2009, 10:09 PM   #1
Newbie
 
Join Date: Oct 2009
Age: 33
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 tamarlev is an unknown quantity at this point


OS: Windows XP Windows 7


Debug Messages in Free build

Hello!

I am writing a KMDF driver. I am almost done but...
I want to have the ability to enable\disable debug messages in free version of the driver.

I tried KdPrintEx and DbgPrintEx


DbgPrintEx(DPFLTR_IHVDRIVER_ID, 0, "1 TESTINT DbgPrintEx!@\n");
DbgPrintEx(DPFLTR_IHVDRIVER_ID, 0x33, "2 TESTINT DbgPrintEx!@\n");
DbgPrintEx(DPFLTR_IHVDRIVER_ID, 0x3,
"3 TESTINT DbgPrintEx!@\n");

under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Debug Print Filter
i created a DWORD value IHVDRIVER which is set to 0x3.
(tested with 0 and 0x8, etc. etc.)

So what is the right way to do so ? and what i did wrong?

Thanks in advance
Tamar


tamarlev is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 04:24 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional