K
Kevin JM Liang
Guest
I am using SetupAPI DiInstallDriver to install a driver.
It works fine when there is no driver installed.
But, it failed with error code 0x103 (259) when a same driver is already installed, even with DIIRFLAG_FORCE_INF flag is set.
There is no explanation on this error code in the page of DiInstallDriver/DiInstallDriverA/DiInstallDriverW.
In System Error Codes, it only refers to ERROR_No_MORE_ITEMS, no more data is availale.
When 0x103(259) is returned during a same driver force installation, it is said 'Device does not need an update. No better matching drivers found for device' in setupapi.dev.log.
Question:
1. Does 0x103(259) only indicate the scenario where there is already a better driver installed?
2. If answer is No for #1, what are the other scenarios which can be indicated by 0x103(259) for DiInstallDriver?
3. How can I determine by return code of DiInstallDriver that there is already a better driver installed and the new driver is not installed?
Thanks.
Continue reading...
It works fine when there is no driver installed.
But, it failed with error code 0x103 (259) when a same driver is already installed, even with DIIRFLAG_FORCE_INF flag is set.
There is no explanation on this error code in the page of DiInstallDriver/DiInstallDriverA/DiInstallDriverW.
In System Error Codes, it only refers to ERROR_No_MORE_ITEMS, no more data is availale.
When 0x103(259) is returned during a same driver force installation, it is said 'Device does not need an update. No better matching drivers found for device' in setupapi.dev.log.
Question:
1. Does 0x103(259) only indicate the scenario where there is already a better driver installed?
2. If answer is No for #1, what are the other scenarios which can be indicated by 0x103(259) for DiInstallDriver?
3. How can I determine by return code of DiInstallDriver that there is already a better driver installed and the new driver is not installed?
Thanks.
Continue reading...