SPORT_CANCEL_IO (W*32)

Serial Port I/O Function: Cancels any I/O in progress to the specified port.

Module

USE IFPORT

構文

result = SPORT_CANCEL_IO (port)

port

(Input) Integer. The port number.

Results

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

Note icon

This call also kills the thread that keeps an outstanding read operation to the serial port. This call must be done before any of the port characteristics are modified.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

USE IFPORT
INTEGER(4) iresult
iresult = SPORT_CANCEL_IO( 2 )
END

関連情報


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

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