Visible to Intel only — GUID: GUID-646728FB-F735-4313-B690-A9D5DB90686E
Visible to Intel only — GUID: GUID-646728FB-F735-4313-B690-A9D5DB90686E
SPORT_GET_TIMEOUTS
Serial Port I/O Function: Returns the user selectable timeouts for the serial port. This routine is only available for Windows.
Module
USE IFPORT
result = SPORT_GET_TIMEOUTS (port [,rx_int] [,tx_tot_mult] [,tx_tot_const])
port |
(Input) Integer. The port number. |
rx_int |
(Output; optional) INTEGER(4). The receive interval timeout value. |
tx_tot_mult |
(Output; optional) INTEGER(4). The transmit multiplier part of the timeout value. |
tx_tot_const |
(Output; optional) INTEGER(4). The transmit constant part of the timeout value. |
Results
The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows* error value.
Example
USE IFPORT
INTEGER(4) iresult
INTEGER*4 rx_int
INTEGER*4 tx_tot_mult
INTEGER*4 tx_tot_const
iresult = SPORT_GET_TIMEOUTS( 2, rx_int, tx_tot_mult, tx_tot_const )
END
See Also
Communications and Communications Functions in the Microsoft* Platform SDK