设备 ID 和 PNP 设备 ID 之间的区别
有人可以解释一下这两个术语之间的区别吗,当我尝试
从 Win32_AllocationResource()
打印结构时,我可以找到 pnp device id
(类似于 PCI\ \VEN_...
) 当我尝试从 Win32_IDEControllerDevice()
打印结构时,我可以找到 device id
(类似于 IDE\\CDROM...
)
但有什么区别为什么我需要它们
?提前致谢
can somebody please explain difference between those two terms, when I'm trying to print
structs from Win32_AllocatedResource()
I can find pnp device id
(something like PCI\\VEN_...
)
and when I'm trying to print structs from Win32_IDEControllerDevice()
I can find device id
(something like IDE\\CDROM...
)
but what is the difference why do I need both of them
? thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Win32_AllocationResource 为您提供将给定资源(例如 DMA 起始地址)分配给某些“设备”(或“对象”)的功能,当 ResultClass = Win32_IDEController 时,该“设备”就是控制器。
Win32_IDEControllerDevice 为您提供连接到某个控制器的“设备”(或“对象”)列表,Antecedent 键是控制器的 DeviceID,而 Dependent 键是控制器的 DeviceID >存储单元。
Win32_AllocatedResource gives you the assignment of a given resource (e.g. a DMA starting address) to some "device" (or "object"), which when ResultClass = Win32_IDEController, is the controller.
Win32_IDEControllerDevice gives you the list of "devices" (or "object") that are connected to a certain controller, the Antecedent key is the DeviceID of the controller whereas the Dependent key is the DeviceID of the storage unit.