Hello,

I am writing a filter driver for a USB device.
I have followed the DDK instructions and produced an INF that installs
the driver.
However, The installation takes effect only after I restart the machine.
Is there a way to install (and uninstall) a driver without the need for
restart?

The device for which the filter driver was written is installed and
running at the time I execute the filter driver installation.
This means that the device stack has to be restarted somehow.

How can this be done?

Thanks,
Nir

Re: How to install a filter driver without restart? by Walter

Walter
Fri Sep 17 11:33:21 CDT 2004

nir1408 wrote:
> The device for which the filter driver was written is installed and
> running at the time I execute the filter driver installation.
> This means that the device stack has to be restarted somehow.

You need to disable and re-enable the device. The DEVCON sample in the
DDK will show you how to do this.

--
Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at http://www.oneysoft.com

Re: How to install a filter driver without restart? by nir1408

nir1408
Fri Sep 17 12:17:57 CDT 2004

Walter Oney wrote:

> nir1408 wrote:
>
>>The device for which the filter driver was written is installed and
>>running at the time I execute the filter driver installation.
>>This means that the device stack has to be restarted somehow.
>
>
> You need to disable and re-enable the device. The DEVCON sample in the
> DDK will show you how to do this.
>
> --
> Walter Oney, Consulting and Training
> Basic and Advanced Driver Programming Seminars
> Check out our schedule at http://www.oneysoft.com

Thanks Walter,
I have your book right next to my keyboard. It helped me clarify several
points that the DDK left un-answered. Thanks to you I have a stable
and reasonably solid driver.

Nir

Re: How to install a filter driver without restart? by wang

wang
Sat Sep 18 09:36:38 CDT 2004

could you send me your code ?
my mail:sirwangli@21cn.com

Thanks

Re: How to install a filter driver without restart? by Dave

Dave
Sat Sep 18 18:48:11 CDT 2004

Hey Walter while your at it could you send me one of your paychecks?

Dave :-)

"wang" <wangli111222@hotmail.com> wrote in message
news:Xns9568E816DF9F3wangli111222hotmailc@207.46.248.16...
> could you send me your code ?
> my mail:sirwangli@21cn.com
>
> Thanks