You will get clues here:
The Issue about install device driver
涛 王
71
Reputation points
Create a program that can install a driver of device.
following are testing steps:
- Open device manager and then uninstall Realtek(R) Audio driver.
- Running test program, it return failed when install driver.
- I retry above step1, and manual click the Scan For Hardware Changes.
- Running my test program, it return succ.
Based on the above test analysis, i have enhance my test program.
Before execuate insatll , program call the CM_Locate_DevNode and CM_reenumrate_DevNode functions.
Then, execuate install process. However, the result was not what I expected and still failed.
Can you give me some advice?