5 Sep
2013
5 Sep
'13
9:31 a.m.
Wolfgang Walter <wine(a)stwm.de> wrote:
WaitCommEvent always returns FALSE when device is opened in overlapped mode.
Not according to MSN documentation of WaitCommEvent():
"If the overlapped operation cannot be completed immediately, the function returns FALSE and the GetLastError function returns ERROR_IO_PENDING, indicating that the operation is executing in the background."
We have the tests for that, MSDN descriptions are proved to be often incorrect or incomplete. -- Dmitry.