[wdmaudiodev] Re: update driver

  • From: 若水 <shlikewater@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 18 May 2016 11:32:59 +0800

Hello, I checked c:\windows\inf\setupapi.dev.log file. The log file tell me
that my driver have not cat file, the system inner usb audio driver was
selected. But, I am developing my driver, I cannot get the cat file. How
could I do to install my driver and debug it? Thanks.

Best Regards,
Shang Jing

2016-05-18 10:57 GMT+08:00 若水 <shlikewater@xxxxxxxxx>:

Hello, I am developing an installer for my audio driver (win7 system). All
the progress is successful, I call
config_flags |= CONFIGFLAG_REINSTALL;
bRet = SetupDiSetDeviceRegistryProperty(dev_info,&dev_info_data,
SPDRP_CONFIGFLAGS, (BYTE *)&config_flags,sizeof(config_flags));
if(bRet)
{
   //successful
   return SUCCESS;
}
But, after I plug in my device, the driver was NOT be updated. It still
use the old driver (old driver is system USB Audio driver).
Could you give me some instructions? Thanks.

Best Regards,
Shang Jing

Other related posts: