Muokkaa

Jaa


DEVPKEY_DeviceClass_Exclusive

The DEVPKEY_DeviceClass_Exclusive device property represents a Boolean flag that indicates whether devices that are members of a device setup class are exclusive devices.

Attribute Value

Property key

DEVPKEY_DeviceClass_Exclusive

Property-data-type identifier

DEVPROP_TYPE_BOOLEAN

Property access

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

Corresponding SPCRP_Xxx identifier

SPCRP_EXCLUSIVE

Localized?

No

Remarks

You can set the value of DEVPKEY_DeviceClass_Exclusive when an installation application installs a device setup class. For information about how to install a device setup class and setting this property, see INF ClassInstall32 Section and the information about the registry value Exclusive 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_Exclusive.

Windows Server 2003 and Windows XP support this property, but do not support the DEVPKEY_DeviceClass_Exclusive property key. On these earlier versions of Windows, you can use the SPCRP_EXCLUSIVE 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

INF AddReg Directive

INF ClassInstall32 Section

SetupDiGetClassProperty