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/
So I am trying to address the missing feature where you can create a virtual hard disk - and reading posts around here, I get the impression that it is recommended that I use a Miniport storage driver.
I found some random sample "WDKStorPortVirtualMiniport" and I am reading http://www.osronline.com/article.cfm?article=538 - so far so good. Looks quite straight forward.
However, I already have a DriverEntry for my Filesystem. I now define and call StorPortInitialize(), then setup(overwrite?) my DriverEntry callbacks.
But this appears to "steal" the callbacks from StorPortInitialize(), and I am unsure how to call into StorPort with its IRPs when I receive them in my dispatcher.
Is there a call for me to relay the IRPs to StorPort?
Or perhaps it should be the other way around, let StorPort take all the callbacks in DriverEntry, how do I tell StorPort to call me for the FSD related IRPs?
What is the typical setup for people who have a FSD and Storage in the same 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!|
|Writing WDF Drivers||7 Dec 2020||LIVE ONLINE|
|Internals & Software Drivers||25 Jan 2021||LIVE ONLINE|
|Developing Minifilters||Early 2021||LIVE ONLINE|