Run-Time Function: Returns the Win32 handle associated with the communications port. This is the handle that was returned by the CreateFile Win32 API.
Module: USE DFLIB
Syntax
Results:
The result is of type INTEGER(4). The result is zero if successful; otherwise, a Win32 error value.
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
See Also: Using the Serial I/O Port Routines, and Communications, and Communications Functions in the Win32 SDK
Example
USE DFLIB
INTEGER(4) iresult
INTEGER(4) handle
iresult = SPORT_GET_HANDLE( 2, handle )
END