The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
I'm trying to realize a simple KMDF Disk Filter Driver that "logs" all the write operations in a sector bitmap, but I'm having troubles in installing and testing it.
I started from the KMDF sample in this article:
My code is the same as the article above, I've just excluded the user mode code (buffers to comunicate to user mode apps, etc.) and kept just WdfFltrRead function in the queue (no write, no devicecontrol events) to test if driver works and then proceed with my develop.
Then, I copied the .inf file from the DiskPerf example and adapted to my situation and installed the driver inside my test Hyper-V vm. The result was just a blue screen with the error INACCESSIBLE_BOOT_DEVICE.
Can someone help me to understand how to install correctly the driver and also if there are some parts in the code that I have to change in order to adapt the code to my situation?
Thank you to all in advance that will help me.
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!||Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||15 Jun 2020||LIVE ONLINE|
|Writing WDF Drivers||22 June 2020||LIVE ONLINE|
|Internals & Software Drivers||28 Sept 2020||Dulles, VA|