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 have a disk upper filter driver written using WDF (KMDF) and I currently have a control device object that is used to communicate to the driver from userspace. However, I find myself needing to specify what disk device (by instance ID with an appended string) I want to perform the operation on. I feel like this isn't the best approach and neither does microsoft's own documentation.
I was thinking of creating a device for each disk device, and the Microsoft docs here explain that I can do so. It says that the filter driver should "act as a bus driver and enumerate child devices that operate in raw mode." I'm confused about what this means for my disk filter.
Do I need to somehow write a bus filter driver to create the custom named PDOs? How do I create a "physical device object (PDO) that does not require a function driver?"
|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!
|13-17 May 2024
|1-5 Apr 2024
|Internals & Software Drivers
|11-15 Mar 2024
|Writing WDF Drivers
|20-24 May 2024