You will get clues here:
The Issue about install device driver
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?
Windows for business | Windows Client for IT Pros | Devices and deployment | Other
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
1 answer
Sort by: Most helpful
-
S.Sengupta 30,906 Reputation points MVP Volunteer Moderator
2022-06-30T01:52:34.047+00:00