EZ-USB.SYS Does not Support Overlapped I/O

Question: I am trying to do overlapped I/O for the DeviceIoControl call. It is performing CreateFile calls with the file overlapped flag. The problem is that the code in DeviceIoControl never exits, even though it is called with the overlapped I/O flag. Could it be that there is no support for that in the ezusb.sys driver?

 

Answer:

The ezusb.sys driver is a synchronous driver and does not support overlapped I/O. Therefore, your DeviceIoControl call never exits.