Windows 2000 Disk UPPER Filter Driver - PNP Add Device Notification problem

Hi All,
I have problem of PNP Auto Add Device notification to my disk
filter driver. I have Windows 2000 PNP Disk upper filter driver Cfilter.sys,
it’s same as diskperf.sys.
I have initialized All necessary Pnp Dispatch routines like
DriverObject->DriverExtension->AddDevice, IRP_MJ_PNP, IRP_MJ_POWER in my
driver entry.

Disk.sys, and diskPerf.sys ADDdevice Function is get called in sequence by
PNP Manager when new Disk Device added to system, but My Cfilter.sys
driver’s AddDevice Routine doesn’t get called.

I have scan through Registery entry, and i made registery entry of my
cfilter.sys same as diskperf.sys. My Driver have class=LegacyDriver same as
diskperf.sys

So Please Let me know, what i have to do to get called my disk upper filter
driver automatically by PNP manager whenever any new Disk Device Add to
system or removed from system.

Thanks in Advance.
Parag Sanghvi


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

I ran into this same problem.

You have to specify in the registry that your driver is an upper filter to
the disk class.

Use regedt32 and
goto HKLM\Services\CurrentControlSet\Control\Class
find the GUID {…} that has description Disk and add the name of
yourdriver to the UpperFilters value after diskperf.

Mike