Category : Windows 3.X Files
Archive   : ACTTIMS.ZIP
Filename : ACTVISTA.H
#define dbd_VERSION "V3.00\032"
/* -------------------status codes-------------------- */
/* user errors */
#define S_DBOPEN -1 /* database not opened */
#define S_INVSET -2 /* invalid set */
#define S_INVREC -3 /* invalid record */
#define S_INVDB -4 /* invalid database */
#define S_INVFLD -5 /* invalid field name */
#define S_INVADDR -6 /* invalid db_address */
#define S_NOCR -7 /* no current record */
#define S_NOCO -8 /* set has no current owner */
#define S_NOCM -9 /* set has no current member */
#define S_KEYREQD -10 /* key value required */
#define S_BADTYPE -11 /* invalid lock type */
#define S_HASMEM -12 /* record is owner of non-empty set(s) */
#define S_ISMEM -13 /* record is member of set(s) */
#define S_ISOWNED -14 /* member already owned */
#define S_ISCOMKEY -15 /* field is a compound key */
#define S_NOTCON -16 /* record not connected to set */
#define S_NOTKEY -17 /* field is not a valid key */
#define S_INVOWN -18 /* record not legal owner of set */
#define S_INVMEM -19 /* record not legal member of set */
#define S_SETPAGES -20 /* error in d_setpages (database open or bad param) */
#define S_INCOMPAT -21 /* incompatible dictionary file */
#define S_DELSYS -22 /* illegal attempt to delete system record */
#define S_NOTFREE -23 /* attempt to locked previously locked rec or set */
#define S_NOTLOCKED -24 /* attempt to access unlocked record or set */
#define S_TRANSID -25 /* transaction id not be supplied */
#define S_TRACTIVE -26 /* transaction already active */
#define S_TRNOTACT -27 /* transaction not currently active */
#define S_TRFREE -29 /* attempt to free a lock inside a transaction */
#define S_NOTRANS -31 /* attempted update outside of transaction */
#define S_EXCLUSIVE -32 /* functions requires exclusive db access */
#define S_STATIC -33 /* Attempted to write lock a static file */
#define S_USERID -34 /* No user id exists */
#define S_NAMELEN -35 /* database file/path name too long */
#define S_RENAME -36 /* invalid file number was passed to d_renfile */
#define S_NOTOPTKEY -37 /* field is not an optional key */
#define S_BADFIELD -38 /* field not defined in current record type */
#define S_COMKEY -39 /* record/field has/in a compound key */
#define S_INVNUM -40 /* invalid record or set number */
#define S_TIMESTAMP -41 /* record or set not timestamped */
#define S_BADUSERID -42 /* invalid user id - not alphanumeric */
#define S_NONETBIOS -43 /* NetBIOS is not installed on machine */
#define S_NOTYPE -46 /* No current record type */
#define S_INVSORT -47 /* Invalid country table sort string */
#define S_DBCLOSE -48 /* database not closed */
#define S_INVPTR -49 /* invalid pointer */
#define S_INVID -50 /* invalid internal ID */
!!
/* system errors */
#define S_NOSPACE -900 /* no more space on file */
#define S_SYSERR -901 /* system error */
#define S_FAULT -902 /* page fault -- changed during usage */
#define S_NOWORK -903 /* no working file set in dio */
#define S_NOMEMORY -904 /* unable to allocate sufficient memory */
#define S_NOFILE -905 /* unable to locate a file */
#define S_DBLACCESS -906 /* unable to access db lock file */
#define S_DBLERR -907 /* db lock file open/access error */
#define S_BADLOCKS -908 /* inconsistent database locks */
#define S_RECLIMIT -909 /* file record limit reached */
#define S_KEYERR -910 /* key file inconsistency detected */
#define S_FSEEK -912 /* Bad seek on database file */
#define S_READ -914 /* Bad read on database/overflow file */
#define S_NETSYNC -915 /* Network synchronization error */
#define S_DEBUG -916 /* Debugging check interrupt */
#define S_NETERR -917 /* Network communications error */
#define S_RECOVERY -918 /* Auto-recovery is in process */
#define S_WRITE -919 /* Bad write on database/overflow file */
#define S_NOLOCKMGR -920 /* Unable to open lockmgr session */
#define S_DUPUSERID -921 /* DBUSERID is already used by another user */
#define S_LMBUSY -922 /* The lock manager is busy */
#define S_DISCARDED -923 /* attempt to lock discarded memory */
#define S_SEM -924 /* unable to open semaphore */
!!
/* function statuses */
#define S_OKAY 0 /* normal return, okay */
#define S_EOS 1 /* end of set */
#define S_NOTFOUND 2 /* record not found */
#define S_DUPLICATE 3 /* duplicate key */
#define S_KEYSEQ 4 /* field type used out of sequence in d_keynext */
#define S_UNAVAIL 5 /* database file currently unavailable */
#define S_DELETED 6 /* record/set deleted since last accessed */
#define S_UPDATED 7 /* record/set updated since last accessed */
#define S_LOCKED 8 /* current record's lock bit is set */
#define S_UNLOCKED 9 /* current record's lock bit is clear */
!!
#define MAXRECORDS 16777215L
#define NULL_DBA 0L
!!
/* runtime option flags */
#define DCHAINUSE 0x001
#define TRLOGGING 0x002
#define ARCLOGGING 0x004
#define IGNORECASE 0x008
#define CLOSEFILES 0x020
#define GLOBALALLOCS 0x040
#define NOSESSTAT 0x080
!!
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/