什么USB设备(友好名称)当前连接到PC? [英] What USB devices (friendly name) are currently connected to PC?

查看:1076
本文介绍了什么USB设备(友好名称)当前连接到PC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以得到一个什么样的设备,目前连接到计算机列表?

Can I get a list of what devices are currently connected to the computer?

我查的这个并的这个线程,但我似乎无法找到实际的名称(如iPod Touch的4等)有没有办法找到人类语言的设备的名称,这样我就可以显示此列表用户(匹配的设备)?

I checked this and this thread, but I can't seem to find the actual names (i.e. iPod Touch 4 etc.) is there a way to find the name of the device in human language, so I can display this list (of matching devices) to the user?

任何PI应该得到这个信息?

Any PI that gets this info?

更新:我注意到,电脑的设备管理能够显示这个信息,这意味着它的某个地方,我只是不知道要访问它在正确的地方。

Update: I notice that the computer's device management is able to show this info, meaning it does exist somewhere, I just don't know the right place to access it.

我没有找到注册表中的该信息,但有万能驱动和iPod的,我正在寻找一个可靠的章之间的一些矛盾。重点寻求这个信息。

I did found this info in the registry, but there is some inconsistency between the "Mighty Drive" and the "iPod", I'm looking for a reliable reg. key to seek for this info.

推荐答案

设备管理器显示与特定设备相关联的第一个显示名称属性。您可以通过获取该信息 SetupDiGetDeviceRegistryProperty 用,我相信,在 SPDRP_FRIENDLYNAME 属性。

Device Manager shows the first "Display Name" property associated with a particular device. You can get that information using SetupDiGetDeviceRegistryProperty with, I believe, the SPDRP_FRIENDLYNAME property.

这篇关于什么USB设备(友好名称)当前连接到PC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆