For such a task, I once did a bus filter driver, which will attach the FiDOs to partition device objects on their way up in MN_QUERY_RELATIONS path.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: vartika singh
To: Windows System Software Devs Interest List
Sent: Thursday, June 03, 2004 12:20 PM
Subject: [ntdev] Registry entry for a disk partition filter driver
Hi,
In case of diskperf an entry ‘Upperfilters’ is added to the disk class guid entry.(HKLM\SYSTEM\CCS\control\class{guid}.
If i do this, my filter start’s intercepting every irp to the hard disk.Then what does the addfilter(NTDDK) do by attaching a filter to some partition?
How do i filter a specific ‘partition’ on the harddisk?
The filter has to get loaded at the boot time, and it’s IRP_MJ_READ/WRITE dispatch routines shouldn’t intercept any of the other partitions’ irps.
What should be the registry entries for the above specified scenario?
How do i hard code the partion’s device-object name in the adddevice routine?
Please do reply.I have tried many things and im at my wits end.
V.S
— Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com