首页 > 解决方案 > 如何挂钩 windows7 explorer.exe 以隐藏文件

问题描述

我想explorer.exe在windows 7上挂上隐藏文件,我试图找出它使用的APIwindbg breakpoint并导入表,但没有任何结果。然后我在互联网上搜索它使用的API,然后我找到了 IShellFolder::EnumObjects,但我不知道接下来我能做什么

标签: c++windows

解决方案


你的意思是SetFileAttributes吗?

例如:

SetFileAttributes(L"c:\\path\\filename.txt", FILE_ATTRIBUTE_HIDDEN);


推荐阅读