![]() This element represents the device to be uninstalled through this call.Ī pointer to an SP_DEVINFO_DATA structure that represents the specified device in the specified device information set for which the uninstallation request is performed.Ī value of type DWORD that specifies device uninstallation flags. This parameter is optional and can be set to NULL.Ī handle to the device information set that contains a device information element. Syntax BOOL DiUninstallDevice(Ī handle to the top-level window that is used to display any user interface component that is associated with the uninstallation request for the device. ![]() ![]() However, beginning with Windows 8, any child devices that are not present at the time of the call will be uninstalled. Prior to Windows 8 any child devices that are not present at the time of the call will not be uninstalled. This differs from using SetupDiCallClassInstaller with the DIF_REMOVE code because it attempts to uninstall the device node in addition to child devnodes that are present at the time of the call. The DiUninstallDevice function uninstalls a device and removes its device node ( devnode) from the system.
0 Comments
Leave a Reply. |