home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt 1995 #6
/
CDD_6_95.ISO
/
cdd
/
winanw
/
hawin
/
defines.h
< prev
next >
Wrap
Text File
|
1994-12-14
|
4KB
|
157 lines
/*
* \HA5G\EXE\WIN_BBS.REL\defines.h -- an include file for the HyperACCESS C interpreter
*
* Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
* All rights reserved
*
*/
#define TRUE 1
#define FALSE 0
#define SCRIPTHANDLE long
#define NULL 0
#define HANDLE int
#define HSESS long
#define HWND int
#define LONG long
#define INT int
#define HAPI_H 1
#define HA_ERR_OK 0
#define HA_ERR_BAD_CMD -1
#define HA_ERR_BAD_PARAM -2
#define HA_ERR_BAD_HANDLE -3
#define HA_ERR_NO_MEMORY -4
#define HA_ERR_NO_SESSION -5
#define HA_ERR_TIMED_OUT -6
#define HA_ERR_BUSY -7
#define HA_ERR_CONECTION_LOST -8
#define HA_ERR_BUFFER_TOO_SMALL -9
#define HA_ERR_DDE_TIMED_OUT -10
#define HA_ERR_MAX_ERR -10
#define HA_C_LINES 1
#define HA_C_CHAR 2
#define HA_C_RAW 3
#define HA_C_SCREEN 4
#define HA_C_END 5
#define HA_C_PAUSE 6
#define HA_C_RESUME 7
#define HA_CP_CHAR 1
#define HA_CP_LINES 2
#define HA_CP_SCREEN 3
#define HA_CP_PAGE 1
#define HA_CP_SESSION 2
#define HA_CP_END 5
#define HA_CP_PAUSE 6
#define HA_CP_RESUME 7
#define HA_CNCT_STANDARD 0
#define HA_CNCT_LEARN_LOGIN 1
#define HA_CNCT_DO_NOT_DIAL 2
#define HA_CNCT_DO_NOT_LOGIN 3
#define HA_CNCT_ANSWER_MODE 4
#define HA_CNCT_ANSWER_HOLD 5
#define HA_AI_FLAGS 0
#define HA_AI_WFCHAR 1
#define HA_AI_OTABS 2
#define HA_AI_CWAIT 3
#define HA_AI_LWAIT 4
#define HA_AI_ITABS 5
#define HA_AFS_LF 0x0001
#define HA_AFS_BLS 0x0002
#define HA_AFS_ECHO 0x0004
#define HA_AFS_WAIT 0x0008
#define HA_AFS_TABS 0x0010
#define HA_AFR_LF 0x0020
#define HA_AFR_7BIT 0x0040
#define HA_AFR_ECHO 0x0080
#define HA_AFR_WRAP 0x0100
#define HA_AFR_HEX 0x0200
#define HA_NOTSTARTED 0
#define HA_CONNECTED 1
#define HA_DISCONNECTED 2
#define HA_CONNECTING 3
#define HA_DISCONNECTING 4
#define HA_WAITING 5
#define HA_SURRENDERED 6
#define HA_ICONIC 1
#define HA_STATS 2
#define HA_DETAILS 3
#define HA_NAMES 4
#define HA_FILES 5
#define HA_GI_BACKSPACE 0x0001
#define HA_M_7_BIT 0x0001
#define HA_M_8_BIT 0x0002
#define HA_M_E_PRTY 0x0004
#define HA_M_O_PRTY 0x0008
#define HA_M_N_PRTY 0x0010
#define HA_M_M_PRTY 0x0020
#define HA_M_S_PRTY 0x0040
#define HA_M_1_STOP 0x0080
#define HA_M_2_STOP 0x0100
#define HA_RV_USERNAME 0x0001
#define HA_RV_USERID 0x0002
#define HA_RV_PASSWORD 0x0003
#define HA_FRAME_IS_ACTIVE 0x1
#define HA_FRAME_IS_ICONIC 0x2
#define HA_SESSION_IS_ACTIVE 0x4
#define HA_SESSION_IS_ICONIC 0x8
#define HA_XFS_OK 0
#define HA_XFS_RMT_CANNED 1
#define HA_XFS_USER_CANNED 2
#define HA_XFS_LOST_CARRIER 3
#define HA_XFS_ERROR_LIMIT 4
#define HA_XFS_NO_RESPONSE 5
#define HA_XFS_OUT_OF_SEQ 6
#define HA_XFS_BAD_FORMAT 7
#define HA_XFS_TOO_MANY 8
#define HA_XFS_DISK_FULL 9
#define HA_XFS_CANT_OPEN 10
#define HA_XFS_DISK_ERROR 11
#define HA_XFS_NO_MEM 12
#define HA_XFS_FILE_EXISTS 13
#define HA_XFS_COMPLETE 14
#define HA_XFS_CANT_START 15
#define HA_XFS_OLDER_FILE 16
#define HA_XFS_NO_FILETIME 17
#define HA_XFS_WONT_CANCEL 18
#define HA_XFS_GEN_FAILURE 19
#define HA_XFS_NO_VSCAN 20
#define HA_XFS_VIRUS_DETECT 21
#define HA_XFS_USER_SKIP 22
#define HA_XFS_REFUSE 23
#define XF_DN_MASK 0x00000F00L
#define XF_DN_APPEND 0x00000100L
#define XF_DN_OVERWRT 0x00000200L
#define XF_DN_REFUSE 0x00000300L
#define XF_DN_NEWER 0x00000400L
#define XF_DN_DATE 0x00000500L
#define XF_DN_SEQ 0x00000600L
#define XF_CHECK_VIRUS 0x00001000L
#define XF_USE_FILENAME 0x00002000L
#define XF_USE_DIRECTORY 0x00004000L
#define XF_SAVE_PARTIAL 0x00008000L
#define XF_USE_DATETIME 0x00010000L
#define HA_XFER_SEND 1
#define HA_XFER_RECV 2
#define HA_HYPERP 1
#define HA_COMPUSERV_B 2
#define HA_KERMIT 3
#define HA_XMODEM 4
#define HA_XMODEM_1K 5
#define HA_YMODEM 6
#define HA_YMODEM_G 7
#define HA_ZMODEM 8
#define HA_IND_FILE 9
#define HA_L_START 1
#define HA_L_STOP 2
#define HA_L_ABORT 3
#define HA_MB_OK 1
#define HA_MB_OKC 2
#define HA_MB_YN 3
#define HA_PT_PULSE 1
#define HA_PT_TONE 2
#define HA_S_MAX 1
#define HA_S_MIN 2
#define HA_S_RSTR 3
#define HA_S_HIDE 4