开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜