If SetupDiRemoveDevice is called during the processing of the DIF_REMOVE request, the function removes the device's devnode from the system. For a list of all DIF codes, see Device Installation Functions. When the application calls this function to uninstall a device, it must set the InstallFunction parameter to the DIF_REMOVE code. SetupAPI allows you to uninstall a device and remove the device node ( devnode) from the system by using the following methods:Ī device installation application can request that a device be uninstalled by calling the SetupDiCallClassInstaller function. This topic describes the procedures that you can follow to uninstall devices and driver packages by using the SetupAPI functions.įor more information about uninstalling driver and driver packages, see How Devices and Driver Packages are Uninstalled. SetupAPI also supports uninstalling the devices and driver packages that it installs. SetupAPI is a system component that provides various sets of functionality, including Device installation functions.ĭevice installation applications, co-installers, and class installers can use these functions to perform custom operations for device installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |