Intercepting the Move command in Windows

别等时光非礼了梦想. 提交于 2019-12-24 11:35:23

问题


I am working on a plugin for a document tagging software. I would like to intercept the MOVE operation in Windows explorer , and let the tagging software handle it instead .

I was thinking about Hooks, DLL injection . The MOVE can be initiated by several ways by the user, and I need to intercept all of them.

Does anyone have other ideas. It would be nice if you can post some example links too.

TIA

Sujay


回答1:


Detours is the wrong solution for this problem.

Instead, consider using something like a FileSystemWatcher http://msdn.microsoft.com/en-us/library/x7t1d0ky or a kernel-mode Filesystem filter driver.



来源:https://stackoverflow.com/questions/5192581/intercepting-the-move-command-in-windows

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