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 currently trying to upgrade to Visual Studio 2022 and the WDK 11. While my current WDM minifilter can still be build and packaged - at least I do not see any errors and warnings - the service can no longer be started.
rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 128 <driver.inf> concludes without error
sc start fails with procedure not found (I think it is error 127)
sc query reveals a Windows32 error code of 31 (translates to fails to load driver, if I understand correctly)
When I am using Visual Studio 2019 and WDK 10 the service starts.
Does anybody experience a similar issue or nows how to migrate to the new WDK?
Can someone point me to a direction how to debug such a scenario? (DebugView does not even show the Driver Entry log of my Minifilter)
The updated WDK 11 Windows driver examples are not compiling out of the box with VS 2022 and WDK 11.
So I think Microsoft is still in the state of figuring out how to use their own software
Any hints would be highly 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|