DEVPKEY_DeviceClass_Name

The DEVPKEY_DeviceClass_Name device property represents the friendly name of a device setup class.

Attribute Value

Property key

DEVPKEY_DeviceClass_Name

Property-data-type identifier

DEVPROP_TYPE_STRING

Property access

Read-only access by installation applications and installers

Localized?

No

Remarks

The value of DEVPKEY_DeviceClass_Name is set by an INF AddReg directive that is included in the INF ClassInstall32 section that installs the class. To set the friendly name for a class, use an AddReg directive to set the (Default) registry entry value for the class.

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

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_DeviceClass_Name property key. For information about how to access the friendly name of a device setup class on Windows Server 2003, Windows XP, and Windows 2000, see Accessing the Friendly Name and Class Name of a Device Setup Class.

Requirements

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

See also

INF AddReg Directive

INF ClassInstall32 Section

SetupDiGetClassProperty

SetupDiGetClassDescription