开发者

Obtain USB device hub and port location property

When looking under device manager at a network adapt开发者_如何转开发er settings, the general tab displays a location property such as Port_#0004.Hub_#0005.

How would I go about retreiving this property in either C# or C++?


You can use the SetupDiGetDeviceRegistryProperty function with SPDRP_LOCATION_INFORMATION as Property.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜