NTFSD : Drive Number

Hi all,

I am developing a file system filter driver.
I have tested Filemon hook routines to hook disks devices.This hook is
good to fixed disks, but to hook floppy disks I need a disk into drive I

can’t make this.

I am thinking use the DDK source of filter driver as base, but in this
case I don’t know if the read/write occour in drive A, B, C, D … I
need know this.

I want write protect, by example, the file : “A:\TEMP\TEMP.TXT” but I
don’t want protect “C:\TEMP\TEMP.TXT” in my File System Filter Driver.

Somebody know what is the best solution to this problem ?

Thanks in advance,

Heldai