May 9th, 2013, 01:35 AM
WinUSB interface GUID and vid/pid clarification
I am working on an app that uses USB protocol to implement HDLC protocol for exchanging messages between our GUI PC app and the traffic controller.
I am using WinUSB function driver and its API to talk to USB devices. I am a bit confused about the meaning of a device interface GUID and vid/pid specified in .inf file like this;
Is this correct to say that:
%DeviceName% =USB_Install, USB\VID_045E&PID_930A ; Intel 82930
1) When I plug in a device(s) with vid/pid specified in .inf file Windows will associate the interface GUID with that device(s) and will load WinUSB (Winusb.sys) function driver (also specified in .inf file) and from then I can use the “SetupDi” family API to enumerate all plugged in devices with specified vid/pid , open them and send/receive the data to/from them.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.