Muokkaa

Jaa


DEVPKEY_DeviceClass_Security

The DEVPKEY_DeviceClass_Security device property represents a security descriptor structure for a device setup class.

Attribute Value

Property key

DEVPKEY_DeviceClass_Security

Property-data-type identifier

DEVPROP_TYPE_SECURITY_DESCRIPTOR

Property access

Read and write access by installation applications and installers

Corresponding SPCRP_Xxx identifier

SPCRP_SECURITY

Localized?

No

Remarks

You can set the value of DEVPKEY_DeviceClass_Security either during or after an installation application installs a device setup class. For more information about how to set this property, see Creating Secure Device Installations.

You can retrieve the value of DEVPKEY_DeviceClass_Security by calling CM_Get_Class_Property or SetupDiGetClassProperty. You can set DEVPKEY_DeviceClass_Security by calling CM_Set_Class_Property or SetupDiSetClassProperty.

Windows Server 2003 and Windows XP support this property, but do not support the DEVPKEY_DeviceClass_Security property key. On these earlier versions of Windows, you can use the SPCRP_SECURITY 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 and Setting Device Setup Class SPCRP_Xxx Properties.

Requirements

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

See also

SetupDiGetClassProperty

SetupDiSetClassProperty