SetCommTimeouts (KERNEL32.@)
BOOL SetCommTimeouts ( HANDLE hComm, LPCOMMTIMEOUTS lptimeouts )
Sets the timeouts used when reading and writing data to/from COMM ports.
| hComm | [In] | handle of COMM device. |
| lptimeouts | [In] | pointer to COMMTIMEOUTS structure. |
| ReadIntervalTimeout | ||
|
- converted and passes to Linux® kernel as c_cc | [VTIME] | |
| ReadTotalTimeoutMultiplier, ReadTotalTimeoutConstant | ||
|
- used in ReadFile to calculate GetOverlappedResult's timeout | ||
| WriteTotalTimeoutMultiplier, WriteTotalTimeoutConstant | ||
|
- used in WriteFile to calculate GetOverlappedResult's timeout. |
TRUE if the timeouts were set, FALSE otherwise.
Defined in "winbase.h".
Implemented in "dlls/kernel/comm.c". source.winehq.org/source/dlls/kernel/comm.c
Debug channel "comm".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.