Reparse directory open with STATUS_REPARSE

  • Thread starter Thread starter Dato0011
  • Start date Start date
D

Dato0011

Guest
I'm trying to redirect listing files from FolderA to FolderB. To achieve that, I'm replacing TargetFileObject in IRP_MJ_PreWrite callback and returning STATUS_REPARSE.


Here's the code Paste ofCode


Basically, I'm expecting FindFirstFile/ZwQueryDirectoryFile on any folder named hellooWorld to be redirected to C:\Temp folder, but that is not the case. explorer and cmd are throwing errors when I try to access the folder. I assume returning STATUS_REPARSE is not enough and I'm missing something, but I don't know what. Any help would be greatly appreciated.


Thanks

Continue reading...
 
Back
Top