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?
It looks like you're new here. If you want to get involved, click one of these buttons!
|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||20 Apr 2020||LIVE ONLINE|
|Writing WDF Drivers||11 May 2020||LIVE ONLINE|
|Internals & Software Drivers||28 Sept 2020||Dulles, VA|