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'm filtering writes and need to record what name a write is made with. In my test case, a new stream is created then a couple of hard links are created. A delete is performed using the first name. A write is made using the second hard link. The problem is that if the write is cached, the file object passed to the pre and post-write callbacks is for the first name. I need to reflect the actual name used for the write but I'm not sure how to get the "correct" file object. Non-cached writes aren't a problem.
I know how the cache manager initiates caching so I'm looking for a way to get around the annoying behavior of receiving the original file object and get the one used in the write so I can resolve the correct name. In my application, the name is imperative for proper operation and verification.
|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|