[wdmaudiodev] Re: install Audio Driver

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: 若水 <shlikewater@xxxxxxxxx>, "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 17 May 2016 15:44:48 +0000

Check c:\windows\inf\setupapi.dev.log for detailed logs on what went wrong.

From: 若水<mailto:shlikewater@xxxxxxxxx>
Sent: Tuesday, May 17, 2016 5:03 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] install Audio Driver

Hello, I am developing an installer for my audio driver (Win7 system). I call 
UpdateDriverForPlugAndPlayDevices function, but it always return 
ERROR_NO_MORE_ITEMS.  I had set the INSTALLFLAG_FORCE flag. I don't know why. 
My code is
bRet = UpdateDriverForPlugAndPlayDevices(NULL,
"USB\\VID_0D18&PID_1004&MI_00",
infPath,
INSTALLFLAG_FORCE,
&reboot);
I checked the hardware Id, there is no problem. please refer to the 
hardwareid.png.
Could you give me some instructions? Thanks.

Best Regards,
Shang Jing

Other related posts: