SetCommTimeouts (Windows Embedded Compact 7)
1/23/2013
COMMTIMEOUTS
GetCommTimeouts
ReadFile
This function sets the timeout parameters for all read and write operations on a specified communications device.
BOOL SetCommTimeouts( HANDLE hFile, LPCOMMTIMEOUTS lpCommTimeouts );
- hFile
-
[in] Handle to the communications device returned by the CreateFile function.
- lpCommTimeouts
-
[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.
Reference
Serial Communications FunctionsCOMMTIMEOUTS
GetCommTimeouts
Other Resources
CreateFileReadFile