开发者

is there user defined flags i can set/check in ZwCreateFile/InitializeObjectAttributes inside file system driver?

开发者 https://www.devze.com 2023-03-10 04:12 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号