INF File Entry Values That Modify Device Properties

The following are the INF file entry values that modify device properties on Windows Vista and later:

For general information about the INF file sections that install device instances, device setup classes, device interface classes, and device interfaces, see the following topics:

INF DDInstall Section

INF ClassInstall32 Section

INF InterfaceInstall32 Section

INF DDInstall.Interfaces Section

INF File Entry Values That Set Corresponding System-Defined Device Properties

Some INF file entry values provide information that Windows uses to set corresponding system-defined device properties. The following are a few examples of device properties whose values are supplied by such INF file entry values:

INF AddReg Directives and INF DelReg Directives That Modify System-Defined Device Properties

Many system-defined device properties have corresponding system-defined registry entry values. For a device property that has a corresponding registry entry value, using an INF AddReg directive to add the corresponding registry entry value sets the corresponding device property. Similarly, using an INF DelReg directive to delete a registry entry value, deletes the corresponding device property.

For example, the following AddReg directive would set the DeviceCharacteristics registry entry value and the corresponding DEVPKEY_Device_Characteristics property for a device instance that is installed by the "Abc_Device_Install.HW" section.

AddReg = Xxx_AddReg

INF AddReg Directives and INF DelReg Directives That Modify Custom Registry Entry Values

Windows Vista and later versions support using the INF AddReg directive and the INF DelReg directive to modify custom registry entry values that represent custom device properties. However, creating custom registry entry values to represent device properties is not supported by the unified device property model. If you create custom registry entry values for a device, you must manage the registry entry values in the same manner as you manage them on Windows Server 2003, Windows XP, and Windows 2000. To simplify the management of custom device properties, you should create device property keys to represent custom device properties instead of creating custom registry entry values.