Serial Port I/O Function: Releases a serial port that was previously connected when SPORT_CONNECT was specified.
USE IFPORT
result = SPORT_RELEASE (port)
port |
(Input) Integer. The port number. |
The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows* OS error value.
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
USE IFPORT
INTEGER(4) iresult
iresult = SPORT_RELEASE( 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.