Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTFSD
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


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/


Minifilter instance in different frames

parsaparsa Member Posts: 27

Hello All, I am learning minifilter driver development. I have a question on my mind and i found this great forum to get help. Here is my question.

Whether a minifilter can be attached to different frames. I believe we can. But my doubt is , for example, as shown in this link https://docs.microsoft.com/en-us/windows-hardware/drivers/ifs/filter-manager-concepts, is it OK to attach MiniFilter B on top of MiniFilter D in Frame 0?
I believe that the altitude range in one frame (frame 0) does not care about altitude range in another frame (frame 1) on top or below it.

Thanks,
Jay

Comments

  • rod_widdowsonrod_widdowson Member - All Emails Posts: 1,131

    If you are still learning I wouldn't worry about frames. They should be on their way out as old style fsfilters get ported.

    Having used multiple instances in a driver I don't see any reason why they shouldn't work as you expect whether there is a frame change in the way or not, but I have no experience to back up this assertion.

  • parsaparsa Member Posts: 27

    Thanks for your reply. This leads me one more question. If i have multiple instance on the same frame or different frame, how the lock mechanism works. If one instance acquired the lock and reaching the another instance through different frames, then lock acquiring code in the second instance will not succeed. Is my understanding wrong?

Sign In or Register to comment.

Howdy, Stranger!

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