OPTION EXPLICIT
DEFINT A-Z
GLOBAL CONST ASC_NO_ERROR = 0
GLOBAL CONST ASC_NOT_ACTIVE_ERROR = -700
GLOBAL CONST ASC_CANNOT_OPEN_ERROR = -701
GLOBAL CONST ASC_DISK_READ_ERROR = -702
GLOBAL CONST ASC_INTERNAL_ERROR = -705
GLOBAL CONST ASC_NOT_OPEN_ERROR = -706
GLOBAL CONST ASC_GET_STATE = 0
GLOBAL CONST ASC_GET_ERROR_STATE = 1
GLOBAL CONST ASC_GET_ERROR_CODE = 2
DECLARE FUNCTION ascAbort LIB "ASDRV16.DLL" () AS INTEGER
DECLARE FUNCTION ascDriver LIB "ASDRV16.DLL" () AS INTEGER
DECLARE FUNCTION ascGetMessage LIB "ASDRV16.DLL" (BYVAL Buffer AS STRING, BYVAL Size AS INTEGER) AS INTEGER
DECLARE FUNCTION ascGetParameter LIB "ASDRV16.DLL" (BYVAL Parameter AS INTEGER) AS INTEGER
DECLARE FUNCTION ascInit LIB "ASDRV16.DLL" (BYVAL Port AS INTEGER, BYVAL RxQueSize AS INTEGER, BYVAL xFlag AS INTEGER) AS INTEGER
DECLARE FUNCTION ascStartTx LIB "ASDRV16.DLL" (BYVAL FileName AS STRING, BYVAL CharPace AS INTEGER,BYVAL TermChar AS INTEGER,BYVAL EchoFlag AS INTEGER) AS INTEGER
DECLARE FUNCTION ascStartRx LIB "ASDRV16.DLL" (BYVAL FileName AS STRING, BYVAL TermChar AS INTEGER,BYVAL FirstWait AS INTEGER,BYVAL CharWait,BYVAL EchoFlag AS INTEGER) AS INTEGER
|