挂钩IFileOperation COM接口,将文件拖放到回收站 [英] Hook IFileOperation COM Interface,Drag and drop file to the recycle bin

查看:93
本文介绍了挂钩IFileOperation COM接口,将文件拖放到回收站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我挂了IFileOperation COM接口,复制,粘贴,删除,重命名可以正常挂钩,我可以得到一些我想要的日志,但是当我将文件拖放到回收站时,不执行DeleteItem和DeleteItems, MoveItem也不会执行,为什么?这个问题困扰了我很长一段时间,谁能告诉我原因,我该怎么做。

谢谢!

对不起我的英语很差

I hook the IFileOperation COM interface,Copy, paste, delete, rename can be hook normally,I can get some log which I wanted, but when I drag and drop the files to recycle bin,DeleteItem and DeleteItems not be executed,MoveItem not be executed also,why? The question has bothered me for a long time,who can tell me the reason,What should I do.
Thanks!
sorry my english is very poorly

推荐答案

如何挂钩IFileOption并获取复制,粘贴,拖放中的文件名和路径操作。你能否分享一些代码?非常感谢。
How you hook IFileOption and get the file name and path in copy, paste,drag and drop operation. Could you please share some of your codes? Thank you very much.


这篇关于挂钩IFileOperation COM接口,将文件拖放到回收站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆