Visible to Intel only — GUID: GUID-A65CA190-E1A5-4AFC-96A7-937082B3CEFA
Visible to Intel only — GUID: GUID-A65CA190-E1A5-4AFC-96A7-937082B3CEFA
SPORT_SHOW_STATE
Serial Port I/O Function: Displays the state of a port to standard output. This routine is only available for Windows.
USE IFPORT
result = SPORT_SHOW_STATE (port,level)
port |
(Input) Integer. The port number. |
||||||||||||||
level |
(Input) Integer. Controls the level of detail displayed as follows:
|
The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows* error value.
This routine must not be used when any I/O is pending. Since a read operation is always pending after any I/O has been started, you must first call SPORT_CANCEL_IO before port parameters can be changed.
USE IFPORT
INTEGER(4) iresult
iresult = SPORT_SHOW_STATE( 2, 0 )
END
See Also
Communications and Communications Functions in the Microsoft* Platform SDK