Solved

ICopyHook::CopyCallback for files?

Posted on 1997-10-13
2
832 Views
Last Modified: 2013-12-03
I need to know how to determine whether a file is about to be copied, moved, etc, so that it may be stopped if so desired, in the same way that the ICopyHook::CopyCallback interface works for folders.  Sample code would be appreciated.
0
Comment
Question by:healer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:tomasp
ID: 1407379
I am assuming that you want to intervene before a file action can take place. The only way I know of off hand is to hook from a VXD on Win95 and from a driver in WinNT.
For monitoring only, I assume that you have looked at
FindFirstChangeNotification
0
 
LVL 3

Accepted Solution

by:
vinniew earned 200 total points
ID: 1407380
He's right.  You might find a driver code to start with from www.ntinternals.com.

V

0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question