Convert To CyAPI

Question: What are the changes required to convert from ezusb.sys to the CyAPI method and use CyUSB.sys?

 

Answer:

We have an unsupported application available that could be used as a reference to understand the changes required to convert from ezusb.sys to CyAPI method and use CyUSB.sys. In this application the lines of code which have been avoided due to the usage of CyAPI.lib have been commented using //<> followed/preceded by the actual line of code. Lines which are added as a result of using CyAPI.lib can be found in between //<>s. Please find the application project attached with this article.