SetCommTimeouts3w
Usage
BOOL SetCommTimeouts
(
HANDLE hComm,
LPCOMMTIMEOUTS lptimeouts
)
Overview
Sets the timeouts used when reading and writing data to/from COMM ports.
Params
hComm [In] handle of COMM device.
lptimeouts [In] pointer to COMMTIMEOUTS structure.
ReadIntervalTimeout
- converted and passes to Linux(tm) 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.
Returns
TRUE if the timeouts were set, FALSE otherwise.
Implementation
Declared in "winbase.h".
Implemented in "dlls/kernel32/comm.c".
Debug channel "comm".
Releases
6 releases since Debian 2.0 (Hamm); the text changed 5 times.