DeviceInstanceID(设备实例路径)
(2018-04-19 15:50:52)| 分类: 驱动 |
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.
The format of this string consists of an instance ID
concatenated to a device ID, as follows:
\
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.
A device instance ID is persistent across system
restarts.
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
译文:
设备实例ID是系统提供的设备标识字符串,用于唯一标识系统中的设备。即插即用(PnP)管理器将设备实例ID分配给系统设备树中的每个设备节点(devnode)。
该字符串的格式由连接到设备ID的实例ID组成,如下所示:
\
设备实例ID的字符数(不包括空终止符)必须小于MAX_DEVICE_ID_LEN。此限制适用于设备ID和实例特定ID字段之间的所有字段长度和“\”字段分隔符的总和。
设备实例ID在系统重新启动时保持不变。
以下是连接到PCI设备的设备ID的实例ID(“1&08”)的示例:
PCI\VEN_1000&DEV_0001&SUBSYS_00000000&REV_02\1&08
前一篇:TTCPServer三种通讯模式

加载中…