DEVPKEY_DeviceClass_SecuritySDS

DEVPKEY_DeviceClass_SecuritySDS设备属性表示 设备安装类的安全描述符字符串。

Attribute

属性键

DEVPKEY_DeviceClass_SecuritySDS

Property-data-type identifier

DEVPROP_TYPE_SECURITY_DESCRIPTOR_STRING

安装应用程序和安装程序的读取和写入访问权限

相应的 SPCRP_Xxx标识符

SPCRP_SECURITY_SDS

本地化?

备注

可以在安装应用程序安装设备安装程序类期间或之后设置 DEVPKEY_DeviceClass_SecuritySDS 的值。 有关如何设置此属性的详细信息,请参阅 创建安全设备安装

可以通过调用 CM_Get_Class_Property 或 SetupDiGetClassProperty 来检索DEVPKEY_DeviceClass_SecuritySDS的值。 可以通过调用 CM_Set_Class_Property 或 SetupDiSetClassProperty 来设置DEVPKEY_DeviceClass_SecuritySDS

Windows Server 2003 和 Windows XP 支持此属性,但不支持DEVPKEY_DeviceClass_SecuritySDS属性键。 在这些早期版本的 Windows 上,可以使用 SPCRP_SECURITY_SDS 标识符访问此属性的值。 有关如何访问此属性的值的信息,请参阅 检索设备安装程序类SPCRP_Xxx属性设置设备安装程序类SPCRP_Xxx属性

要求

版本:Windows Vista 和更高版本的 Windows 标头:Devpkey.h (包括 Devpkey.h)

另请参阅

SetupDiGetClassProperty

SetupDiSetClassProperty