From: Ilya Konstantinov on
In the kbfiltr and moufiltr samples, the INF file seems really
contrived. Instead of simply installing a service and adding the
UpperFilters entry to the class registry key, e.g.:

[CellebriteFilter_AddReg]
HKLM, %CLASSKEY%, UpperFilters, 0x00010008, cbrtfltr

[Strings]
CLASSKEY = System\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-
BFC1-08002BE10318}

.... it makes sure to install the keyboard/mouse drivers by including
MS keyboard.inf/msmouse.inf, and then I have to essentially install my
filter driver as-if it was a function driver (through the "Update
Driver" dialog, if I choose to do it manually). This is what the
kbfiltr.htm/moufiltr.htm files instruct me to do as well.

My question is -
Why make it so much more complicated?
Why is it up to the filter driver to ensure the function driver is
installed?
From: Doron Holan [MSFT] on
the filter drivers are examples of device filters, not class filters,
although they can be used as class filters

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"Ilya Konstantinov" <ilya.konstantinov(a)gmail.com> wrote in message
news:1502982e-3ff5-44dd-bdcd-055d7fb2efc6(a)h27g2000yqm.googlegroups.com...
> In the kbfiltr and moufiltr samples, the INF file seems really
> contrived. Instead of simply installing a service and adding the
> UpperFilters entry to the class registry key, e.g.:
>
> [CellebriteFilter_AddReg]
> HKLM, %CLASSKEY%, UpperFilters, 0x00010008, cbrtfltr
>
> [Strings]
> CLASSKEY = System\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-
> BFC1-08002BE10318}
>
> ... it makes sure to install the keyboard/mouse drivers by including
> MS keyboard.inf/msmouse.inf, and then I have to essentially install my
> filter driver as-if it was a function driver (through the "Update
> Driver" dialog, if I choose to do it manually). This is what the
> kbfiltr.htm/moufiltr.htm files instruct me to do as well.
>
> My question is -
> Why make it so much more complicated?
> Why is it up to the filter driver to ensure the function driver is
> installed?

 | 
Pages: 1
Prev: ndis reset.
Next: setupapi log file