Muokkaa

Jaa


DEVPKEY_DeviceClass_Characteristics

The DEVPKEY_DeviceClass_Characteristics device property represents the default device characteristics of all devices in a device setup class.

Attribute Value

Property key

DEVPKEY_DeviceClass_Characteristics

Property-data-type identifier

DEVPROP_TYPE_INT32

Property access

Read-only access by installation applications and installers after a device setup class is installed

Corresponding SPCRP_Xxx identifier

SPCRP_CHARACTERISTICS

Localized?

No

Remarks

DEVPKEY_DeviceClass_Characteristics should only be set when a device setup class is installed and not modified later. For information about how to install a device setup class and setting this property, see INF ClassInstall32 Section and the information about the registry entry value DeviceCharacteristics that is provided in the "Special value-entry-name Keywords" section of INF AddReg Directive.

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

Windows Server 2003 and Windows XP support this property, but do not support the DEVPKEY_DeviceClass_Characteristics property key. On these earlier versions of Windows, you can use the SPCRP_CHARACTERISTICS identifier to access the value of this property. For information about how to access the value of this property, see Retrieving Device Setup Class SPCRP_Xxx Properties.

Requirements

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

See also

IoCreateDevice

INF AddReg Directive

INF ClassInstall32 Section

SetupDiGetClassProperty