How to bind a file handle with Cypress usb endpoint? | Cypress Semiconductor
How to bind a file handle with Cypress usb endpoint?
I create a file handle for cypress device using CreateFile.
rx=CreateFile(devpath, GENERIC_READ, FILE_SHARE_READ,NULL,OPEN_EXSITING,0,NULL).
Now I want to bind the handle 'rx' with a specific usb endpoint, say 0x81.
But I didn't find IOCTL_xxx code that can bind a handle with a endpoint in cyioctl.h.
And there is no example codes in cypress's website. How can I achieve this?