I am developing file system driver under Windows and i need to check file attributes of every accessed file. To do this i need to do additional ZwCreateFile for each file, but again it returns to my dispatch routine.
What flags i can set with InitializeObjectAttributes() or ZwCreateFile() so i can check it later so my filter can bypass such file access?
Thank you.
Solved, try IoCreateFileSpecifyDeviceObjectHint, IoCreateFileEx or FtlCreateFile.