DEVPKEY_Device_DeviceDesc

The DEVPKEY_Device_DeviceDesc device property represents a description of a device instance.

Attribute Value

Property key

DEVPKEY_Device_DeviceDesc

Property-data-type identifier

DEVPROP_TYPE_STRING

Property access

Read-only access by installation applications and installers

Corresponding SPDRP_Xxx identifier

SPDRP_DEVICEDESC

Localized?

Yes

Remarks

The value of DEVPKEY_Device_DeviceDesc is set by the device-description entry value that is supplied by the INF Models section of the INF file that installs a device.

You can call CM_Get_DevNode_Property or SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_DEVICE_DeviceDesc.

You can retrieve the value of the DEVPKEY_NAME device instance property to retrieve the name of the device as it should appear in a user interface item.

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_Device_DeviceDesc property key. Instead, these earlier versions of Windows use the corresponding SPDRP_DEVICEDESC identifier to access the value of the property. For information about how to access this property value on these earlier versions of Windows, see Accessing Device Instance SPDRP_Xxx Properties.

Requirements

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

See also

DEVPKEY_NAME (Device Instance)

INF Models Section

SetupDiGetDeviceProperty