Porting some legacy code (EzUSB on XP -> CyAPI 3.4.7 on Windows 7) | Cypress Semiconductor
Porting some legacy code (EzUSB on XP -> CyAPI 3.4.7 on Windows 7)
I inherited some old code talking to a USB controller. The code uses DeviceIoControl to talk to the device, with self constructed io_ctl codes. The old driver (ezusb.sys) only works on XP and the new cypress driver which does work on Windows 7 has a different interface. So I have a problem..
I've never done anything with usb, so I'm a bit lost how to translate the old interface to the new one can anyone help me out with this?
I've summerized the DeviceIoControl calls here (there's only three types):
I'm going to use the CyUSB API by the way, so things are probably/hopefully quite straightforward.
Thanks in advance,