Win2K SCSI Port filter and PNP

Hi all,

I ported a non-PNP SCSI port filter that I developed for Windows NT under
2000. The driver is not using the AddDevice() function but I call
IoAttachDeviceToDeviceStack() for every device object that I want to filter
in the DriverEntry().
So far the filter has been working great except for one problem: every time
I try to unplug a system resource (even one I’m not filtering: like a Smart
Media PCMCIA adapter) the system says it can’t because another application
is using it.
I went ahead and added a PNP and POWER IRPs handling very similar to the one
found in the Microsoft Cdaudio example but it’s still showing the same

Any thoughts?



You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)