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/
Hi professionals, I'm a newer to windows kernel driver development and I'm working on a disk filter driver which is a boot driver.
Firstly let me try describing the problem as I could. For the driver, in 'DriverEntry' routine, the driver just loads its parameters from registry and initializes the driver entry points, at the end registers a routine to trigger "BootDriverReInitialization" action. The critical filtering function stack is setup in "BootDriverReInitialization" routine. In order to make the parameters to be configurated for different VMs, I'd like to read the settings from file on a specific small VHD disk created by ourselves, and override the default values that read from registry earlier. Then we can setup filtering function with different settings per VM(shared OS image with same registry settings). The job that I have to do next is to identify the disk, read the configuration from this disk and override the default settings with new values.
Here are my questions:
1. Is it safe to load configuration from disk file at that point?
2. How can I identify the VHD disk in a safe and simpler way but not to enumerate all disks by checking if the specific config file exists on the disk?
Any help or suggestion would be appreciated.
|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||12 September 2022||Live, Online|
|Internals & Software Drivers||23 October 2022||Live, Online|
|Kernel Debugging||14 November 2022||Live, Online|
|Developing Minifilters||5 December 2022||Live, Online|