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've developed an NDIS 6.1 Miniport driver for Windows Embedded Compact 2013. My initial implementation naively ignored the NDIS Miniport state machine model. I've since corrected that.
What I need to do now is fully test that my driver is responding to the NDIS callbacks for Pause, Halt and Shutdown. Testing the InitializeEx and Restart is accomplished through normal startup sequence. I need to figure out how to test the other 3 callbacks.
I found references to NDISTest which allegedly has source code for the tests. I figure I could port those calls to WEC in order to create at least a unit test suite or, at the very least, figure out what usermode calls trigger NDIS to call the desired Miniport callbacks. The problem here is I can't seem to find a valid download link for this test kit. I'm hitting some overzealous Microsoft check that thinks I'm some kind of bot site hell bent on bombarding them with download requests. I asked a colleague in New Zealand to attempt the download and he was greeted with the same message and blocked.
Are there any NDIS experts here who can provide suggestions as to test kits I might be able to use or at least with source code I can port to WEC? Absent a test kit, does anyone know how to even trigger NDIS to make the callbacks into my driver?
|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!|
|Developing Minifilters||24 May 2021||Live, Online|
|Writing WDF Drivers||14 June 2021||Live, Online|
|Internals & Software Drivers||27 September 2021||Live, Online|
|Kernel Debugging||TBD 2021||Live, Online|