开发者

How to get the device manufacturer name attached to the serial port

I want to know a method in Win32 to get the device manufacturer name attached with the serial port.

I have already tried the SetupDiGetDeviceRegistryProperty API with the SPDRP_MFG option but getting manufacturer name which is mentioned by the driver. What I want manufacturer name associate开发者_高级运维d with the device not with the driver.

My Device is a USB device and appearing as a USB Serial Port(COM4) in the device manager.

Thanks


A serial device does not send this type of meta data to the computer. There is no hand-shaking done like in a USB connection where the device identifies itself. With a serial device, the computer just starts sending or receiving data.


Run the USBView sample which comes with the WDK to get the manufacturer name and other information about the USB devices.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜