SPORT_PURGE (W*32)

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

Module

USE IFPORT

構文

result = SPORT_PURGE (port,function)

port

(Input) Integer. The port number.

function

(Input) INTEGER(4). The function for PurgeComm (see the Windows* OS documentation).

Results

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

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

USE IFWINTY
USE IFPORT
INTEGER(4) iresult
iresult =  SPORT_PURGE( 2, (PURGE_TXABORT .or. PURGE_RXABORT) )
END

関連情報


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。