Diskette activity logging

Hi *.*

  I'd like to log the activity of the disc drive (especially the floppy, but generally just any drive). How can I get the information about the name of the file actually being read or written (as for example ViruShield does)? Any suggestions?

Bocian...
BocianAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
KEConnect With a Mentor Commented:
You didn't describe in what way you wanted to use the logging function, but you can try this API function:

FindFirstChangeNotification


0
 
interCommented:
Hi,

I am sorry, there is no easy way as far as I know. You should write a device driver, device monitor or so. In VirusShield for example they have programmed a pseudo device driver just passign every thing to the underlying disk controler driver and does the checking. Note that, since these kind of handling is different between NT and Win95 they should sell two versions, one for NT and one for Windows. But if you want such trouble (or already know how to write them) you may write it. I am sure there are lots of example in www.microsoft.com/msdn but they are coded in C.

Regards, Igor


0
All Courses

From novice to tech pro — start learning today.