开发者

About API hooking

I want to check if any file,folder or window is openend from the removable media like U开发者_JAVA百科SB and close it.


I don't know about with C++, but there are ways with AutoIt to do that easily. Basically you can loop through running processes and get the path for those processes, parse the path for the drive and check for drive type. If it is "removable", kill the process. It would actually be a rather simple script.

http://www.autoitscript.com/autoit3/docs/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜