Edit

DEVPKEY_DeviceClass_NoInstallClass

The DEVPKEY_DeviceClass_NoInstallClass device setup class property represents a Boolean flag that controls whether devices in a device setup class are displayed in the Add Hardware Wizard.

Attribute Value

Property key

DEVPKEY_DeviceClass_NoInstallClass

Property-data-type identifier

DEVPROP_TYPE_BOOLEAN

Property access

Read-only access by installation applications and installers

Corresponding registry value name

NoInstallClass

Localized?

No

Remarks

Setting the value of DEVPKEY_DeviceClass_NoInstallClass to DEVPROP_TRUE indicates that installation of devices in the class does not require end-user interaction. If this value is not set to DEVPROP_TRUE, the Add Hardware Wizard does display devices for the device setup class.

The NoInstallClass registry value for a device setup class can be set by an INF AddReg directive that is included in the INF ClassInstall32 section of the INF file that installs the class.

You can call CM_Get_Class_Property or SetupDiGetClassProperty to retrieve the value of DEVPKEY_DeviceClass_NoInstallClass.

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_DeviceClass_NoInstallClass property key. You can access the value of this property by accessing the corresponding NoInstallClass registry value under the class registry key. For information about how to access value entries under the class registry key, see Accessing Registry Entry Values Under the Class Registry Key.

Requirements

Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)

See also

INF AddReg Directive

INF ClassInstall32 Section

SetupDiGetClassProperty