Hello,
I am trying to create a minifilter that redirects some create operations. Most of the implementation is done but I have some questions:
Example:
- Receive Create operation on \Device\HardDiskVolume1\Test\a.txt
- Redirect to \Device\HardDiskVolume1\AnotherFolder\a.txt by
changing the FILE_OBJECT, set STATUS_REPARSE and FLT_PREOP_COMPLETE.
After these steps I receive the create operation on the file that I redirected \Device\HardDiskVolume1\AnotherFolder\a.txt.
My Question:
How can I know that this request was previously redirected with STATUS_REPARSE ?
There is some flag that I can check?
Currently I am checking the path. For example if it is \Device\HardDiskVolume1\AnotherFolder\a.txt that means that previously was redirected but is not such a good idea.
Thanks in advance!