i'v already posted a question [question] : Directory relative ZwCreateFile

but i am unable to build the driver. I have posted the error as well. So i was wondering is there any other way to list files in a directory(kernel space) without using "ZwQueryDirectoryFile" routine.

有帮助吗?

解决方案

You can rollup your oqn IRP : IRP_MJ_DIRECTORY_CONTROL/IRP_MN_QUERY_DIRECTORY, but this that ZwQueryDirectoryFile doing internally.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top