A version of this page is also available for
This function sets the timeout parameters for all read and write operations on a specified communications device.
[in] Handle to the communications device returned by the CreateFile function.
[in] Long pointer to a COMMTIMEOUTS structure that contains the new time-out values.
Nonzero indicates success. Zero indicates failure. To obtain extended error information, call the GetLastError function.
|Windows Embedded CE||Windows CE 1.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|