DEVPKEY_Device_LocationPaths
DEVPKEY_Device_LocationPaths裝置屬性代表裝置樹狀結構中裝置實例的位置。
屬性 | 值 |
---|---|
屬性索引鍵 |
DEVPKEY_Device_LocationPaths |
Property-data-type 標識符 |
|
屬性存取 |
安裝應用程式和安裝程式的唯讀存取權 |
對應SPDRP_Xxx標識符 |
SPDRP_LOCATION_PATHS |
當地語系化? |
No |
備註
Windows 會設定DEVPKEY_Device_LocationPaths的值。
您可以呼叫 CM_Get_DevNode_Property 或 SetupDiGetDeviceProperty 來擷取DEVPKEY_Device_LocationPaths的值。
Windows Server 2003 支援此屬性,但不支援DEVPKEY_Device_LocationPaths屬性索引鍵。 相反地,您可以使用對應的SPDRP_LOCATION_PATHS標識符來存取 Windows Server 2003 上的 屬性值。 如需如何在 Windows Server 2003 上存取這個屬性值的資訊,請參閱 存取裝置實例SPDRP_Xxx屬性。
需求
版本:Windows Vista 和更新版本的 Windows 標頭:D evpkey.h (包括 Devpkey.h)