Intercepting the Move command in Windows

2019-08-07 18:31发布

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条回答
劳资没心,怎么记你
2楼-- · 2019-08-07 19:25

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.

查看更多
登录 后发表回答