Edit

Share via


Newdev.h

This section contains reference topics for the Newdev.h header.

In this section

Topic Description
DiInstallDevice
The DiInstallDevice function installs a specified driver that is preinstalled in the driver store on a specified device that is present in the system.
DiInstallDriver
The DiInstallDriver function preinstalls a driver in the driver store and then installs the driver on devices present in the system that the driver supports.
DiRollbackDriver
The DiRollbackDriver function rolls back the driver that is installed on a specified device.
DiShowUpdateDevice
The DiShowUpdateDevice function displays the Hardware Update wizard for a specified device.
DiUninstallDevice
The DiUninstallDevice function uninstalls a device and removes its device node (devnode) from the system. 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.
Prior to Windows 8 any child devices that are not present at the time of the call will not be uninstalled. However, beginning with Windows 8, any child devices that are not present at the time of the call will be uninstalled.
UpdateDriverForPlugAndPlayDevices
Given an INF file and a hardware ID, the UpdateDriverForPlugAndPlayDevices function installs updated drivers for devices that match the hardware ID.

Send comments about this topic to Microsoft