Installing a driver without restart

How can i unload the exisiting driver from the memory and load a new driver WITHOUT user intervention from an application? Target OS is 2k and the device is pnp.

Thanks in Advance,
Giri.

Checkout the DEVCON sample in the latest DDK.


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“Seshagiri Babu K V” wrote in message news:xxxxx@ntdev…
How can i unload the exisiting driver from the memory and load a new driver WITHOUT user intervention from an application? Target OS is 2k and the device is pnp.

Thanks in Advance,
Giri.

Look at the devcon example in the DDK. It shows how to install, uninstall, disable, enable, etc device stacks.

D

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

From: Seshagiri Babu K V [mailto:xxxxx@sasken.com]
Sent: Wednesday, February 05, 2003 6:18 AM
To: NT Developers Interest List
How?can i unload the exisiting driver from the memory and load a new driver?WITHOUT user intervention from an application? Target OS is 2k and the device is pnp.
?
Thanks in Advance,
Giri.

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com