same driver installed as filter driver to more than one class

same driver installed as filter driver to more than one class

Post by John » Fri, 21 Jan 2005 14:11:51


Hi,

I have a WDM filter driver (say busguard.sys). I installed this driver
as upper filter driver to the following classes

1. PCMCIA Adapters
2. IDE ATA/ATAPI controllers

Is there any problem in installing same driver as filter to more than
one classes. How many times my driver will be loaded to memory.


John
 
 
 

same driver installed as filter driver to more than one class

Post by Doron Hola » Sat, 22 Jan 2005 01:01:44

your driver image will be loaded once. your AddDevice routine will be
loaded for every instance of a device in each of the classes. there is
usually no problem doing this, but if there are different rules for each
class, you must account for them in the driver in the same code base.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.