DEVPKEY_Device_UINumberDescFormat

The DEVPKEY_Device_UINumberDescFormat device property represents a printf-compatible format string that you should use to display the value of the DEVPKEY_DEVICE_UINumber device property for a device instance.

Attribute Value

Property key

DEVPKEY_Device_UINumberDescFormat

Property-data-type identifier

DEVPROP_TYPE_STRING

Property access

Read and write access by installation applications and installers

Corresponding SPDRP_Xxx identifier

SPDRP_UI_NUMBER_DESC_FORMAT

Localized?

No

Remarks

You can retrieve the value of DDEVPKEY_Device_UINumberDescFormat by calling SetupDiGetDeviceProperty or you can also set this value by calling SetupDiSetDeviceProperty.

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_Device_UINumberDescFormat property key. Instead, you can use the corresponding SPDRP_UI_NUMBER_DESC_FORMAT identifier to access the value of the property on these earlier versions of Windows. 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

INF AddReg Directive

INF DDInstall.HW Section

SetupDiGetDeviceProperty

SetupDiSetDeviceProperty