Which APIs are used by explorer.exe in Windows 7 to list files?

强颜欢笑 提交于 2019-12-12 12:37:00

问题


I am coding a rootkit-like program which hooks functions used by Windows to list files in a folder. I know that in Windows XP explorer.exe uses FindFirstFileW / FindNextFileW each time we open/update directory, to list files that are contained in that folder. Different story for Windows 7, and I can't manage to understand which functions are used here to do the job.


回答1:


In windows 7 windows explorer use IShellFolder for every browse of specific directory it call to EnumObjects and from that return value it call to:

IEnumIDList::Next()


来源:https://stackoverflow.com/questions/16694228/which-apis-are-used-by-explorer-exe-in-windows-7-to-list-files

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!