Muokkaa

Jaa


DEVPKEY_DeviceClass_IconPath

The DEVPKEY_DeviceClass_IconPath device property represents an icon list for a device setup class.

Attribute Value

Property key

DEVPKEY_DeviceClass_IconPath

Property-data-type identifier

DEVPROP_TYPE_STRING_LIST

Property access

Read-only access by installation applications and installers

Corresponding registry value name

IconPath

Localized?

No

Remarks

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

A DEVPKEY_DeviceClass_IconPath value is a REG_MULTI_SZ-typed list of icon resource specifiers in the format that is used by the Windows shell. The format of an icon resource specifier is "executable-file-path,resource-identifier," where executable-file-path contains the fully qualified path of the file on a computer that contains the icon resource and resource-identifier specifies an integer that identifies the resource. For example, the icon resource specifier "%SystemRoot%\system32\DLL1.dll,-12" contains the executable file path "%SystemRoot%\system32\DLL1.dll" and the resource identifier "-12".

Windows Server 2003, Windows XP, and Windows 2000 do not support this property. For information about how to access icon information for a device setup class on these versions of Windows, see Accessing Icon Properties of a Device Setup Class.

Requirements

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

See also

SetupDiGetClassProperty

SetupDiLoadClassIcon