Bewerken

Delen via


DEVPKEY_NAME (Device Setup Class)

The DEVPKEY_NAME device property represents the name of a device setup class.

Attribute Value
Property key DEVPKEY_NAME
Property-data-type identifier DEVPROP_TYPE_STRING
Property access Read-only access by installation applications and installers
Localized? Yes

Remarks

You can use the value of DEVPKEY_NAME to identify a device setup class to an end-user in a user interface item.

If DEVPKEY_DeviceClass_Name is set, the value of DEVPKEY_NAME is the same as the value of the DEVPKEY_DeviceClass_Name device property. Otherwise, the DEVPKEY_NAME value is the same as the value of the DEVPKEY_DeviceClass_ClassName device property.

You can call CM_Get_Class_Property or SetupDiGetClassProperty to retrieve the value of DEVPKEY_NAME for a device setup class.

Windows Server 2003, Windows XP, and Windows 2000 do not directly support a corresponding name property. However, these earlier versions of Windows do support properties that correspond to DEVPKEY_DeviceClass_Name and DEVPKEY_DeviceClass_ClassName.

Requirements

Version: Windows Vista and later versions of Windows

Header: Devpkey.h (include Devpkey.h)

See also

DEVPKEY_DeviceClass_ClassName

DEVPKEY_DeviceClass_Name

SetupDiGetClassProperty

SetupDiGetClassDescription

SetupDiClassNameFromGuid