0

I have just completed the installation of Hello World Windows Driver, the installation is success.

The code in this basically printing a line:

KdPrintEx(( DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "KmdfHelloWorld: DriverEntry\n" ));

For seeing this I have downloaded the DebugView, but the expected "KmdfHelloWorld: DriverEntry" is not getting print in this.

I am running DebugView as administrator in Windows-8.1. I have checked, that it has made a device under the device manager named "KMDFHelloWorld Device".

enter image description here What could be the probable reason that it is not getting print? Any help is highly appreciated. Thanks in Advance.

1 Answers1

1

Just enable the following 4 options:

And check if your driver is compiled with Debug configuration. As to why, see DebugView doesn't capture KdPrint output.

Sprite
  • 3,222
  • 1
  • 12
  • 29
  • It works for me,Thanks A ton :).One more thing is it the expected behavior that it form a device under the device manager ? – Abhishek bhatia Dec 21 '20 at 10:09
  • @Abhishekbhatia I haven't noticed that. Could you post a screenshot to explain it? – Sprite Dec 21 '20 at 10:47
  • Edit question with screenshot – Abhishek bhatia Dec 21 '20 at 10:55
  • @Abhishekbhatia I'm not sure about this, I guess it might be related to the `.inf` file, if you are still curious you can [ask a new question](https://stackoverflow.com/questions/ask) and wait for someone to answer it. – Sprite Dec 21 '20 at 10:59