WaitCommEvent (KERNEL32.@)
BOOL WaitCommEvent ( HANDLE hFile, LPDWORD lpdwEvents, LPOVERLAPPED lpOverlapped )
hFile | [In] | handle of comm port to wait for. |
lpdwEvents | [Out] | event(s) that were detected. |
lpOverlapped | [In/Out] | for Asynchronous waiting. |
Wait until something interesting happens on a COMM port. Interesting things (events) are set by calling SetCommMask before this function is called.
TRUE if successful FALSE if failure.
The set of detected events will be written to *lpdwEventMask ERROR_IO_PENDING will be returned the overlapped structure was passed.
BUGS: Only supports EV_RXCHAR and EV_TXEMPTY
Defined in "winbase.h".
Implemented in "dlls/kernel32/comm.c". source.winehq.org/source/dlls/kernel32/comm.c
Debug channel "comm".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.