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 ran SDV for my driver for the very first time and chose "All" option in "Rule sets" under "Rules" tab. I got a number of warnings for methods like WdfDeviceInitSetIoType and WdfDeviceInitSetExclusive (and a few others). Now, I can see that these methods require IRQL to satisfy <= DISPATCH_LEVEL, but, isn't that implied by the place from which these methods are called? Should I just ignore these warnings? If not, how do I fix this? I couldn't find answers to this in MS documentation or other posts here.
I feel it would be a waste to check IRQL just to satisfy SDV, if the APIs are called in the context that will never be at such IRQL level (I'm just a beginner, but can IRQL be bigger than DISPATCH_LEVEL when adding a device?).
|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||13-17 May 2024||Live, Online|
|Developing Minifilters||1-5 Apr 2024||Live, Online|
|Internals & Software Drivers||11-15 Mar 2024||Live, Online|
|Writing WDF Drivers||26 Feb - 1 Mar 2024||Live, Online|