Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
The DEVPKEY_Device_InstanceId device property represents the device instance identifier of a device.
| Attribute | Value |
|---|---|
Property key |
DEVPKEY_Device_InstanceId |
Property-data-type identifier |
|
Property access |
Read-only access by installation applications and installers. |
Localized? |
No |
Remarks
The value of DEVPKEY_Device_InstanceId is set internally by Windows during the installation of a device instance.
You can call CM_Get_DevNode_Property or SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_Device_InstanceId for a device instance.
Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_Device_InstanceId property key. For information about how to retrieve a device instance identifier on these earlier versions of Windows, see Retrieving a Device Instance Identifier.
Requirements
Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)