SetCommTimeouts(3w)

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.

  1. 2.0
  2. 2.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.