SPORT_SPECIAL_FUNC (W*32, W*64)

Serial Port I/O Function: Executes the Windows* API communications function EscapeCommFunction on the specified port.

Module

USE IFPORT

Syntax

result = SPORT_SPECIAL_FUNC (port,function)

port

(Input) Integer. The port number.

function

(Input) INTEGER(4). The function to perform.

Results

The result type is INTEGER(4). The result is zero if successful; otherwise, the result is a Windows* error value.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

Example

USE IFPORT

INTEGER(4) iresult

iresult = SPORT_SPECIAL_FUNC( 2, ? )

END

See Also