加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

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

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有