A device instance ID is a system-supplied device identification string that uniquely identifies a device in the system. The Plug and Play (PnP) manager assigns a device instance ID to each device node (devnode) in a system's device tree.
設備實例ID是系統提供的設備標識字符串,用於唯一標識系統中的設備。 即插即用(PnP)管理器將設備實例ID分配給系統設備樹中的每個設備節點(devnode)。
The format of this string consists of an instance ID concatenated to a device ID, as follows:
<device-ID>\<instance-specific-ID>
該字符串的格式由連接到設備ID的實例ID組成,如下所示:
<設備-ID>\ <實例特定-ID>
The number of characters of a device instance ID, excluding a NULL-terminator, must be less than MAX_DEVICE_ID_LEN. This constraint applies to the sum of the lengths of all the fields and "\" field separator between the device ID and instance-specific-ID fields.
設備實例ID的字符數(不包括空終止符)必須小於MAX_DEVICE_ID_LEN。 此限制適用於設備ID和實例特定ID字段之間的所有字段長度和“\”字段分隔符的總和。
A device instance ID is persistent across system restarts.
設備實例ID在系統重新啟動時保持不變。
The following is an example of an instance ID ("1&08") concatenated to a device ID for a PCI device:
PCI\VEN_1000&DEV_0001&SUBSYS_00000000&REV_02\1&08
以下是連接到PCI設備的設備ID的實例ID(“1&08”)的示例:
PCI \ VEN_1000&DEV_0001&SUBSYS_00000000&REV_02\1&08
https://docs.microsoft.com/en-us/windows-hardware/drivers/install/device-instance-ids