Open a file relative to a fioe object from a minifilter?

Hello. I am trying to open a file, using a related file object and a blank filename for the (not related) FileObject. The problem? I need to do this from an existing file object, without getting its handle (it is not available yet). Any ideas how to do this exactly? Using a file name, or open by file ID won’t work. The purpose is to make sure the right file is being worked on. If I had handles, I would use the original handle as RootDirectory and a blank file name, and that is what I am trying to mimic with an FO. But handles are not an option. Regards, Dejan.

SWAG:

how about sending a FltCreate as from the instance above, catching it in your pre-create and changing the file object it gives you to point to your file object (as a relative file object to “”) No idea if it would work, but if you try it do report back……

That would not work in production i reckon :slight_smile:

Kind regards, Dejan.
https://www.alfasp.com