DEVPKEY_Device_LocationPaths

DEVPKEY_Device_LocationPaths设备属性表示设备树中设备实例的位置。

Attribute

属性键

DEVPKEY_Device_LocationPaths

Property-data-type identifier

DEVPROP_TYPE_STRING_LIST

安装应用程序和安装程序的只读访问权限

相应的 SPDRP_Xxx标识符

SPDRP_LOCATION_PATHS

本地化?

备注

Windows 设置DEVPKEY_Device_LocationPaths的值。

可以调用 CM_Get_DevNode_PropertySetupDiGetDeviceProperty 来检索 DEVPKEY_Device_LocationPaths 的值。

Windows Server 2003 支持此属性,但不支持DEVPKEY_Device_LocationPaths属性键。 相反,你可以使用相应的SPDRP_LOCATION_PATHS标识符来访问 Windows Server 2003 上 属性的值。 有关如何在 Windows Server 2003 上访问此属性值的信息,请参阅 访问设备实例SPDRP_Xxx属性

要求

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

另请参阅

SetupDiGetDeviceProperty