Loading mouse filter drivers

Hi
I have a filter driver that filters on mouhid. I have generated the .inf
file to filter on my hid device. In order to install the filter I have to go
to device manager, select my mouse device and update the driver as mentioned
in the DDk documentation under moufilter (sample).

My question, Is there any way I can make this filter driver to load
automatically as and when my device is plugged in!!!

Thanks in advance.

regards,
shivas
(Shiva Shankar .S)
xtn: 5680

**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

You need to have your driver signed for automatic installation with WXP.

“Shiva_Shankar” wrote in message
news:xxxxx@ntdev…
>
> Hi
> I have a filter driver that filters on mouhid. I have generated the .inf
> file to filter on my hid device. In order to install the filter I have to
go
> to device manager, select my mouse device and update the driver as
mentioned
> in the DDk documentation under moufilter (sample).
>
> My question, Is there any way I can make this filter driver to load
> automatically as and when my device is plugged in!!!
>
>
> Thanks in advance.
>
> regards,
> shivas
> (Shiva Shankar .S)
> xtn: 5680
>
>
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
>

>
>

Well, it’s a bit more complicated than that. You have to sign the
driver and also you need to have copied the INF files with your PnP id
using SetupCopyOEMInf.

Otherwise, the HID stack will happily recognize, install, and operate
the device without even looking to see if there’s another driver
available, at least assuming it reports itself as a standard HID mouse
when you plug it in (and if it doesn’t a HID filter won’t do any good).

Maybe there’s some INF scheme for this that I’m not aware of, but I
think the only reasonable option is to have a setup program that
supports both software-first and hardware-first installation. Having
end users doing an UpdateDriver in the device manager isn’t
reasonable, trust me on this one. At least if you ship any quantity
sufficient to make the support call burden unmanageable.

To support software-first, call SetupCopyOEMInf. To support
hardware-first, call UpdateDriverForPlugAndPlayDevices.

Frank T. Clark wrote:

You need to have your driver signed for automatic installation with WXP.

“Shiva_Shankar” wrote in message
> news:xxxxx@ntdev…
>
>>Hi
>>I have a filter driver that filters on mouhid. I have generated the .inf
>>file to filter on my hid device. In order to install the filter I have to
>
> go
>
>>to device manager, select my mouse device and update the driver as
>
> mentioned
>
>>in the DDk documentation under moufilter (sample).
>>
>>My question, Is there any way I can make this filter driver to load
>>automatically as and when my device is plugged in!!!
>>
>>
>>Thanks in advance.
>>
>>regards,
>>shivas
>>(Shiva Shankar .S)
>>xtn: 5680
>>
>>
>>This email (including any attachments) is intended for the sole use of the
>>intended recipient/s and may contain material that is CONFIDENTIAL AND
>>PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
>
> or
>
>>distribution or forwarding of any or all of the contents in this message
>
> is
>
>>STRICTLY PROHIBITED. If you are not the intended recipient, please contact
>>the sender by email and delete all copies; your cooperation in this regard
>>is appreciated.
>>

>>
>>
>
>
>
>
>


…/ray..