Serial Port I/O Function: Executes the Windows* API communications function EscapeCommFunction on the specified port.
USE IFPORT
result = SPORT_SPECIAL_FUNC (port,function)
port |
(Input) Integer. The port number. |
function |
(Input) INTEGER(4). The function to perform. |
The result type is INTEGER(4). The result is zero if successful; otherwise, the result is a Windows* error value.
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
USE IFPORT
INTEGER(4) iresult
iresult = SPORT_SPECIAL_FUNC( 2, ? )
END
Communications and Communications Functions in the Microsoft* Platform SDK
Building Applications: Using the Serial I/O Port Routines
Copyright © 1996-2010, Intel Corporation. All rights reserved.