Solved

ICopyHook::CopyCallback for files?

Posted on 1997-10-13
2
785 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
2 Comments
 
LVL 1

Expert Comment

by:tomasp
Comment Utility
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
Comment Utility
He's right.  You might find a driver code to start with from www.ntinternals.com.

V

0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now