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;
Code:
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{00873fdf-61a8-11d1-aa5e-00c04fb1728b}"
 [Standard.NTamd64]
%DeviceName% =USB_Install, USB\VID_045E&PID_930A   ; Intel 82930
Is this correct to say that:
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.