none
Overlapped I/O in WEC2013 RRS feed

  • Question

  • The signature of functions at the Stream Driver Interface has changed between WinCE 5.0 and WEC2013. There is an additional parameter hAsyncRef at the functions XXX_Read, XXX_Write, and XXX_IOControl. 

    If you want to use asynchronous I/O you must set a flag FILE_FLAG_OVERLAPPED at the CreateFile function. But the CreateFile documentation for Compact 2013 shows this text.

    This flag is not supported. However, multiple read/write operations pending on a device at a time are supported.

    Is asynchronous I/O actually supported for WEC2013?

    There is source code for some driver in WINCE800\public\oak. The signature of the functions include the hAsyncRef parameter, but no implementation ever uses this parameter.

    Is there any example of a working driver for WEC2013 that supports asynchronous I/O? Does it work at all for stream interface drivers?


    • Edited by Harper23 Friday, January 12, 2018 12:29 PM
    Friday, January 12, 2018 12:28 PM

All replies