Düzenle

Aracılığıyla paylaş


DEVPKEY_Device_SecuritySDS

The DEVPKEY_Device_SecuritySDS device property represents a security descriptor string for a device instance.

Attribute Value

Property key

DEVPKEY_Device_SecuritySDS

Property-data-type identifier

DEVPROP_TYPE_SECURITY_DESCRIPTOR_STRING

Property access

Read and write access by installation applications and installers

Corresponding SPDRP_Xxx identifier

SPDRP_SECURITY_SDS

Localized?

No

Remarks

You can retrieve the value of DEVPKEY_Device_SecuritySDS by calling SetupDiGetDeviceProperty or you can also set his value by calling SetupDiSetDeviceProperty.

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_Device_SecuritySDS property key. Instead, you can use the corresponding SPDRP_SECURITY_SDS identifier to access the value of the property on these earlier versions of Windows. For information about how to access this property value on these earlier versions of Windows, see Accessing Device Instance SPDRP_Xxx Properties.

Requirements

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

See also

SetupDiGetDeviceProperty

SetupDiSetDeviceProperty