is there user defined flags i can set/check in ZwCreateFile/InitializeObjectAttributes inside file system driver?
I am developing file system driver under Windows 开发者_StackOverflow社区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.
精彩评论