简体   繁体   English

PNPDeviceID值是什么意思?

[英]What is the meaning of PNPDeviceID value?

I am trying to find a globally unique identifier of video cards. 我试图找到一个全球唯一的视频卡标识符。 So I using wmi to find it then I choose PNPDeviceID which seems to be what I need. 所以我使用wmi找到它然后我选择PNPDeviceID,这似乎是我需要的。

But I am not sure whether it is globally unique among lots of computers. 但我不确定它在众多计算机中是否具有全球独特性。 So I want to check the value of PNPDeviceID. 所以我想检查一下PNPDeviceID的值。

The wmic command used is: 使用的wmic命令是:

wmic path win32_videocontroller get PNPDeviceID

The PNPDeviceID is like: PNPDeviceID如下:

PCI\\VEN_10DE&DEV_1245&SUBSYS_00007377&REV_A1\\4&1DDDA1E7&0&0008 PCI \\ VEN_10DE&DEV_1245&SUBSYS_00007377&REV_A1 \\ 4 1DDDA1E7&0&0008

I guess Ven_10DE is vender id, dev_1245 is device id, subsys_00007377 is a subsystem id, rev_a1 is revision id. 我猜Ven_10DE是供应商ID,dev_1245是设备ID,subsys_00007377是子系统ID,rev_a1是修订版ID。

But what subsystem means? 但子系统意味着什么? What is the meaning of "4&1DDDA1E7&0&0008" and "PCI"? “4&1DDDA1E7&0&0008”和“PCI”是什么意思?

Thank you! 谢谢!

PCI is a bus identifier. PCI是总线标识符。 It refers to the PCI family of buses, which currently means PCI express (PCIe). 它指的是PCI系列总线,目前意味着PCI Express(PCIe)。 You also might see USB here. 您也可以在这里看到USB。 (Not very common for video, but possible). (视频不常见,但可能)。

The other bits are just internal parameters to Windows, and have no guaranteed meaning. 其他位只是Windows的内部参数,没有保证意义。 Generally, you expect a few bits here which would allow Windows to figure out it's a video card, and how that card is connected to the system (This tends to be more important for USB; USB hubs can form complex trees with 5 levels and 127 devices). 一般来说,你希望这里有几位可以让Windows知道它是一个视频卡,以及该卡如何连接到系统(这对于USB来说更为重要; USB集线器可以形成5级和127级的复杂树设备)。

Given that, it's fairly obvious there are not nearly enough bits in there to have a globally unique ID. 鉴于此,相当明显的是,没有足够的位来拥有全局唯一ID。 Also: in the Microsoft world, a globally unique ID is a GUID, and recognizable as such. 另外:在Microsoft世界中,全局唯一ID是GUID,并且可以识别。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM