same filter driver for 2 classes

I have a very simple filter driver that I need to install for 2 different classes. Is it possible to use the same inf file to install the driver for both the classes? Thank you.

Yes, just put multiple entries into the AddReg section eg:

[ClassFilter_AddReg]
HKLM, System\CurrentControlSet\Control\Class{36FC9E60-C465-11CF-8056-444553540000},
LowerFilters, 0x00010008, myfilter
HKLM, System\CurrentControlSet\Control\Class{4D36E978-E325-11CE-BFC1-08002BE10318},
UpperFilters, 0x00010008, myfilter

On Fri, Oct 1, 2010 at 8:02 PM, wrote:
> I have a very simple filter driver that I need to install for 2 different classes. Is it possible to use the same inf file to install the driver for both the classes? Thank you.
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>