Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
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/
Is it possible to do so? I would like to inspect and potentially modify certain behaviors of this third party filter driver.
I was looking at this discussion https://community.osr.com/discussion/287194/wdf-attaching-to-device-stack and I saw a comment by Tim Roberts:
Plus, it's trivially easy to install a filter driver in the supported manner, which makes you a full participant in the IRP stack and lets you do everything KMDF can do. A device filter doesn't need an INF. Just copy the file into place, create the service, and tweak the registry.
Seems like a solution to my problem but I don't know how to go about the details.
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 |
Comments
So the only tricky bit is 'above a specific third party filter driver'. You have to determine if this filter is also installed, and you have to make sure your filter is 'above' it in the list of filters in the registry.
In the Enum registry key for your device, there will be values for UpperFilters and LowerFilters. This is a REG_MULTI_SZ value that includes the list of the service names of the filter drivers for this device. Once you have a service created, you can add your service name to this list.
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
Thank you so much, it works perfectly.