Share via

The Issue about install device driver

涛 王 76 Reputation points
2022-06-20T06:30:07.35+00:00

Create a program that can install a driver of device.

following are testing steps:

  1. Open device manager and then uninstall Realtek(R) Audio driver.
  2. Running test program, it return failed when install driver.
  3. I retry above step1, and manual click the Scan For Hardware Changes.
  4. 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++
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
  1. S.Sengupta 30,906 Reputation points MVP Volunteer Moderator
    2022-06-30T01:52:34.047+00:00

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.