Download WinPAC Standard API User Manual

Transcript
8.13. uart_SetTimeOut
This function sets the time out timer.
Syntax
void uart_SetTimeOut(
HANDLE hPort,
DWORD msec,
int ctoType
);
Parameters
hPort
[in] Handle to the open COM port.
msec
[in] millisecond to the timer.
ctoType
[in] Specifies the time out timer type as following:
CTO_TIMEOUT_ALL 0
CTO_READ_RETRY_TIMEOUT 1
CTO_READ_TOTAL_TIMEOUT 2
CTO_WRITE_TOTAL_TIMEOUT 3
Return Values
None
WinPAC Standard API User Manual (WinCE based (eVC & .NET))
143