Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

File system Filter Driver - Need Help.

2 views
Skip to first unread message

iamavik

unread,
Sep 2, 2004, 1:16:41 AM9/2/04
to
Hi all,
I am developing a file system filter driver for WIndows 2000.
I am using Windows 2000 DDK and VC++ 6 compiler.
I want the filter driver intercept all the file system calls requested.
I wrote a small code for creating a device and attach it to device.
I have a doubt while creating the device using IoCreateDevice's 4th argument.
With reference to many examples, all are putting as FILE_DEVICE_UNKNOWN.
I tried for FILE_DEVICE_DISK. But the System restarts, while loading the driver.
I also having the similar problem while setting flags for the filter driver.
If I am not setting the flags, the IRP's for file read/write are not intercepted.

I am loading the driver (.sys file) using an application DrvLoader downloaded
from codeproject.com.

It will be very helpful, if you give a sample code to solve that.

Thanks for your time, patience and support.

with warm regards,
avik.

0 new messages