newdev.h header

This header is used by Device and Driver Installation Reference. For more information, see:

newdev.h contains the following programming interfaces:

Functions

 
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.
DiInstallDriverA

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. (ANSI)
DiInstallDriverW

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. (Unicode)
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.
DiUninstallDriverA

The DiUninstallDriver function removes a driver package from any devices it is installed on by installing those devices with another matching driver package, if available, or the null driver if no other matching driver package is available. Then the specified driver package is removed from the driver store. (ANSI)
DiUninstallDriverW

The DiUninstallDriver function removes a driver package from any devices it is installed on by installing those devices with another matching driver package, if available, or the null driver if no other matching driver package is available. Then the specified driver package is removed from the driver store. (Unicode)
UpdateDriverForPlugAndPlayDevicesA

Given an INF file and a hardware ID, the UpdateDriverForPlugAndPlayDevices function installs updated drivers for devices that match the hardware ID. (ANSI)
UpdateDriverForPlugAndPlayDevicesW

Given an INF file and a hardware ID, the UpdateDriverForPlugAndPlayDevices function installs updated drivers for devices that match the hardware ID. (Unicode)