Driver's uninstall button is disabled

被刻印的时光 ゝ 提交于 2019-12-01 09:36:17

Im not sure that this is a inf-related problem. Error 0xe0000231 means ERROR_NOT_DISABLEABLE.

You cannot desinstall while it is being used. So the problem should be the disable.

Do you have defined any close/cleanup callbacks?

dr wch

Windows won't allow you disable the device while it has child devices on the fly. The simplest way to uninstall the root device is using DiUninstallDevice.

Reference: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/using-setupapi-to-uninstall-devices-and-driver-packages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!