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 am experimenting MS sample file system mini filter driver. I have a question regarding the driver unload scenario.
I have created a handle in my application to the device object created in the driver. Even though my application is running and opened a handle,
I was able to unload the driver using "sc stop servicename.sys" from the admin command prompt.
I was thinking that, if any open handle is present the system will not unload the driver. But it seems wrong.
Could anyone please clarify what is happening in this case. Why driver unloaded even though handle is opened at the application?
|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!|
|Internals & Software Drivers||15 November 2021||Live, Online|
|Writing WDF Drivers||TBD||Live, Online|
|Developing Minifilters||7 February 2022||Live, Online|
|Kernel Debugging||21 March 2022||Live, Online|