Click here to Skip to main content
15,912,457 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have a new driver to install it programatically with C# code.
I have used the "UpdateDriverForPlugAndPlayDevices" function, but the driver is installed only when I un-plug and plug my device (USB device) or restart my PC or doing it manually with the device manager.
My question is: is there any method to rescan new devices automatically or is there other functions then the "UpdateDriverForPlugAndPlayDevices" that can do this?

Thanks in advance.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900