use COMMTIMEOUTS for non-overlapped ReadFile

Mike McCormack mike_mccormack at
Wed Dec 19 03:02:31 CST 2001

Currently nonoverlapped ReadFile on COM ports is broken. It busy loops
without timing out. This fix uses ReadFileEx and GetOverlappedResult
to implement timeout in ReadFile (for COM ports only).


* implement timed-out non-overlapped ReadFile

mailto:Mike_McCormack at
ph +82 16 430 0425

Get your free Australian email account at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timeout_read.diff
Type: application/octet-stream
Size: 1520 bytes
Desc: not available
Url :

More information about the wine-patches mailing list