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.