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/
So I have been bashing my head against my inability to enable MSI interrupts for a PCI Express card for a few days now. In my IRP_MN_START_DEVICE handler where I connect my interrupts, if I enable MSI interrupts I get a "STATUS_NOT_SUPPORTED" back from IoConnectInterruptEx. If I debug a bit into the actual call I noticed that a null-check fails, and it turns out its the DeviceObject->DeviceObjectExtension->DeviceNode pointer which is null. This pointer is set in my AddDevice routine, at least it is not null. In all my IRP_MJ_PNP calls, it is now null.
I get a feeling that my device creation is wrong somehow. Does windows not think my driver needs a physical device node? I am using a custom device class if that matters. I only really found one pertinent Google hit and that was from a ReactOS developer suggesting this is a sanity check that fails. The post is titled "How to check for a valid PDO?".
It looks like you're new here. If you want to get involved, click one of these buttons!
|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||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||15 Jun 2020||LIVE ONLINE|
|Writing WDF Drivers||22 June 2020||LIVE ONLINE|
|Internals & Software Drivers||28 Sept 2020||Dulles, VA|