呵呵,用ICopyHook.参见MSDN.呵呵,这样就可以监视文件的操作了.
这是MSDN的注释:
ICopyHook is a COM-based interface used to create a copy hook handler. A copy hook handler is a shell extension that determines if a shell folder or printer object can be moved, copied, renamed, or deleted. The shell calls the ICopyHook::CopyCallback method prior to performing one of these operations