home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
BDE.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
131KB
|
3,798 lines
//----------------------------------------------------------------------------
// Bde.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: Bde.pas
//----------------------------------------------------------------------------
#ifndef BdeHPP
#define BdeHPP
//----------------------------------------------------------------------------
#include <Windows.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Bde
{
//-- type declarations -------------------------------------------------------
typedef long DBIDATE;
typedef long TIME;
typedef double TIMESTAMP;
typedef unsigned char BOOL8;
typedef short BOOL16;
typedef double DFLOAT;
typedef VOID *pVOID;
typedef pVOID *ppVOID;
typedef CHAR *pCHAR;
typedef const CHAR *pCCHAR;
typedef BYTE *pBYTE;
typedef char *pINT8;
typedef unsigned char *pUINT8;
typedef short *pINT16;
typedef unsigned short *pUINT16;
typedef long *pINT32;
typedef unsigned long *pUINT32;
typedef DFLOAT *pDFLOAT;
typedef DBIDATE *pDBIDATE;
typedef TIME *pTIME;
typedef BOOL *pBOOL;
typedef BOOL16 *pBOOL16;
typedef TIMESTAMP *pTIMESTAMP;
typedef pBYTE *ppBYTE;
typedef pCHAR *ppCHAR;
typedef pBOOL *ppBOOL;
typedef pBOOL16 *ppBOOL16;
typedef Word DBIResult;
typedef int TypedEnum;
typedef void *PLocale;
#pragma pack(push, 1)
struct _hDBIObj
{
} ;
#pragma pack(pop)
typedef _hDBIObj *hDBIObj;
typedef _hDBIObj *hDBIDb;
typedef _hDBIObj *hDBIQry;
typedef _hDBIObj *hDBIStmt;
typedef _hDBIObj *hDBICur;
typedef _hDBIObj *hDBISes;
typedef _hDBIObj *hDBIXlt;
typedef _hDBIObj *hDBICfg;
typedef _hDBIObj *hDBIXact;
typedef _hDBIObj *hDBIFilter;
typedef _hDBIObj *hDBIDR;
typedef hDBIObj *phDBIObj;
typedef hDBIDb *phDBIDb;
typedef hDBIQry *phDBIQry;
typedef hDBIStmt *phDBIStmt;
typedef hDBICur *phDBICur;
typedef hDBISes *phDBISes;
typedef hDBIXlt *phDBIXlt;
typedef hDBICfg *phDBICfg;
typedef hDBIXact *phDBIXact;
typedef hDBIFilter *phDBIFilter;
typedef hDBIDR *phDBIDR;
typedef char DBIPATH[261];
typedef char DBINAME[32];
typedef char DBIEXT[4];
typedef char DBIDOTEXT[5];
typedef char DBIDRIVE[128];
typedef char DBITBLNAME[261];
typedef char DBISPNAME[65];
typedef char DBIUSERNAME[15];
typedef Word DBIKEY[16];
typedef char DBIKEYEXP[221];
typedef Byte DBIVCHK[256];
typedef char DBIPICT[176];
typedef char DBIMSG[128];
typedef char DBIDRTYPEDESC[128];
typedef char DBISQLSTR[8193];
struct DBIEnv;
typedef DBIEnv *pDBIEnv;
#pragma pack(push, 1)
struct DBIEnv
{
char szWorkDir[261];
char szIniFile[261];
Word bForceLocalInit;
char szLang[32];
char szClientName[32];
} ;
#pragma pack(pop)
struct SYSVersion;
typedef SYSVersion *pSYSVersion;
#pragma pack(push, 1)
struct SYSVersion
{
Word iVersion;
Word iIntfLevel;
long dateVer;
long timeVer;
char szVersion[20];
} ;
#pragma pack(pop)
struct SYSConfig;
typedef SYSConfig *pSYSConfig;
#pragma pack(push, 1)
struct SYSConfig
{
Word bLocalShare;
Word iNetProtocol;
Word bNetShare;
char szNetType[32];
char szUserName[15];
char szIniFile[261];
char szLangDriver[32];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct SYSInfo
{
Word iBufferSpace;
Word iHeapSpace;
Word iDrivers;
Word iClients;
Word iSessions;
Word iDatabases;
Word iCursors;
} ;
#pragma pack(pop)
typedef SYSInfo *pSYSInfo;
#pragma pack(push, 1)
struct CLIENTInfo
{
char szName[32];
Word iSessions;
char szWorkDir[261];
char szLang[32];
} ;
#pragma pack(pop)
typedef CLIENTInfo *pCLIENTInfo;
struct SESInfo;
typedef SESInfo *pSESInfo;
#pragma pack(push, 1)
struct SESInfo
{
Word iSession;
char szName[32];
Word iDatabases;
Word iCursors;
short iLockWait;
char szNetDir[261];
char szPrivDir[261];
} ;
#pragma pack(pop)
#pragma option -b
enum FLDVchk { fldvNOCHECKS, fldvHASCHECKS, fldvUNKNOWN };
#pragma option -b.
#pragma option -b
enum FLDRights { fldrREADWRITE, fldrREADONLY, fldrNONE, fldrUNKNOWN };
#pragma option -b.
struct FLDDesc;
typedef FLDDesc *pFLDDesc;
#pragma pack(push, 1)
struct FLDDesc
{
Word iFldNum;
char szName[32];
Word iFldType;
Word iSubType;
short iUnits1;
short iUnits2;
Word iOffset;
Word iLen;
Word iNullOffset;
FLDVchk efldvVchk;
FLDRights efldrRights;
Word bCalcField;
Word iUnUsed[2];
} ;
#pragma pack(pop)
struct IDXDesc;
typedef IDXDesc *pIDXDesc;
#pragma pack(push, 1)
struct IDXDesc
{
char szName[261];
Word iIndexId;
char szTagName[32];
char szFormat[32];
Word bPrimary;
Word bUnique;
Word bDescending;
Word bMaintained;
Word bSubset;
Word bExpIdx;
Word iCost;
Word iFldsInKey;
Word iKeyLen;
Word bOutofDate;
Word iKeyExpType;
Word aiKeyFld[16];
char szKeyExp[221];
char szKeyCond[221];
Word bCaseInsensitive;
Word iBlockSize;
Word iRestrNum;
Word abDescending[16];
Word iUnUsed[16];
} ;
#pragma pack(pop)
#pragma option -b
enum LKUPType { lkupNONE, lkupPRIVATE, lkupALLCORRESP, lkupHELP, lkupALLCORRESPHELP };
#pragma option -b.
struct VCHKDesc;
typedef VCHKDesc *pVCHKDesc;
#pragma pack(push, 1)
struct VCHKDesc
{
Word iFldNum;
Word bRequired;
Word bHasMinVal;
Word bHasMaxVal;
Word bHasDefVal;
Byte aMinVal[256];
Byte aMaxVal[256];
Byte aDefVal[256];
char szPict[176];
LKUPType elkupType;
char szLkupTblName[261];
} ;
#pragma pack(pop)
#pragma option -b
enum RINTType { rintMASTER, rintDEPENDENT };
#pragma option -b.
#pragma option -b
enum RINTQual { rintRESTRICT, rintCASCADE };
#pragma option -b.
#pragma pack(push, 1)
struct RINTDesc
{
Word iRintNum;
char szRintName[32];
RINTType eType;
char szTblName[261];
RINTQual eModOp;
RINTQual eDelOp;
Word iFldCount;
Word aiThisTabFld[16];
Word aiOthTabFld[16];
} ;
#pragma pack(pop)
typedef RINTDesc *pRINTDesc;
typedef int PRVType;
struct SECDesc;
typedef SECDesc *pSECDesc;
#pragma pack(push, 1)
struct SECDesc
{
Word iSecNum;
int eprvTable;
Word iFamRights;
char szPassword[32];
int aprvFld[256];
} ;
#pragma pack(pop)
#pragma option -b
enum DBIOBJType { objFILLER, objSYSTEM, objSESSION, objDRIVER, objDATABASE, objCURSOR, objSTATEMENT,
objCLIENT, objDBSEC, objREPOSITORY };
#pragma option -b.
#pragma option -b
enum DBIShareMode { dbiOPENSHARED, dbiOPENEXCL };
#pragma option -b.
#pragma option -b
enum DBIOpenMode { dbiREADWRITE, dbiREADONLY };
#pragma option -b.
#pragma option -b
enum DBILockType { dbiNOLOCK, dbiWRITELOCK, dbiREADLOCK };
#pragma option -b.
#pragma option -b
enum XLTMode { xltNONE, xltRECORD, xltFIELD };
#pragma option -b.
#pragma option -b
enum UPDLockMode { updWHEREALL, updWHEREKEYCHG, updWHEREKEY };
#pragma option -b.
struct CURProps;
typedef CURProps *pCURProps;
#pragma pack(push, 1)
struct CURProps
{
char szName[261];
Word iFNameSize;
char szTableType[32];
Word iFields;
Word iRecSize;
Word iRecBufSize;
Word iKeySize;
Word iIndexes;
Word iValChecks;
Word iRefIntChecks;
Word iBookMarkSize;
Word bBookMarkStable;
DBIOpenMode eOpenMode;
DBIShareMode eShareMode;
Word bIndexed;
short iSeqNums;
Word bSoftDeletes;
Word bDeletedOn;
Word iRefRange;
XLTMode exltMode;
Word iRestrVersion;
Word bUniDirectional;
Word eprvRights;
Word Dummy4;
Word iFmlRights;
Word iPasswords;
Word iCodePage;
Word bProtected;
Word iTblLevel;
char szLangDriver[32];
Word bFieldMap;
Word iBlockSize;
Word bStrictRefInt;
Word iFilters;
Word bTempTable;
Word iUnUsed[16];
} ;
#pragma pack(pop)
#pragma option -b
enum DBIDelayedUpdCmd { dbiDelayedUpdCommit, dbiDelayedUpdCancel, dbiDelayedUpdCancelCurrent, dbiDelayedUpdPrepare
};
#pragma option -b.
struct RECProps;
typedef RECProps *pRECProps;
#pragma pack(push, 1)
struct RECProps
{
long iSeqNum;
long iPhyRecNum;
Word iRecStatus;
Word bSeqNumChanged;
Word bDeleteFlag;
} ;
#pragma pack(pop)
#pragma option -b
enum eXILType { xilDIRTYREAD, xilREADCOMMITTED, xilREPEATABLEREAD };
#pragma option -b.
#pragma option -b
enum eXEnd { xendCOMMIT, xendCOMMITKEEP, xendABORT };
#pragma option -b.
#pragma option -b
enum eXState { xsINACTIVE, xsACTIVE };
#pragma option -b.
#pragma pack(push, 1)
struct XInfo
{
eXState exState;
eXILType eXIL;
Word uNests;
} ;
#pragma pack(pop)
typedef XInfo *pXInfo;
typedef int *PCMPBkMkRslt;
typedef int CMPBkMkRslt;
#pragma option -b
enum DBISearchCond { keySEARCHEQ, keySEARCHGT, keySEARCHGEQ };
#pragma option -b.
#pragma option -b
enum CROpType { crNOOP, crADD, crCOPY, crMODIFY, crDROP, crREDO, crTABLE, crGROUP, crFAMILY, crDONE,
crDROPADD };
#pragma option -b.
typedef CROpType *pCROpType;
struct CRTblDesc;
typedef CRTblDesc *pCRTblDesc;
#pragma pack(push, 1)
struct CRTblDesc
{
char szTblName[261];
char szTblType[32];
char szErrTblName[261];
char szUserName[32];
char szPassword[32];
Word bProtected;
Word bPack;
Word iFldCount;
CROpType *pecrFldOp;
FLDDesc *pfldDesc;
Word iIdxCount;
CROpType *pecrIdxOp;
IDXDesc *pidxDesc;
Word iSecRecCount;
CROpType *pecrSecOp;
SECDesc *psecDesc;
Word iValChkCount;
CROpType *pecrValChkOp;
VCHKDesc *pvchkDesc;
Word iRintCount;
CROpType *pecrRintOp;
RINTDesc *printDesc;
Word iOptParams;
FLDDesc *pfldOptParams;
void *pOptData;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct BATTblDesc
{
_hDBIObj *hDb;
char szTblName[261];
char szTblType[32];
char szUserName[32];
char szPassword[32];
} ;
#pragma pack(pop)
typedef BATTblDesc *pBATTblDesc;
#pragma option -b
enum eBATMode { batchAPPEND, batchUPDATE, batchAPPENDUPDATE, batchSUBTRACT, batchCOPY };
#pragma option -b.
#pragma option -b
enum SORTOrder { sortASCEND, sortDESCEND };
#pragma option -b.
typedef SORTOrder *pSORTOrder;
typedef short __fastcall (*pfSORTCompFn)(void * &LdObj, void * &Value1, void * &Value2, short iLen);
typedef pfSORTCompFn *ppfSORTCompFn;
#pragma option -b
enum DRVCat { drvFILLER, drvFILE, drvOTHERSERVER, drvSQLBASEDSERVER };
#pragma option -b.
#pragma option -b
enum OPType { opFILLER0, opFILLER1, opFILLER2, opDBCREATE, opDBOPEN, opTBLCREATE, opTBLOPEN };
#pragma option -b.
struct DRVType;
typedef DRVType *pDRVType;
#pragma pack(push, 1)
struct DRVType
{
char szType[32];
char szText[32];
DRVCat edrvCat;
Word bTrueDb;
char szDbType[32];
Word bMultiUser;
Word bReadWrite;
Word bTrans;
Word bPassThruSQL;
Word bLogIn;
Word bCreateDb;
Word bDeleteDb;
Word bCreateTable;
Word bDeleteTable;
Word bMultiplePWs;
Word iDriverVersion;
Word bSQLRowid;
Word iUnUsed[15];
} ;
#pragma pack(pop)
struct TBLType;
typedef TBLType *pTBLType;
#pragma pack(push, 1)
struct TBLType
{
Word iId;
char szName[32];
char szText[32];
char szFormat[32];
Word bReadWrite;
Word bCreate;
Word bRestructure;
Word bValChecks;
Word bSecurity;
Word bRefIntegrity;
Word bPrimaryKey;
Word bIndexing;
Word iFldTypes;
Word iMaxRecSize;
Word iMaxFldsInTable;
Word iMaxFldNameLen;
Word iTblLevel;
Word iUnUsed[16];
} ;
#pragma pack(pop)
struct IDXType;
typedef IDXType *pIDXType;
#pragma pack(push, 1)
struct IDXType
{
Word iId;
char szName[32];
char szText[32];
char szFormat[32];
Word bComposite;
Word bPrimary;
Word bUnique;
Word bKeyDescending;
Word bFldDescending;
Word bMaintained;
Word bSubset;
Word bKeyExpr;
Word bCaseInsensitive;
Word iUnUsed[16];
} ;
#pragma pack(pop)
struct FLDType;
typedef FLDType *pFLDType;
#pragma pack(push, 1)
struct FLDType
{
Word iId;
char szName[32];
char szText[32];
Word iPhyType;
Word iXltType;
Word iXltSubType;
Word iMaxUnits1;
Word iMaxUnits2;
Word iPhySize;
Word bRequired;
Word bDefaultVal;
Word bMinVal;
Word bMaxVal;
Word bRefIntegrity;
Word bOtherChecks;
Word bKeyed;
Word bMultiplePerTable;
Word iMinUnits1;
Word iMinUnits2;
Word bCreateable;
char szNativeName[32];
Word iUnUsed[16];
} ;
#pragma pack(pop)
#pragma option -b
enum PROPValid { epropINVALID, epropCANGET, epropCANSET };
#pragma option -b.
#pragma option -b
enum CBType { cbGENERAL, cbRESERVED1, cbRESERVED2, cbINPUTREQ, cbRESERVED4, cbRESERVED5, cbBATCHRESULT,
cbRESERVED7, cbRESTRUCTURE, cbRESERVED9, cbRESERVED10, cbRESERVED11, cbRESERVED12, cbRESERVED13, cbRESERVED14,
cbRESERVED15, cbRESERVED16, cbRESERVED17, cbTABLECHANGED, cbRESERVED19, cbCANCELQRY, cbSERVERCALL,
cbRESERVED22, cbGENPROGRESS, cbDBASELOGIN, cbDELAYEDUPD, cbFIELDRECALC, cbTRACE, cbDBLOGIN, cbDETACHNOTIFY,
cbNBROFCBS };
#pragma option -b.
typedef CBType *pCBType;
#pragma option -b
enum CBRType { cbrUSEDEF, cbrCONTINUE, cbrABORT, cbrCHKINPUT, cbrYES, cbrNO, cbrPARTIALASSIST, cbrSKIP,
cbrRETRY };
#pragma option -b.
typedef CBRType *pCBRType;
typedef CBRType __stdcall (*pfDBICallBack)(CBType ecbType, long iClientData, void * CbInfo);
typedef pfDBICallBack *ppfDBICallBack;
struct CBPROGRESSDesc;
typedef CBPROGRESSDesc *pCBPROGRESSDesc;
#pragma pack(push, 1)
struct CBPROGRESSDesc
{
short iPercentDone;
char szMsg[128];
} ;
#pragma pack(pop)
#pragma option -b
enum DelayUpdErrOpType { delayupdNONE, delayupdMODIFY, delayupdINSERT, delayupdDELETE };
#pragma option -b.
#pragma pack(push, 1)
struct DELAYUPDCbDesc
{
Word iErrCode;
DelayUpdErrOpType eDelayUpdOpType;
Word iRecBufSize;
void *pNewRecBuf;
void *pOldRecBuf;
} ;
#pragma pack(pop)
typedef DELAYUPDCbDesc *PDELAYUPDCbDesc;
#pragma option -b
enum RESTErrObjType { restrNONE, restrNEWFLD, restrOLDFLD, restrNEWINDEX, restrOLDINDEX, restrNEWVCHK,
restrOLDVCHK, restrNEWRINT, restrOLDRINT, restrNEWSEC, restrOLDSEC, restrNEWTABLE };
#pragma option -b.
struct TCBDBLogin;
typedef TCBDBLogin *pCBDBLogin;
#pragma pack(push, 1)
struct TCBDBLogin
{
char szDbName[32];
DBIOpenMode eOpenMode;
DBIShareMode eShareMode;
char szPassword[32];
DWord bCallbackToClose;
_hDBIObj *hDb;
} ;
#pragma pack(pop)
typedef int *pTRACECat;
typedef int TRACECat;
struct TRACEDesc;
typedef TRACEDesc *pTRACEDesc;
#pragma pack(push, 1)
struct TRACEDesc
{
int eTraceCat;
Word uTotalMsgLen;
char pszTrace[1];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TuObjDesc
{
union
{
SECDesc secDesc;
RINTDesc rintDesc;
VCHKDesc vchkDesc;
IDXDesc idxDesc;
FLDDesc fldDesc;
};
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct RESTCbDesc
{
Word iErrCode;
Word iTblNum;
Word iObjNum;
RESTErrObjType eRestrObjType;
TuObjDesc uObjDesc;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct CBEntry
{
char szKeyWord[32];
char szHelp[128];
} ;
#pragma pack(pop)
#pragma option -b
enum CBInputId { cbiFILLER, cbiMDXMISSING, cbiPDXLOOKUP, cbiPDXBLOB, cbiDBTMISSING, cbiDRINPUT };
#pragma option -b.
struct CBInputDesc;
typedef CBInputDesc *PCBInputDesc;
#pragma pack(push, 1)
struct CBInputDesc
{
CBInputId eCbInputId;
short iCount;
short iSelection;
Word bSave;
char szMsg[128];
CBEntry acbEntry[4];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct CBLoginDesc
{
char szUserName[32];
char szGroupName[32];
char szUserPassword[32];
} ;
#pragma pack(pop)
typedef CBLoginDesc *pCBLoginDesc;
#pragma option -b
enum CBSCType { cbscRETURN, cbscSQL };
#pragma option -b.
typedef CBSCType *PCBSCType;
#pragma option -b
enum CBYieldStep { cbYieldFirst, cbYieldContinue, cbYieldLast };
#pragma option -b.
typedef CBYieldStep *PCBYieldStep;
#pragma option -b
enum DBIQryLang { qrylangUNKNOWN, qrylangQBE, qrylangSQL };
#pragma option -b.
typedef int eINDValues;
#pragma option -b
enum STMTParamType { paramUNKNOWN, paramIN, paramOUT, paramINOUT, paramRET };
#pragma option -b.
#pragma option -b
enum STMTParamFormat { paramfmtUNKNOWN, paramfmtNUMBER, paramfmtNAME };
#pragma option -b.
struct FMTNumber;
typedef FMTNumber *pFMTNumber;
#pragma pack(push, 1)
struct FMTNumber
{
char cDecimalSeparator;
char cThousandSeparator;
Byte iDecimalDigits;
bool bLeadingZero;
} ;
#pragma pack(pop)
struct FMTDate;
typedef FMTDate *pFMTDate;
#pragma pack(push, 1)
struct FMTDate
{
char szDateSeparator[4];
Byte iDateMode;
bool bFourDigitYear;
bool bYearBiased;
bool bMonthLeadingZero;
bool bDayLeadingZero;
} ;
#pragma pack(pop)
struct FMTTime;
typedef FMTTime *pFMTTime;
#pragma pack(push, 1)
struct FMTTime
{
char cTimeSeparator;
bool bTwelveHour;
char szAmString[6];
char szPmString[6];
bool bSeconds;
bool bMilSeconds;
} ;
#pragma pack(pop)
struct FMTBcd;
typedef FMTBcd *pFMTBcd;
#pragma pack(push, 1)
struct FMTBcd
{
Byte iPrecision;
Byte iSignSpecialPlaces;
Byte iFraction[32];
} ;
#pragma pack(pop)
struct DBIErrInfo;
typedef DBIErrInfo *pDBIErrInfo;
#pragma pack(push, 1)
struct DBIErrInfo
{
Word iError;
char szErrCode[128];
char szContext[4][128];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct DBDesc
{
char szName[32];
char szText[32];
char szPhyName[261];
char szDbType[32];
} ;
#pragma pack(pop)
typedef DBDesc *pDBDesc;
struct USERDesc;
typedef USERDesc *pUSERDesc;
#pragma pack(push, 1)
struct USERDesc
{
char szUserName[15];
Word iNetSession;
Word iProductClass;
char szSerialNum[22];
} ;
#pragma pack(pop)
struct TBLBaseDesc;
typedef TBLBaseDesc *pTBLBaseDesc;
#pragma pack(push, 1)
struct TBLBaseDesc
{
char szName[261];
char szFileName[261];
char szExt[4];
char szType[32];
long dtDate;
long tmTime;
long iSize;
Word bView;
Word bSynonym;
} ;
#pragma pack(pop)
struct TBLExtDesc;
typedef TBLExtDesc *pTBLExtDesc;
#pragma pack(push, 1)
struct TBLExtDesc
{
char szStruct[32];
Word iRestrVersion;
Word iRecSize;
Word iFields;
Word iIndexes;
Word iValChecks;
Word iRintChecks;
long iRecords;
Word bProtected;
Word bValidInfo;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TBLFullDesc
{
TBLBaseDesc tblBase;
TBLExtDesc tblExt;
} ;
#pragma pack(pop)
typedef TBLFullDesc *pTBLFullDesc;
struct FILEDesc;
typedef FILEDesc *pFILEDesc;
#pragma pack(push, 1)
struct FILEDesc
{
char szFileName[261];
char szExt[4];
Word bDir;
long iSize;
long dtDate;
long tmTime;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct SPDesc
{
char szName[65];
long dtDate;
long tmTime;
} ;
#pragma pack(pop)
typedef SPDesc *pSPDesc;
struct SPParamDesc;
typedef SPParamDesc *pSPParamDesc;
#pragma pack(push, 1)
struct SPParamDesc
{
Word uParamNum;
char szName[32];
STMTParamType eParamType;
Word uFldType;
Word uSubType;
short iUnits1;
short iUnits2;
Word uOffset;
Word uLen;
Word uNullOffset;
} ;
#pragma pack(pop)
#pragma option -b
enum DBISTDFuncs { fnAVG, fnCOUNT, fnMIN, fnMAX, fnSUM, fnSTDDEV, fnVARIANCE, fnABS, fnCEIL, fnCOS,
fnCOSH, fnEXP, fnFLOOR, fnLN, fnLOG, fnMOD, fnPOWER, fnROUND, fnSIGN, fnSIN, fnSINH, fnSQRT, fnTAN,
fnTANH, fnTRUNC, fnCHR, fnCONCAT, fnINITCAP, fnLOWER, fnLPAD, fnLTRIM, fnNLS_INITCAP, fnNLS_LOWER,
fnNLS_UPPER, fnREPLACE, fnRPAD, fnRTRIM, fnSOUNDEX, fnSUBSTR, fnSUBSTRB, fnTRANSLATE, fnUPPER, fnASCII,
fnINSTR, fnINSTRB, fnLENGTH, fnLENGTHB, fnNLSSORT, fnADD_MONTHS, fnLAST_DAY, fnMONTHS_BETWEEN, fnNEW_TIME,
fnNEXT_DAY, fnSYSDATE, fnCONVERT, fnTO_CHAR, fnTO_DATE, fnTO_MULTI_BYTE, fnTO_NUMBER, fnTO_SINGLE_BYTE,
fnUID, fnUSER, fnORACLEMISC, fnACOS, fnASIN, fnATAN, fnATN2, fnCOT, fnDEGREES, fnLOG10, fnPI, fnRADIANS,
fnRAND, fnTEXTPTR, fnTEXTVALID, fnCHARINDEX, fnDIFFERENCE, fnPATINDEX, fnREPLICATE, fnREVERSE, fnRIGHT,
fnSPACE, fnSTR, fnSTUFF, fnCOL_NAME, fnCOL_LENGTH, fnDATALENGTH, fnDB_ID, fnDB_NAME, fnHOST_ID, fnHOST_NAME,
fnINDEX_COL, fnOBJECT_ID, fnOBJECT_NAME, fnUSER_ID, fnUSER_NAME, fnLEFT, fnLOCATE, fnTRUNCATE, fnCURTIME,
fnDAYNAME, fnDAYOFMONTH, fnDAYOFWEEK, fnDAYOFYEAR, fnHOUR, fnMINUTE, fnMONTH, fnMONTHNAME, fnNOW, fnQUARTER,
fnSECOND, fnWEEK, fnYEAR };
#pragma option -b.
typedef int DBIFuncFlags;
#pragma option -b
enum DBIFUNCOpts { fnDummy, fnListINCL_USER_DEF };
#pragma option -b.
struct DBIFUNCDesc;
typedef DBIFUNCDesc *pDBIFUNCDesc;
#pragma pack(push, 1)
struct DBIFUNCDesc
{
char szName[32];
char szDesc[255];
Word uOverload;
DBISTDFuncs eStdFn;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct DBIFUNCArgDesc
{
Word uArgNum;
Word uFldType;
Word uSubType;
Word ufuncFlags;
} ;
#pragma pack(pop)
typedef DBIFUNCArgDesc *pDBIFUNCArgDesc;
#pragma option -b
enum CFGMode { cfgPersistent, cfgSession, cfgAll };
#pragma option -b.
struct CFGDesc;
typedef CFGDesc *pCFGDesc;
#pragma pack(push, 1)
struct CFGDesc
{
char szNodeName[32];
char szDescription[128];
Word iDataType;
char szValue[128];
Word bHasSubnodes;
} ;
#pragma pack(pop)
#pragma option -b
enum FMLType { fmlUNKNOWN, fmlTABLE, fmlINDEX, fmlFORM, fmlREPORT, fmlVALCHECK, fmlSECINDEX, fmlSECINDEX2,
fmlBLOBFILE };
#pragma option -b.
typedef FMLType *pFMLType;
#pragma pack(push, 1)
struct FMLDesc
{
char szName[32];
Word iId;
FMLType eType;
char szFileName[261];
} ;
#pragma pack(pop)
typedef FMLDesc *pFMLDesc;
#pragma pack(push, 1)
struct LDDesc
{
char szName[32];
char szDesc[32];
Word iCodePage;
Word PrimaryCpPlatform;
Word AlternateCpPlatform;
} ;
#pragma pack(pop)
typedef LDDesc *pLDDesc;
#pragma pack(push, 1)
struct LOCKDesc
{
Word iType;
char szUserName[15];
Word iNetSession;
Word iSession;
long iRecNum;
Word iInfo;
} ;
#pragma pack(pop)
typedef LOCKDesc *pLOCKDesc;
#pragma option -b
enum CANOp { canNOTDEFINED, canISBLANK, canNOTBLANK, canEQ, canNE, canGT, canLT, canGE, canLE, canNOT,
canAND, canOR, canTUPLE2, canFIELD2, canCONST2, canMINUS, canADD, canSUB, canMUL, canDIV, canMOD, canREM,
canSUM, canCOUNT, canMIN, canMAX, canAVG, canCONT, canUDF2, canCONTINUE2, canLIKE };
#pragma option -b.
typedef CANOp *pCANOp;
#pragma option -b
enum NODEClass { nodeNULL, nodeUNARY, nodeBINARY, nodeCOMPARE, nodeFIELD, nodeCONST, nodeTUPLE, nodeCONTINUE,
nodeUDF };
#pragma option -b.
#pragma pack(push, 1)
struct CANHdr
{
NODEClass nodeClass;
CANOp canOp;
} ;
#pragma pack(pop)
typedef CANHdr *pCANHdr;
#pragma pack(push, 1)
struct CANUnary
{
NODEClass nodeClass;
CANOp canOp;
Word iOperand1;
} ;
#pragma pack(pop)
typedef CANUnary *pCANUnary;
#pragma pack(push, 1)
struct CANBinary
{
NODEClass nodeClass;
CANOp canOp;
Word iOperand1;
Word iOperand2;
} ;
#pragma pack(pop)
typedef CANBinary *pCANBinary;
#pragma pack(push, 1)
struct CANField
{
NODEClass nodeClass;
CANOp canOp;
Word iFieldNum;
Word iNameOffset;
} ;
#pragma pack(pop)
typedef CANField *pCANField;
#pragma pack(push, 1)
struct CANConst
{
NODEClass nodeClass;
CANOp canOp;
Word iType;
Word iSize;
Word iOffset;
} ;
#pragma pack(pop)
typedef CANConst *pCANConst;
#pragma pack(push, 1)
struct CANTuple
{
NODEClass nodeClass;
CANOp canOp;
Word iSize;
} ;
#pragma pack(pop)
typedef CANTuple *pCANTuple;
#pragma pack(push, 1)
struct CANContinue
{
NODEClass nodeClass;
CANOp canOp;
Word iContOperand;
} ;
#pragma pack(pop)
typedef CANContinue *pCANContinue;
struct CANCompare;
typedef CANCompare *pCANCompare;
#pragma pack(push, 1)
struct CANCompare
{
NODEClass nodeClass;
CANOp canOp;
Word bCaseInsensitive;
Word iPartialLen;
Word iOperand1;
Word iOperand2;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct CANUdf
{
NODEClass nodeClass;
CANOp canOp;
Word iOffSzFuncName;
Word iOperands;
Word iDrvDialect;
Word iOffSzUDF;
} ;
#pragma pack(pop)
typedef CANUdf *pCANUdf;
#pragma pack(push, 1)
struct CANNode
{
union
{
CANCompare canCompare;
CANContinue canContinue;
CANTuple canTuple;
CANConst canConst;
CANField canField;
CANBinary canBinary;
CANUnary canUnary;
CANHdr canHdr;
};
} ;
#pragma pack(pop)
typedef CANNode *pCANNode;
#pragma pack(push, 1)
struct CANExpr
{
Word iVer;
Word iTotalSize;
Word iNodes;
Word iNodeStart;
Word iLiteralStart;
} ;
#pragma pack(pop)
typedef CANExpr *pCANExpr;
typedef pCANExpr *ppCANExpr;
typedef short __stdcall (*pfGENFilter)(long ulClientData, void * pRecBuf, long iPhyRecNum);
struct FILTERInfo;
typedef FILTERInfo *pFILTERInfo;
#pragma pack(push, 1)
struct FILTERInfo
{
Word iFilterId;
_hDBIObj *hFilter;
long iClientData;
Word iPriority;
Word bCanAbort;
pfGENFilter pfFilter;
void *pCanExpr;
Word bActive;
} ;
#pragma pack(pop)
struct DBIQryProp;
typedef DBIQryProp *pDBIQryProp;
#pragma pack(push, 1)
struct DBIQryProp
{
char szQryName[32];
DBIQryLang eLang;
short iQryPrice;
short iNumTables;
Word bHasAnswer;
Word bInsert;
Word bDelete;
Word bChange;
} ;
#pragma pack(pop)
#pragma option -b
enum DBIQryType { dbiqryDEFAULT, dbiqryDIRTY, dbiqryCLEAN, dbiqryRESTART };
#pragma option -b.
#pragma pack(push, 1)
struct DBIQryProgress
{
Word stepsInQry;
Word stepsCompleted;
long totElemInStep;
long elemCompleted;
} ;
#pragma pack(pop)
typedef DBIQryProgress *pDBIQryProgress;
#pragma option -b
enum QryEvalMode { qryModeNONE, qryModeLOCAL, qryModeSERVER, qryModeEITHER, qryModeNOWLOCAL };
#pragma option -b.
#pragma option -b
enum LIVENESS { wantDEFAULT, wantLIVE, wantCANNED, wantSPEED };
#pragma option -b.
struct QueryLowProps;
typedef QueryLowProps *pQueryLowProps;
#pragma pack(push, 1)
struct QueryLowProps
{
short length;
Word blankzeroes;
FMTDate dateFormat;
FMTNumber numberFormat;
Word bNeedAuxTbls;
QryEvalMode qryMode;
Word perQrySqlMode;
LIVENESS livenessDesired;
} ;
#pragma pack(pop)
struct STMTBaseDesc;
typedef STMTBaseDesc *PSTMTBaseDesc;
#pragma pack(push, 1)
struct STMTBaseDesc
{
char szDatabase[32];
char szTableName[261];
char szFieldName[32];
DWord bExpression;
DWord bAggregate;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TOSBLObj
{
short LangId;
char LdName[20];
char EnglishDesc[32];
char LdDescriptor[20];
void *LocaleHdl;
short CodeSet;
short LocaleType;
short LanguageSortType;
short LocaleCount;
short PrimaryCpPlatform;
Word PrimaryCodePageID;
Word AlternateCodePageID;
Word ProductID;
DWord NoConversions;
int LdLCID;
} ;
#pragma pack(pop)
struct DRDesc;
typedef DRDesc *pDRDesc;
#pragma pack(push, 1)
struct DRDesc
{
char szDRName[32];
char szDRDescText[128];
char szDRDbName[32];
char szDRDbDir[261];
char szDRTableName[32];
char szLdName[32];
long aulReserved[10];
} ;
#pragma pack(pop)
struct DROBJDesc;
typedef DROBJDesc *pDROBJDesc;
#pragma pack(push, 1)
struct DROBJDesc
{
char szObjTypeName[32];
char szObjRealName[32];
long ulObjId;
Word iVersion;
long aulReserved[10];
} ;
#pragma pack(pop)
typedef DROBJDesc TDROBJDescList[1024];
typedef TDROBJDescList *PDROBJDescList;
struct DRExportDesc;
typedef DRExportDesc *pDRExportDesc;
#pragma pack(push, 1)
struct DRExportDesc
{
DROBJDesc objDesc;
DWord bInclRelated;
long aulReserved[4];
} ;
#pragma pack(pop)
struct DROBJType;
typedef DROBJType *pDROBJType;
#pragma pack(push, 1)
struct DROBJType
{
char szObjTypeName[32];
Word iNumAttr;
Word iNumRel;
long ulObjFlag;
char szObjTypeDesc[128];
char szObjTypeDisplayName[32];
long aulReserved[10];
} ;
#pragma pack(pop)
struct DBIEnumFld;
typedef DBIEnumFld *pDBIEnumFld;
#pragma pack(push, 1)
struct DBIEnumFld
{
char szDisplayStr[32];
Byte abVal[96];
long aulReserved[10];
} ;
#pragma pack(pop)
struct DREnumAttrDomain;
typedef DREnumAttrDomain *pDREnumAttrDomain;
#pragma pack(push, 1)
struct DREnumAttrDomain
{
char szEnumAttrDomainName[32];
long ulEDProp;
Word iNumVals;
DBIEnumFld *padbiEnumFld;
long aulReserved[10];
} ;
#pragma pack(pop)
struct DRATTRDesc;
typedef DRATTRDesc *pDRATTRDesc;
#pragma pack(push, 1)
struct DRATTRDesc
{
char szAttrName[32];
char szTypeName[32];
char szAttrDomainName[32];
Word iAttrType;
Word iUnits1;
Word iUnits2;
Word bReqd;
long ulAttrFlag;
char szAttrDisplayName[32];
char szAttrTypeDesc[128];
Word iDisplayProp;
Word iExtendedFlag;
Word bReadOnly;
Word iEditProp;
long ulTag;
long aulReserved[10];
} ;
#pragma pack(pop)
#pragma option -b
enum eRELConstraint { eRelManyMany, eRelManyOne, eRelOneMany, eRelOneOne };
#pragma option -b.
#pragma option -b
enum eRELCategory { eRelGENERAL, eRelCONTAINS, eRelREFERS, eRelBASEDON };
#pragma option -b.
struct DRRELType;
typedef DRRELType *pDRRELType;
#pragma pack(push, 1)
struct DRRELType
{
char szRelTypeName[32];
char szSrcObjTypeName[32];
char szDestObjTypeName[32];
char szRevRelTypeName[32];
Word iNumAttr;
eRELConstraint eRelConstraint;
eRELCategory eRelCategory;
char szRelTypeDisplayName[32];
char szRevRelDisplayName[32];
char szRelTypeDesc[128];
long ulRelFlag;
long aulReserved[10];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct DRObject
{
long ulObjId;
Word iVersion;
} ;
#pragma pack(pop)
typedef DRObject *pDRObject;
//-- var, const, procedure ---------------------------------------------------
#define DBIINTFVER (Word)(300)
#define DBIENGVERSION (Word)(300)
#define DEBUGON (Byte)(1)
#define OUTPUTTOFILE (Byte)(2)
#define FLUSHEVERYOP (Byte)(8)
#define APPENDTOLOG (Byte)(16)
#define DBIMAXNAMELEN (Byte)(31)
#define DBIMAXSPNAMELEN (Byte)(64)
#define DBIMAXFUNCNAMELEN (Byte)(255)
#define DBIMAXFLDSINKEY (Byte)(16)
#define DBIMAXKEYEXPLEN (Byte)(220)
#define DBIMAXEXTLEN (Byte)(3)
#define DBIMAXTBLNAMELEN (Word)(260)
#define DBIMAXDRIVELEN (Byte)(127)
#define DBIMAXPATHLEN (Word)(260)
#define DBIMAXMSGLEN (Byte)(127)
#define DBIMAXVCHKLEN (Byte)(255)
#define DBIMAXPICTLEN (Byte)(175)
#define DBIMAXFLDSINSEC (Word)(256)
#define DBIMAXSCFIELDS (Byte)(32)
#define DBIMAXSCFLDLEN (Byte)(128)
#define DBIMAXSCRECSIZE (Word)(4096)
#define DBIMAXUSERNAMELEN (Byte)(14)
#define DBIMAXXBUSERNAMELEN (Byte)(12)
#define DBIMAXBOOKMARKLEN (Word)(4104)
#define DBIMAXTRACELEN (Word)(8192)
#define DBIMAXTYPEDESC (Byte)(127)
#define DBIMAXDRSQLSTR (Word)(8192)
#define szPARADOX "PARADOX"
#define szDBASE "DBASE"
#define szASCII "ASCIIDRV"
#define fldUNKNOWN (Byte)(0)
#define fldZSTRING (Byte)(1)
#define fldDATE (Byte)(2)
#define fldBLOB (Byte)(3)
#define fldBOOL (Byte)(4)
#define fldINT16 (Byte)(5)
#define fldINT32 (Byte)(6)
#define fldFLOAT (Byte)(7)
#define fldBCD (Byte)(8)
#define fldBYTES (Byte)(9)
#define fldTIME (Byte)(10)
#define fldTIMESTAMP (Byte)(11)
#define fldUINT16 (Byte)(12)
#define fldUINT32 (Byte)(13)
#define fldFLOATIEEE (Byte)(14)
#define fldVARBYTES (Byte)(15)
#define fldLOCKINFO (Byte)(16)
#define MAXLOGFLDTYPES (Byte)(17)
#define fldstMONEY (Byte)(21)
#define fldstMEMO (Byte)(22)
#define fldstBINARY (Byte)(23)
#define fldstFMTMEMO (Byte)(24)
#define fldstOLEOBJ (Byte)(25)
#define fldstGRAPHIC (Byte)(26)
#define fldstDBSOLEOBJ (Byte)(27)
#define fldstTYPEDBINARY (Byte)(28)
#define fldstPASSWORD (Byte)(1)
#define fldstAUTOINC (Byte)(29)
#define fldPDXCHAR (Word)(257)
#define fldPDXNUM (Word)(258)
#define fldPDXMONEY (Word)(259)
#define fldPDXDATE (Word)(260)
#define fldPDXSHORT (Word)(261)
#define fldPDXMEMO (Word)(262)
#define fldPDXBINARYBLOB (Word)(263)
#define fldPDXFMTMEMO (Word)(264)
#define fldPDXOLEBLOB (Word)(265)
#define fldPDXGRAPHIC (Word)(266)
#define fldPDXBLOB (Word)(262)
#define fldPDXLONG (Word)(267)
#define fldPDXTIME (Word)(268)
#define fldPDXDATETIME (Word)(269)
#define fldPDXBOOL (Word)(270)
#define fldPDXAUTOINC (Word)(271)
#define fldPDXBYTES (Word)(272)
#define fldPDXBCD (Word)(273)
#define fldPDXUNICHAR (Word)(274)
#define fldDBCHAR (Word)(513)
#define fldDBNUM (Word)(514)
#define fldDBMEMO (Word)(515)
#define fldDBBOOL (Word)(516)
#define fldDBDATE (Word)(517)
#define fldDBFLOAT (Word)(518)
#define fldDBLOCK (Word)(519)
#define fldDBOLEBLOB (Word)(520)
#define fldDBBINARY (Word)(521)
#define fldDBBYTES (Word)(522)
#define fldDBKEYNUM (Word)(528)
#define fldDBKEYBCD (Word)(529)
#define fldASCCHAR (Word)(769)
#define fldASCNUM (Word)(770)
#define fldASCBOOL (Word)(771)
#define fldASCDATE (Word)(772)
#define fldASCFLOAT (Word)(773)
#define fldASCLOCK (Word)(774)
#define fldASCTIMESTAMP (Word)(775)
#define fldASCTIME (Word)(776)
#define fldASCLONG (Word)(777)
#define fldASCMONEY (Word)(778)
#define TODAYVAL (Byte)(2)
#define NOWVAL (Byte)(3)
#define NOFAMRIGHTS (Byte)(0)
#define FORMRIGHTS (Byte)(1)
#define RPTRIGHTS (Byte)(2)
#define VALRIGHTS (Byte)(4)
#define SETRIGHTS (Byte)(8)
#define ALLFAMRIGHTS (Byte)(15)
#define prvNONE (Byte)(0)
#define prvREADONLY (Byte)(1)
#define prvMODIFY (Byte)(3)
#define prvINSERT (Byte)(7)
#define prvINSDEL (Byte)(15)
#define prvFULL (Byte)(31)
#define prvUNKNOWN (Byte)(255)
#define NODEFAULTINDEX (int)(65535)
#define TBLLEVEL3 (Byte)(3)
#define TBLLEVEL4 (Byte)(4)
#define TBLLEVEL5 (Byte)(5)
#define TBLLEVEL7 (Byte)(7)
#define FOXLEVEL25 (Byte)(25)
#define DBIDELAYUPD_SHOWMODIFYBIT (Byte)(1)
#define DBIDELAYUPD_SHOWINSERTBIT (Byte)(2)
#define DBIDELAYUPD_SHOWDELETEBIT (Byte)(4)
#define DBIDELAYUPD_SHOWNONMODIFYBIT (Byte)(8)
#define curMAXPROPS (int)(327680)
#define curTABLENAME (int)(327681)
#define curTABLETYPE (int)(327682)
#define curTABLELEVEL (int)(327683)
#define curFILENAME (int)(327684)
#define curXLTMODE (int)(327685)
#define curSEQREADON (int)(327686)
#define curONEPASSON (int)(327687)
#define curUPDATETS (int)(327688)
#define curSOFTDELETEON (int)(327689)
#define curLANGDRVNAME (int)(327690)
#define curCURSORNAME (int)(327691)
#define maxcurPROPS (Byte)(11)
#define curPDXMAXPROPS (int)(17104896)
#define maxcurPDXPROPS (Byte)(0)
#define curDBMAXPROPS (int)(33882112)
#define curINEXACTON (int)(33882113)
#define curSHAREMODE (int)(33882114)
#define maxcurDBPROPS (Byte)(2)
#define curDELIMITALLFLDS (int)(50659328)
#define curUSESCHEMAFILE (int)(50659329)
#define curUPDLOCKMODE (int)(67436544)
#define curNATIVEHNDL (int)(67436545)
#define curMAXROWS (int)(67436546)
#define curDELAYUPDRECSTATE (int)(84213761)
#define curDELAYUPDABORTRESTORE (int)(84213762)
#define curDELAYUPDDISPLAYOPT (int)(84213763)
#define curDELAYUPDGETOLDRECORD (int)(84213764)
#define curDELAYUPDNUMUPDATES (int)(84213765)
#define curDELAYUPDUSECALLBACK (int)(84213766)
#define drvMAXPROPS (int)(196608)
#define drvDRIVERTYPE (int)(196610)
#define drvDRIVERVERSION (int)(196611)
#define maxdrvPROPS (Byte)(2)
#define dbMAXPROPS (int)(262144)
#define dbDATABASENAME (int)(262145)
#define dbDATABASETYPE (int)(262146)
#define dbDEFAULTDRIVER (int)(262147)
#define dbPARAMFMTQMARK (int)(262148)
#define dbUSESCHEMAFILE (int)(262149)
#define maxdbPROPS (Byte)(16)
#define dbASYNCSUPPORT (int)(67371008)
#define dbPROCEDURES (int)(67371009)
#define dbDEFAULTTXNISO (int)(67371010)
#define dbNATIVEHNDL (int)(67371011)
#define dbNATIVEPASSTHRUHNDL (int)(67371012)
#define dbSERVERVERSION (int)(67371013)
#define dbBATCHCOUNT (int)(67371014)
#define dbTRACEMODE (int)(67371015)
#define dbCURRENTUSERNAME (int)(67371016)
#define dbOWNERQUALIFIED (int)(67371017)
#define dbQUOTECHAR (int)(67371018)
#define dbSCHEMACACHEENABLED (int)(67371161)
#define dbBCDENABLED (int)(67371162)
#define sesMAXPROPS (int)(131072)
#define sesSESSIONNAME (int)(131073)
#define sesNETFILE (int)(131074)
#define sesCFGMODE (int)(131075)
#define sesDEFAULTDRIVER (int)(131076)
#define sesGROUPNAME (int)(131077)
#define sesUSERNAME (int)(131078)
#define sesUSERPASSWORD (int)(131079)
#define sesSECFILENAME (int)(131080)
#define sesDRNAME (int)(131081)
#define maxsesPROPS (Byte)(9)
#define sysMAXPROPS (int)(65536)
#define sysLOWMEMUSAGE (int)(65537)
#define maxsysPROPS (Byte)(1)
#define stmtMAXPROPS (int)(393217)
#define stmtPARAMETERCOUNT (int)(393218)
#define stmtPARAMETERDESCS (int)(393219)
#define stmtLANGDRVNAME (int)(393220)
#define stmtUNIDIRECTIONAL (int)(393232)
#define stmtCURSORNAME (int)(393233)
#define stmtNEWCONNECT (int)(393234)
#define stmtNATIVEHNDL (int)(393235)
#define stmtROWCOUNT (int)(393236)
#define maxstmtPROPS (Byte)(31)
#define stmtANSTYPE (int)(393248)
#define stmtLIVENESS (int)(393249)
#define stmtQRYMODE (int)(393250)
#define stmtBLANKS (int)(393251)
#define stmtDATEFORMAT (int)(393252)
#define stmtNUMBERFORMAT (int)(393253)
#define stmtAUXTBLS (int)(393254)
#define stmtTBLVECTOR (int)(393255)
#define stmtALLPROPS (int)(393256)
#define stmtALLPROPSSIZE (int)(393257)
#define stmtANSNAME (int)(393264)
#define stmtCONSTRAINED (int)(393265)
#define stmtFIELDDESCS (int)(393266)
#define stmtCURPROPS (int)(393267)
#define stmtDEFDBNAME (int)(393268)
#define stmtXLTMODE (int)(393269)
#define stmtINSTBLNAME (int)(393270)
#define stmtINSERRTBLNAME (int)(393271)
#define stmtUPDTBLNAME (int)(393272)
#define stmtUPDERRTBLNAME (int)(393273)
#define stmtDELTBLNAME (int)(393280)
#define stmtDELERRTBLNAME (int)(393281)
#define stmtCANNEDREADONLY (int)(393282)
#define CMPLess (Shortint)(-1)
#define CMPEql (Byte)(0)
#define CMPGtr (Byte)(1)
#define CMPKeyEql (Byte)(2)
#define traceUNKNOWN (Byte)(0)
#define traceQPREPARE (Byte)(1)
#define traceQEXECUTE (Byte)(2)
#define traceERROR (Byte)(4)
#define traceSTMT (Byte)(8)
#define traceCONNECT (Byte)(16)
#define traceTRANSACT (Byte)(32)
#define traceBLOB (Byte)(64)
#define traceMISC (Byte)(128)
#define traceVENDOR (Word)(256)
#define MAXCBENTRIES (Byte)(4)
#define indTRUNC (Shortint)(-2)
#define indNULL (Shortint)(-1)
#define indVALUE (Byte)(1)
#define INDLEN (int)(2)
#define qprepNONE (Byte)(0)
#define qprepFORUPDATE (Byte)(1)
#define ecTOKEN (Byte)(1)
#define ecTABLENAME (Byte)(3)
#define ecFIELDNAME (Byte)(4)
#define ecIMAGEROW (Byte)(5)
#define ecUSERNAME (Byte)(6)
#define ecFILENAME (Byte)(7)
#define ecINDEXNAME (Byte)(8)
#define ecDIRNAME (Byte)(9)
#define ecKEYNAME (Byte)(10)
#define ecALIAS (Byte)(11)
#define ecDRIVENAME (Byte)(12)
#define ecNATIVECODE (Byte)(13)
#define ecNATIVEMSG (Byte)(14)
#define ecLINENUMBER (Byte)(15)
#define ecCAPABILITY (Byte)(16)
#define ecCDRNAME (Byte)(17)
#define ecUSERERRMSG (Byte)(18)
#define ecDROBJNAME (Byte)(19)
#define ecINTERNALLIMIT (Byte)(20)
#define fnSCALARS_ALLOW_CONSTANTS (Byte)(1)
#define fnSCALARS_ALLOW_PARAMETERS (Byte)(4)
#define fnSCALARS_ALLOW_FUNCTIONS (Byte)(8)
#define fnSCALARS_ALLOW_USER_DEFINED_FUNCS (Byte)(16)
#define fnSCALARS_ALLOW_SUBQUERIES (Byte)(32)
#define fnSCALARS_ALLOW_CORRELATION (Byte)(64)
#define DBIOEM_CP (Byte)(1)
#define DBIANSI_CP (Byte)(2)
#define DBIOS2_CP (Byte)(3)
#define DBISUNOS_CP (Byte)(4)
#define DBIVMS_CP (Byte)(5)
#define DBIHPUX_CP (Byte)(6)
#define DBIULTRIX_CP (Byte)(7)
#define DBIAIX_CP (Byte)(8)
#define DBIAUX_CP (Byte)(9)
#define DBIXENIX_CP (Byte)(10)
#define DBIMAC_CP (Byte)(11)
#define DBINEXT_CP (Byte)(12)
#define lckRECLOCK (Byte)(0)
#define lckRRECLOCK (Byte)(1)
#define lckGROUPLOCK (Byte)(2)
#define lckIMGAREA (Byte)(3)
#define lckTABLEREG (Byte)(4)
#define lckTABLEREAD (Byte)(5)
#define lckTABLEWRITE (Byte)(6)
#define lckTABLEEXCL (Byte)(7)
#define lckUNKNOWN (Byte)(9)
#define iLangSQL (Byte)(0)
#define iDbaseExpr (Byte)(2)
#define CANEXPRVERSION (Byte)(2)
#define ABORT (Shortint)(-2)
#define MAXQBEEXPRSIZE (Word)(300)
#define DBIQBE_ANSWERBIT (Byte)(1)
#define DBIQBE_INSERTEDBIT (Byte)(2)
#define DBIQBE_DELETEDBIT (Byte)(4)
#define DBIQBE_CHANGEDBIT (Byte)(8)
#define DBIQBE_ERRORINSBIT (Byte)(16)
#define DBIQBE_ERRORDELBIT (Byte)(32)
#define DBIQBE_ERRORCHGBIT (Byte)(64)
#define bAnsHasLiveFields (Byte)(1)
#define bAnsHasFilter (Byte)(2)
#define bAnsHasFieldMap (Byte)(4)
#define bAnsHasCalcField (Byte)(8)
#define bAnsHasLiveBlob (Byte)(16)
#define bIsAnsFieldLive (Byte)(1)
#define DBIMOD_BEGIN (Word)(16128)
#define DBIMOD_QBE (Word)(16129)
#define DBIMOD_SQLG (Word)(16130)
#define DBIMOD_LEGO (Word)(16131)
#define DBIMOD_LOCKMNGR (Word)(16132)
#define DBIMOD_SQLDRIVER (Word)(16133)
#define DBIMOD_OS (Word)(16134)
#define DBIMOD_DBASEDRV (Word)(16135)
#define DBIMOD_CDR (Word)(16136)
#define DBIMOD_END (Word)(16137)
#define DBISYM_BEGIN (Word)(16138)
#define DBISYM_TOKEN (Word)(16139)
#define DBISYM_TABLENAME (Word)(16141)
#define DBISYM_FIELDNAME (Word)(16142)
#define DBISYM_IMAGEROW (Word)(16143)
#define DBISYM_USERNAME (Word)(16144)
#define DBISYM_FILENAME (Word)(16145)
#define DBISYM_INDEXNAME (Word)(16146)
#define DBISYM_DIRNAME (Word)(16147)
#define DBISYM_KEYNAME (Word)(16148)
#define DBISYM_ALIAS (Word)(16149)
#define DBISYM_DRIVENAME (Word)(16150)
#define DBISYM_NATIVECODE (Word)(16151)
#define DBISYM_NATIVEMSG (Word)(16152)
#define DBISYM_LINENUMBER (Word)(16153)
#define DBISYM_CAPABILITY (Word)(16154)
#define DBISYM_CDRNAME (Word)(16155)
#define DBISYM_USERERRMSG (Word)(16156)
#define DBISYM_DROBJNAME (Word)(16157)
#define DBISYM_INTERNALLIMIT (Word)(16158)
#define DBISYM_BASEEND (Word)(16238)
#define DBISYM_MISC (Word)(16239)
#define DBISYM_WORK (Word)(16240)
#define DBISYM_PRIV (Word)(16241)
#define DBISYM_COPY (Word)(16242)
#define DBISYM_APPEND (Word)(16243)
#define DBISYM_END (Word)(32511)
#define szCFGSYSTEM "SYSTEM"
#define szCFGDRIVER "DRIVERS"
#define szCFGDATABASE "DATABASES"
#define szCFGREPOSITORY "REPOSITORIES"
#define szCFGSYSVERSION "VERSION"
#define szCFGSYSNETTYPE "NET TYPE"
#define szCFGSYSNETDIR "NET DIR"
#define szCFGSYSLOCALSHARE "LOCAL SHARE"
#define szCFGSYSLANGDRV "LANGDRIVER"
#define szCFGSYSLANGDRVDIR "LANGDRVDIR"
#define szCFGSYSMINBUF "MINBUFSIZE"
#define szCFGSYSMAXBUF "MAXBUFSIZE"
#define szCFGSYSLOCKRETRY "LOCKRETRY"
#define szCFGSYSFLAGS "SYSFLAGS"
#define szCFGMAXFILEHANDLES "MAXFILEHANDLES"
#define szCFGSQLQRYMODE "SQLQRYMODE"
#define szCFGLOWMEMLIMIT "LOW MEMORY USAGE LIMIT"
#define szCFGSYSODBCCFGIMPORT "AUTO ODBC"
#define szCFGAUTOODBC "AUTO ODBC"
#define szCFGDEFDRV "DEFAULT DRIVER"
#define szCFGSYSLOCALREPOSITORY "DATA REPOSITORY"
#define szCFGSYSSHAREDMEMSIZE "SHAREDMEMSIZE"
#define szCFGSYSSHAREDMEMLOCATION "SHAREDMEMLOCATION"
#define szCFGDRVVERSION "VERSION"
#define szCFGDRVTYPE "TYPE"
#define szCFGDRVDLL "DLL"
#define szCFGDRVDLL32 "DLL32"
#define szCFGDRVFLAGS "DRIVER FLAGS"
#define szCFGDRVLANGDRIVER "LANGDRIVER"
#define szCFGDRVFILLFACTOR "FILL FACTOR"
#define szCFGDRVBLOCKSIZE "BLOCK SIZE"
#define szCFGDRVLOCKPROTOCOL "LOCKPROTOCOL"
#define szCFGDRVLEVEL "LEVEL"
#define szCFGDRVVENDINIT "VENDOR INIT"
#define szCFGDRVTRACEMODE "TRACE MODE"
#define szCFGDRVMEMOBLOCKSIZE "MEMO FILE BLOCK SIZE"
#define szCFGDRVMDXBLOCKSIZE "MDX BLOCK SIZE"
#define szCFGDRVINIT "INIT"
#define szCFGDBCREATE "DB CREATE"
#define szCFGDBOPEN "DB OPEN"
#define szCFGTBLCREATE "TABLE CREATE"
#define szCFGTBLOPEN "TABLE OPEN"
#define szCFGDBINFO "DB INFO"
#define szCFGDBTYPE "TYPE"
#define szCFGDBPATH "PATH"
#define szCFGDBDEFAULTDRIVER "DEFAULT DRIVER"
#define szCFGDBENABLEBCD "ENABLE BCD"
#define szCFGINIT "INIT"
#define szTYPE "TYPE"
#define szCFGDBSTANDARD "STANDARD"
#define szCFGTRUE "TRUE"
#define szCFGFALSE "FALSE"
#define szOPENMODE "OPEN MODE"
#define szREADWRITE "READ/WRITE"
#define szREADONLY "READ ONLY"
#define szSHAREMODE "SHARE MODE"
#define szEXCLUSIVE "EXCLUSIVE"
#define szSHARED "SHARED"
#define szUSERNAME "USER NAME"
#define szPASSWORD "PASSWORD"
#define szSERVERNAME "SERVER NAME"
#define szDATABASENAME "DATABASE NAME"
#define szSCHEMASIZE "SCHEMA CACHE SIZE"
#define szCFGSTRICTINTEGRITY "STRICTINTEGRTY"
#define szSQLPASSMODE "SQLPASSTHRU MODE"
#define szNOTSHARED "NOT SHARED"
#define szSHAREDAUTOCOMMIT "SHARED AUTOCOMMIT"
#define szSHAREDNOAUTOCOMMIT "SHARED NOAUTOCOMMIT"
#define szSCHEMATIME "SCHEMA CACHE TIME"
#define szMAXQUERYTIME "MAX QUERY TIME"
#define szMAXROWS "MAX ROWS"
#define szLISTSYNONYMS "LIST SYNONYMS"
#define szSYNNONE "NONE"
#define szSYNALL "ALL"
#define szSYNPRIVATE "PRIVATE"
#define szBATCHCOUNT "BATCH COUNT"
#define szENABLESCHEMACACHE "ENABLE SCHEMA CACHE"
#define szSCHEMACACHEDIR "SCHEMA CACHE DIR"
#define szSYBLHOST "HOST NAME"
#define szSYBLAPP "APPLICATION NAME"
#define szSYBLNATLANG "NATIONAL LANG NAME"
#define szCFGDRDBNAME "DATABASE NAME"
#define szCFGDRTBLNAME "TABLE NAME"
#define szCFGDRLANGDRIVER "LANGUAGE DRIVER"
#define szCFGDRDESC "DESCRIPTION"
#define szCFGFORMAT "FORMATS"
#define szCFGDATE "DATE"
#define szCFGTIME "TIME"
#define szCFGNUMBER "NUMBER"
#define szCFGSEPARATOR "SEPARATOR"
#define szCFGMODE "MODE"
#define szCFGFOURDIGITYEAR "FOURDIGITYEAR"
#define szCFGYEARBIASED "YEARBIASED"
#define szCFGLEADINGZEROM "LEADINGZEROM"
#define szCFGLEADINGZEROD "LEADINGZEROD"
#define szCFGTWELVEHOUR "TWELVEHOUR"
#define szCFGAMSTRING "AMSTRING"
#define szCFGPMSTRING "PMSTRING"
#define szCFGSECONDS "SECONDS"
#define szCFGMILSECONDS "MILSECONDS"
#define szCFGDECIMALSEPARATOR "DECIMALSEPARATOR"
#define szCFGTHOUSANDSEPARATOR "THOUSANDSEPARATOR"
#define szCFGDECIMALDIGITS "DECIMALDIGITS"
#define szCFGLEADINGZERON "LEADINGZERON"
#define DBICFG_BASE (Word)(14848)
#define iCFGSYSTEM (Word)(14849)
#define iCFGDRIVER (Word)(14850)
#define iCFGDATABASE (Word)(14851)
#define iCFGREPOSITORY (Word)(15058)
#define iCFGSYSVERSION (Word)(14853)
#define iCFGSYSNETTYPE (Word)(14854)
#define iCFGSYSNETDIR (Word)(14855)
#define iCFGSYSLOCALSHARE (Word)(14856)
#define iCFGSYSLANGDRV (Word)(14857)
#define iCFGSYSLANGDRVDIR (Word)(14858)
#define iCFGSYSMINBUF (Word)(14859)
#define iCFGSYSMAXBUF (Word)(14860)
#define iCFGSYSLOCKRETRY (Word)(14861)
#define iCFGSYSFLAGS (Word)(14862)
#define iCFGMAXFILEHANDLES (Word)(14863)
#define iCFGSQLQRYMODE (Word)(14864)
#define iCFGLOWMEMLIMIT (Word)(14865)
#define iCFGSYSODBCCFGIMPORT (Word)(14866)
#define iCFGSYSLOCALREPOSITORY (Word)(15059)
#define iCFGSYSSHAREDMEMSIZE (Word)(15098)
#define iCFGSYSSHAREDMEMLOCATION (Word)(15099)
#define iCFGDRVVERSION (Word)(14868)
#define iCFGDRVTYPE (Word)(14869)
#define iCFGDRVLANGDRIVER (Word)(14870)
#define iCFGDRVFILLFACTOR (Word)(14871)
#define iCFGDRVBLOCKSIZE (Word)(14872)
#define iCFGDRVLOCKPROTOCOL (Word)(14873)
#define iCFGDRVLEVEL (Word)(14874)
#define iCFGDRVFLAGS (Word)(14875)
#define iCFGDRVTRACEMODE (Word)(14876)
#define iCFGDRVMEMOBLOCKSIZE (Word)(14878)
#define iCFGDRVMDXBLOCKSIZE (Word)(14879)
#define iCFGDRVINIT (Word)(14888)
#define iCFGDBCREATE (Word)(14889)
#define iCFGDBOPEN (Word)(14890)
#define iCFGTBLCREATE (Word)(14891)
#define iCFGTBLOPEN (Word)(14892)
#define iCFGDBINFO (Word)(14898)
#define iCFGDBTYPE (Word)(14908)
#define iCFGDBPATH (Word)(14909)
#define iCFGDBDEFAULTDRIVER (Word)(14910)
#define iCFGINIT (Word)(14918)
#define iTYPE (Word)(14919)
#define iCFGDBSTANDARD (Word)(14920)
#define iCFGTRUE (Word)(14921)
#define iCFGFALSE (Word)(14922)
#define iOPENMODE (Word)(14923)
#define iREADWRITE (Word)(14924)
#define iREADONLY (Word)(14925)
#define iSHAREMODE (Word)(14926)
#define iEXCLUSIVE (Word)(14927)
#define iSHARED (Word)(14928)
#define iUSERNAME (Word)(14929)
#define iSERVERNAME (Word)(14930)
#define iDATABASENAME (Word)(14931)
#define iSCHEMASIZE (Word)(14932)
#define iCFGSTRICTINTEGRITY (Word)(14933)
#define iCFGDRDBNAME (Word)(15061)
#define iCFGDRTBLNAME (Word)(15062)
#define iCFGDRDESC (Word)(15063)
#define iCFGDRLANGDRIVER (Word)(15060)
#define iCFGFORMAT (Word)(14978)
#define iCFGDATE (Word)(14979)
#define iCFGTIME (Word)(14980)
#define iCFGNUMBER (Word)(14981)
#define iCFGSEPARATOR (Word)(14988)
#define iCFGMODE (Word)(14989)
#define iCFGFOURDIGITYEAR (Word)(14990)
#define iCFGYEARBIASED (Word)(14991)
#define iCFGLEADINGZEROM (Word)(14992)
#define iCFGLEADINGZEROD (Word)(14993)
#define iCFGTWELVEHOUR (Word)(14994)
#define iCFGAMSTRING (Word)(14995)
#define iCFGPMSTRING (Word)(14996)
#define iCFGSECONDS (Word)(14997)
#define iCFGMILSECONDS (Word)(14998)
#define iCFGDECIMALSEPARATOR (Word)(15008)
#define iCFGTHOUSANDSEPARATOR (Word)(15009)
#define iCFGDECIMALDIGITS (Word)(15010)
#define iCFGLEADINGZERON (Word)(15011)
#define iCFGDEFLANGDRV (Word)(15013)
#define iCFGDBASEDEFLANGDRV (Word)(15014)
#define iCFGDEFSEPARATOR (Word)(15018)
#define iCFGDEFMODE (Word)(15019)
#define iCFGDEFFOURDIGITYEAR (Word)(15020)
#define iCFGDEFYEARBIASED (Word)(15021)
#define iCFGDEFLEADINGZEROM (Word)(15022)
#define iCFGDEFLEADINGZEROD (Word)(15023)
#define iCFGDEFTWELVEHOUR (Word)(15024)
#define iCFGDEFAMSTRING (Word)(15025)
#define iCFGDEFPMSTRING (Word)(15026)
#define iCFGDEFSECONDS (Word)(15027)
#define iCFGDEFMILSECONDS (Word)(15028)
#define iCFGDEFDECIMALSEPARATOR (Word)(15029)
#define iCFGDEFTHOUSANDSEPARATOR (Word)(15030)
#define iCFGDEFLEADINGZERO (Word)(15031)
#define iCFGDEFVERSION (Word)(15032)
#define iCFGDEFLOCALSHARE (Word)(15033)
#define iCFGDEFMINBUFSIZE (Word)(15034)
#define iCFGDEFMAXBUFSIZE (Word)(15035)
#define iCFGDEFMAXFILEHANDLES (Word)(15036)
#define iCFGDEFSYSFLAGS (Word)(15037)
#define iCFGDEFLOWMEM (Word)(15038)
#define iCFGDEFAUTOODBC (Word)(15039)
#define iCFGDEFDEFDRV (Word)(15040)
#define iCFGDEFDECIMALDIGITS (Word)(15041)
#define iCFGDEFLEADINGZERON (Word)(15042)
#define iCFGDEFPDXTYPE (Word)(15043)
#define iCFGDEFPDXNETDIR (Word)(15044)
#define iCFGDEFPDXLANGDRV (Word)(15045)
#define iCFGDEFPDXLEVEL (Word)(15046)
#define iCFGDEFPDXBLOCKSIZE (Word)(15047)
#define iCFGDEFPDXFILLFACTOR (Word)(15048)
#define iCFGDEFPDXSTRICTINTEGRTY (Word)(15049)
#define iCFGDEFDBASETYPE (Word)(15050)
#define iCFGDEFDBASELANGDRV (Word)(15051)
#define iCFGDEFDBASELEVEL (Word)(15052)
#define iCFGDEFDBASEMDXBLOCKSIZE (Word)(15053)
#define iCFGDEFDBASEMEMOBLOCKSIZE (Word)(15054)
#define iCFGAUTOODBC (Word)(15055)
#define iCFGDEFDRV (Word)(15056)
#define iCFGDEFSHAREDMEMSIZE (Word)(15100)
#define iCFGDEFSHAREDMEMLOCATION (Word)(15101)
#define iCFGDEFREPOSITORY (Word)(15102)
#define iCFGDEFSQLQRYMODE (Word)(15103)
#define CFGHLP_BASE (Word)(15104)
#define iCFGHLP_SYSNODE (Word)(15105)
#define iCFGHLP_SYSINITNODE (Word)(15106)
#define iCFGHLP_SYSVERSION (Word)(15107)
#define iCFGHLP_SYSLOCALSHARE (Word)(15108)
#define iCFGHLP_SYSMINBUFSIZE (Word)(15109)
#define iCFGHLP_SYSMAXBUFSIZE (Word)(15110)
#define iCFGHLP_SYSLANGDRIVER (Word)(15111)
#define iCFGHLP_SYSNETTYPE (Word)(15112)
#define iCFGHLP_SYSFLAGS (Word)(15113)
#define iCFGHLP_SYSMAXFILE (Word)(15114)
#define iCFGHLP_SYSLOWMEM (Word)(15115)
#define iCFGHLP_SYSAUTOODBC (Word)(15116)
#define iCFGHLP_SYSDEFDRV (Word)(15117)
#define iCFGHLP_SYSSQLQRYMODE (Word)(15118)
#define iCFGHLP_SYSSQLPASSTHRU (Word)(15119)
#define iCFGHLP_SYSFORMATNODE (Word)(15120)
#define iCFGHLP_DATENODE (Word)(15121)
#define iCFGHLP_DATESEPARATOR (Word)(15122)
#define iCFGHLP_DATEMODE (Word)(15123)
#define iCFGHLP_DATEFOURDIGIT (Word)(15124)
#define iCFGHLP_DATEYEARBIASED (Word)(15125)
#define iCFGHLP_DATEZEROM (Word)(15126)
#define iCFGHLP_DATEZEROD (Word)(15127)
#define iCFGHLP_TIMENODE (Word)(15128)
#define iCFGHLP_TIMETWELVEHOUR (Word)(15129)
#define iCFGHLP_TIMEAMSTRING (Word)(15130)
#define iCFGHLP_TIMEPMSTRING (Word)(15131)
#define iCFGHLP_TIMESECONDS (Word)(15132)
#define iCFGHLP_TIMEMILSEC (Word)(15133)
#define iCFGHLP_NUMNODE (Word)(15134)
#define iCFGHLP_NUMDECIMALSEPARATOR (Word)(15135)
#define iCFGHLP_NUMTHOUSANDSEPARATOR (Word)(15136)
#define iCFGHLP_NUMDECIMALDIGITS (Word)(15137)
#define iCFGHLP_NUMZERON (Word)(15138)
#define iCFGHLP_DRVNODE (Word)(15139)
#define iCFGHLP_PDXNODE (Word)(15140)
#define iCFGHLP_PDXINITNODE (Word)(15141)
#define iCFGHLP_DRVTYPE (Word)(15142)
#define iCFGHLP_PDXNETDIR (Word)(15143)
#define iCFGHLP_PDXTBLNODE (Word)(15144)
#define iCFGHLP_PDXLEVEL (Word)(15145)
#define iCFGHLP_PDXBLOCKSIZE (Word)(15146)
#define iCFGHLP_PDXFILLFACTOR (Word)(15147)
#define iCFGHLP_PDXSTRICT (Word)(15148)
#define iCFGHLP_DBNODE (Word)(15149)
#define iCFGHLP_DBINITNODE (Word)(15150)
#define iCFGHLP_DBVERSION (Word)(15151)
#define iCFGHLP_DBTBLNODE (Word)(15152)
#define iCFGHLP_DBLEVEL (Word)(15153)
#define iCFGHLP_DBMDXBLOCKSIZE (Word)(15154)
#define iCFGHLP_DBMEMOFILEBLOCKSIZE (Word)(15155)
#define iCFGHLP_INTNODE (Word)(15156)
#define iCFGHLP_INTINITNODE (Word)(15157)
#define iCFGHLP_INTVERSION (Word)(15158)
#define iCFGHLP_SQLDLL (Word)(15159)
#define iCFGHLP_SQLDLL32 (Word)(15160)
#define iCFGHLP_SQLDRIVERFLAGS (Word)(15161)
#define iCFGHLP_INTDBNODE (Word)(15162)
#define iCFGHLP_SQLSERVER (Word)(15163)
#define iCFGHLP_SQLUSER (Word)(15164)
#define iCFGHLP_SQLOPENMODE (Word)(15165)
#define iCFGHLP_SQLSCHEMASIZE (Word)(15166)
#define iCFGHLP_SQLSCHEMATIME (Word)(15167)
#define iCFGHLP_SYBNODE (Word)(15168)
#define iCFGHLP_SYBINITNODE (Word)(15169)
#define iCFGHLP_SYBVERSION (Word)(15170)
#define iCFGHLP_SQLCONNECT (Word)(15171)
#define iCFGHLP_SQLTIMEOUT (Word)(15172)
#define iCFGHLP_SYBDBNODE (Word)(15173)
#define iCFGHLP_SQLDATABASE (Word)(15174)
#define iCFGHLP_SQLBLOBEDIT (Word)(15175)
#define iCFGHLP_SQLMAXQUERY (Word)(15176)
#define iCFGHLP_ORANODE (Word)(15177)
#define iCFGHLP_ORAINITNODE (Word)(15178)
#define iCFGHLP_ORAVERSION (Word)(15179)
#define iCFGHLP_SQLVENDOR (Word)(15180)
#define iCFGHLP_ORADBNODE (Word)(15181)
#define iCFGHLP_SQLNETPROTOCOL (Word)(15182)
#define iCFGHLP_MSSNODE (Word)(15183)
#define iCFGHLP_MSSINITNODE (Word)(15184)
#define iCFGHLP_MSSVERSION (Word)(15185)
#define iCFGHLP_MSSDBNODE (Word)(15186)
#define iCFGHLP_INFNODE (Word)(15187)
#define iCFGHLP_INFINITNODE (Word)(15188)
#define iCFGHLP_INFVERSION (Word)(15189)
#define iCFGHLP_INFDBNODE (Word)(15190)
#define iCFGHLP_SQLLOCKMODE (Word)(15191)
#define iCFGHLP_SQLTRACEMODE (Word)(15192)
#define iCFGHLP_SQLMAXROWS (Word)(15193)
#define iCFGHLP_SQLBATCHCOUNT (Word)(15194)
#define iCFGHLP_SYSSHAREDMEMSIZ (Word)(15195)
#define iCFGHLP_SYSSHAREDMEMLOC (Word)(15196)
#define iCFGHLP_SYSDATAREP (Word)(15197)
#define iCFGHLP_ALIASTYPE (Word)(15198)
#define iCFGHLP_ALIASPATH (Word)(15199)
#define iCFGHLP_ALIASDEFDRV (Word)(15200)
#define iCFGHLP_ENABLESCHEMACACHE (Word)(15201)
#define iCFGHLP_SCHEMACACHEDIR (Word)(15202)
#define iCFGHLP_HOSTNAME (Word)(15203)
#define iCFGHLP_APPLICATIONNAME (Word)(15204)
#define iCFGHLP_NATIONALLANGNAME (Word)(15205)
#define ERRCAT_NONE (Byte)(0)
#define ERRCAT_SYSTEM (Byte)(33)
#define ERRCAT_NOTFOUND (Byte)(34)
#define ERRCAT_DATACORRUPT (Byte)(35)
#define ERRCAT_IO (Byte)(36)
#define ERRCAT_LIMIT (Byte)(37)
#define ERRCAT_INTEGRITY (Byte)(38)
#define ERRCAT_INVALIDREQ (Byte)(39)
#define ERRCAT_LOCKCONFLICT (Byte)(40)
#define ERRCAT_SECURITY (Byte)(41)
#define ERRCAT_INVALIDCONTEXT (Byte)(42)
#define ERRCAT_OS (Byte)(43)
#define ERRCAT_NETWORK (Byte)(44)
#define ERRCAT_OPTPARAM (Byte)(45)
#define ERRCAT_QUERY (Byte)(46)
#define ERRCAT_VERSION (Byte)(47)
#define ERRCAT_CAPABILITY (Byte)(48)
#define ERRCAT_CONFIG (Byte)(49)
#define ERRCAT_WARNING (Byte)(50)
#define ERRCAT_OTHER (Byte)(51)
#define ERRCAT_COMPATIBILITY (Byte)(52)
#define ERRCAT_REPOSITORY (Byte)(53)
#define ERRCAT_DRIVER (Byte)(62)
#define ERRCAT_RC (Byte)(63)
#define ERRBASE_NONE (Byte)(0)
#define ERRBASE_SYSTEM (Word)(8448)
#define ERRBASE_NOTFOUND (Word)(8704)
#define ERRBASE_DATACORRUPT (Word)(8960)
#define ERRBASE_IO (Word)(9216)
#define ERRBASE_LIMIT (Word)(9472)
#define ERRBASE_INTEGRITY (Word)(9728)
#define ERRBASE_INVALIDREQ (Word)(9984)
#define ERRBASE_LOCKCONFLICT (Word)(10240)
#define ERRBASE_SEC (Word)(10496)
#define ERRBASE_IC (Word)(10752)
#define ERRBASE_OS (Word)(11008)
#define ERRBASE_NETWORK (Word)(11264)
#define ERRBASE_OPTPARAM (Word)(11520)
#define ERRBASE_QUERY (Word)(11776)
#define ERRBASE_VERSION (Word)(12032)
#define ERRBASE_CAPABILITY (Word)(12288)
#define ERRBASE_CONFIG (Word)(12544)
#define ERRBASE_WARNING (Word)(12800)
#define ERRBASE_OTHER (Word)(13056)
#define ERRBASE_COMPATIBILITY (Word)(13312)
#define ERRBASE_REPOSITORY (Word)(13568)
#define ERRBASE_DRIVER (Word)(15872)
#define ERRBASE_RC (Word)(16128)
#define ERRCODE_NONE (Byte)(0)
#define DBIERR_NONE (Byte)(0)
#define ERRCODE_SYSFILEOPEN (Byte)(1)
#define ERRCODE_SYSFILEIO (Byte)(2)
#define ERRCODE_SYSCORRUPT (Byte)(3)
#define ERRCODE_NOCONFIGFILE (Byte)(4)
#define ERRCODE_CFGCANNOTWRITE (Byte)(5)
#define ERRCODE_CFGMULTIFILE (Byte)(6)
#define ERRCODE_REENTERED (Byte)(7)
#define ERRCODE_CANTFINDIDAPI (Byte)(8)
#define ERRCODE_CANTLOADIDAPI (Byte)(9)
#define ERRCODE_CANTLOADLIBRARY (Byte)(10)
#define ERRCODE_TEMPFILEERR (Byte)(11)
#define ERRCODE_MULTIPLEIDAPI (Byte)(12)
#define DBIERR_SYSFILEOPEN (Word)(8449)
#define DBIERR_SYSFILEIO (Word)(8450)
#define DBIERR_SYSCORRUPT (Word)(8451)
#define DBIERR_NOCONFIGFILE (Word)(8452)
#define DBIERR_CFGCANNOTWRITE (Word)(8453)
#define DBIERR_CFGMULTIFILE (Word)(8454)
#define DBIERR_REENTERED (Word)(8455)
#define DBIERR_CANTFINDIDAPI (Word)(8456)
#define DBIERR_CANTLOADIDAPI (Word)(8457)
#define DBIERR_CANTLOADLIBRARY (Word)(8458)
#define DBIERR_TEMPFILEERR (Word)(8459)
#define DBIERR_MULTIPLEIDAPI (Word)(8460)
#define DBIERR_CANTFINDODAPI (Word)(8456)
#define DBIERR_CANTLOADODAPI (Word)(8457)
#define ERRCODE_BOF (Byte)(1)
#define ERRCODE_EOF (Byte)(2)
#define ERRCODE_RECMOVED (Byte)(3)
#define ERRCODE_KEYORRECDELETED (Byte)(4)
#define ERRCODE_NOCURRREC (Byte)(5)
#define ERRCODE_RECNOTFOUND (Byte)(6)
#define ERRCODE_ENDOFBLOB (Byte)(7)
#define ERRCODE_OBJNOTFOUND (Byte)(8)
#define ERRCODE_FMLMEMBERNOTFOUND (Byte)(9)
#define ERRCODE_BLOBFILEMISSING (Byte)(10)
#define ERRCODE_LDNOTFOUND (Byte)(11)
#define DBIERR_BOF (Word)(8705)
#define DBIERR_EOF (Word)(8706)
#define DBIERR_RECMOVED (Word)(8707)
#define DBIERR_RECDELETED (Word)(8708)
#define DBIERR_KEYORRECDELETED (Word)(8708)
#define DBIERR_NOCURRREC (Word)(8709)
#define DBIERR_RECNOTFOUND (Word)(8710)
#define DBIERR_ENDOFBLOB (Word)(8711)
#define DBIERR_OBJNOTFOUND (Word)(8712)
#define DBIERR_FMLMEMBERNOTFOUND (Word)(8713)
#define DBIERR_BLOBFILEMISSING (Word)(8714)
#define DBIERR_LDNOTFOUND (Word)(8715)
#define ERRCODE_HEADERCORRUPT (Byte)(1)
#define ERRCODE_FILECORRUPT (Byte)(2)
#define ERRCODE_MEMOCORRUPT (Byte)(3)
#define ERRCODE_BMPCORRUPT (Byte)(4)
#define ERRCODE_INDEXCORRUPT (Byte)(5)
#define ERRCODE_CORRUPTLOCKFILE (Byte)(6)
#define ERRCODE_FAMFILEINVALID (Byte)(7)
#define ERRCODE_VALFILECORRUPT (Byte)(8)
#define ERRCODE_FOREIGNINDEX (Byte)(9)
#define DBIERR_HEADERCORRUPT (Word)(8961)
#define DBIERR_FILECORRUPT (Word)(8962)
#define DBIERR_MEMOCORRUPT (Word)(8963)
#define DBIERR_BMPCORRUPT (Word)(8964)
#define DBIERR_INDEXCORRUPT (Word)(8965)
#define DBIERR_CORRUPTLOCKFILE (Word)(8966)
#define DBIERR_FAMFILEINVALID (Word)(8967)
#define DBIERR_VALFILECORRUPT (Word)(8968)
#define DBIERR_FOREIGNINDEX (Word)(8969)
#define ERRCODE_READERR (Byte)(1)
#define ERRCODE_WRITEERR (Byte)(2)
#define ERRCODE_DIRNOACCESS (Byte)(3)
#define ERRCODE_FILEDELETEFAIL (Byte)(4)
#define ERRCODE_FILENOACCESS (Byte)(5)
#define ERRCODE_ACCESSDISABLED (Byte)(6)
#define DBIERR_READERR (Word)(9217)
#define DBIERR_WRITEERR (Word)(9218)
#define DBIERR_DIRNOACCESS (Word)(9219)
#define DBIERR_FILEDELETEFAIL (Word)(9220)
#define DBIERR_FILENOACCESS (Word)(9221)
#define DBIERR_ACCESSDISABLED (Word)(9222)
#define ERRCODE_NOMEMORY (Byte)(1)
#define ERRCODE_NOFILEHANDLES (Byte)(2)
#define ERRCODE_NODISKSPACE (Byte)(3)
#define ERRCODE_NOTEMPTBLSPACE (Byte)(4)
#define ERRCODE_RECTOOBIG (Byte)(5)
#define ERRCODE_CURSORLIMIT (Byte)(6)
#define ERRCODE_TABLEFULL (Byte)(7)
#define ERRCODE_WSSESLIMIT (Byte)(8)
#define ERRCODE_SERNUMLIMIT (Byte)(9)
#define ERRCODE_INTERNALLIMIT (Byte)(10)
#define ERRCODE_OPENTBLLIMIT (Byte)(11)
#define ERRCODE_TBLCURSORLIMIT (Byte)(12)
#define ERRCODE_RECLOCKLIMIT (Byte)(13)
#define ERRCODE_CLIENTSLIMIT (Byte)(14)
#define ERRCODE_INDEXLIMIT (Byte)(15)
#define ERRCODE_SESSIONSLIMIT (Byte)(16)
#define ERRCODE_DBLIMIT (Byte)(17)
#define ERRCODE_PASSWORDLIMIT (Byte)(18)
#define ERRCODE_DRIVERLIMIT (Byte)(19)
#define ERRCODE_FLDLIMIT (Byte)(20)
#define ERRCODE_TBLLOCKLIMIT (Byte)(21)
#define ERRCODE_OPENBLOBLIMIT (Byte)(22)
#define ERRCODE_LOCKFILELIMIT (Byte)(23)
#define ERRCODE_OPENQRYLIMIT (Byte)(24)
#define ERRCODE_THREADLIMIT (Byte)(25)
#define ERRCODE_BLOBLIMIT (Byte)(26)
#define ERRCODE_PDX50NAMELIMIT (Byte)(27)
#define ERRCODE_ROWFETCHLIMIT (Byte)(28)
#define ERRCODE_LONGNAMENOTALLOWED (Byte)(29)
#define DBIERR_NOMEMORY (Word)(9473)
#define DBIERR_NOFILEHANDLES (Word)(9474)
#define DBIERR_NODISKSPACE (Word)(9475)
#define DBIERR_NOTEMPTBLSPACE (Word)(9476)
#define DBIERR_RECTOOBIG (Word)(9477)
#define DBIERR_CURSORLIMIT (Word)(9478)
#define DBIERR_TABLEFULL (Word)(9479)
#define DBIERR_WSSESLIMIT (Word)(9480)
#define DBIERR_SERNUMLIMIT (Word)(9481)
#define DBIERR_INTERNALLIMIT (Word)(9482)
#define DBIERR_OPENTBLLIMIT (Word)(9483)
#define DBIERR_TBLCURSORLIMIT (Word)(9484)
#define DBIERR_RECLOCKLIMIT (Word)(9485)
#define DBIERR_CLIENTSLIMIT (Word)(9486)
#define DBIERR_INDEXLIMIT (Word)(9487)
#define DBIERR_SESSIONSLIMIT (Word)(9488)
#define DBIERR_DBLIMIT (Word)(9489)
#define DBIERR_PASSWORDLIMIT (Word)(9490)
#define DBIERR_DRIVERLIMIT (Word)(9491)
#define DBIERR_FLDLIMIT (Word)(9492)
#define DBIERR_TBLLOCKLIMIT (Word)(9493)
#define DBIERR_OPENBLOBLIMIT (Word)(9494)
#define DBIERR_LOCKFILELIMIT (Word)(9495)
#define DBIERR_OPENQRYLIMIT (Word)(9496)
#define DBIERR_THREADLIMIT (Word)(9497)
#define DBIERR_BLOBLIMIT (Word)(9498)
#define DBIERR_PDX50NAMELIMIT (Word)(9499)
#define DBIERR_ROWFETCHLIMIT (Word)(9500)
#define DBIERR_LONGNAMENOTALLOWED (Word)(9501)
#define ERRCODE_KEYVIOL (Byte)(1)
#define ERRCODE_MINVALERR (Byte)(2)
#define ERRCODE_MAXVALERR (Byte)(3)
#define ERRCODE_REQDERR (Byte)(4)
#define ERRCODE_FORIEGNKEYERR (Byte)(5)
#define ERRCODE_DETAILRECORDSEXIST (Byte)(6)
#define ERRCODE_MASTERTBLLEVEL (Byte)(7)
#define ERRCODE_LOOKUPTABLEERR (Byte)(8)
#define ERRCODE_LOOKUPTBLOPENERR (Byte)(9)
#define ERRCODE_DETAILTBLOPENERR (Byte)(10)
#define ERRCODE_MASTERTBLOPENERR (Byte)(11)
#define ERRCODE_FIELDISBLANK (Byte)(12)
#define ERRCODE_MASTEREXISTS (Byte)(13)
#define ERRCODE_MASTERTBLOPEN (Byte)(14)
#define ERRCODE_DETAILTABLESEXIST (Byte)(15)
#define ERRCODE_DETAILRECEXISTEMPTY (Byte)(16)
#define ERRCODE_MASTERREFERENCEERR (Byte)(17)
#define ERRCODE_DETAILTBLOPEN (Byte)(18)
#define ERRCODE_DEPENDENTSMUSTBEEMPTY (Byte)(19)
#define ERRCODE_RINTREQINDEX (Byte)(20)
#define ERRCODE_LINKEDTBLPROTECTED (Byte)(21)
#define ERRCODE_FIELDMULTILINKED (Byte)(22)
#define DBIERR_KEYVIOL (Word)(9729)
#define DBIERR_MINVALERR (Word)(9730)
#define DBIERR_MAXVALERR (Word)(9731)
#define DBIERR_REQDERR (Word)(9732)
#define DBIERR_FORIEGNKEYERR (Word)(9733)
#define DBIERR_DETAILRECORDSEXIST (Word)(9734)
#define DBIERR_MASTERTBLLEVEL (Word)(9735)
#define DBIERR_LOOKUPTABLEERR (Word)(9736)
#define DBIERR_LOOKUPTBLOPENERR (Word)(9737)
#define DBIERR_DETAILTBLOPENERR (Word)(9738)
#define DBIERR_MASTERTBLOPENERR (Word)(9739)
#define DBIERR_FIELDISBLANK (Word)(9740)
#define DBIERR_MASTEREXISTS (Word)(9741)
#define DBIERR_MASTERTBLOPEN (Word)(9742)
#define DBIERR_DETAILTABLESEXIST (Word)(9743)
#define DBIERR_DETAILRECEXISTEMPTY (Word)(9744)
#define DBIERR_MASTERREFERENCEERR (Word)(9745)
#define DBIERR_DETAILTBLOPEN (Word)(9746)
#define DBIERR_DEPENDENTSMUSTBEEMPTY (Word)(9747)
#define DBIERR_RINTREQINDEX (Word)(9748)
#define DBIERR_LINKEDTBLPROTECTED (Word)(9749)
#define DBIERR_FIELDMULTILINKED (Word)(9750)
#define ERRCODE_OUTOFRANGE (Byte)(1)
#define ERRCODE_INVALIDPARAM (Byte)(2)
#define ERRCODE_INVALIDFILENAME (Byte)(3)
#define ERRCODE_NOSUCHFILE (Byte)(4)
#define ERRCODE_INVALIDOPTION (Byte)(5)
#define ERRCODE_INVALIDHNDL (Byte)(6)
#define ERRCODE_UNKNOWNTBLTYPE (Byte)(7)
#define ERRCODE_UNKNOWNFILE (Byte)(8)
#define ERRCODE_PRIMARYKEYREDEFINE (Byte)(9)
#define ERRCODE_INVALIDRINTDESCNUM (Byte)(10)
#define ERRCODE_KEYFLDTYPEMISMATCH (Byte)(11)
#define ERRCODE_INVALIDMODIFYREQUEST (Byte)(12)
#define ERRCODE_NOSUCHINDEX (Byte)(13)
#define ERRCODE_INVALIDBLOBOFFSET (Byte)(14)
#define ERRCODE_INVALIDDESCNUM (Byte)(15)
#define ERRCODE_INVALIDFLDTYPE (Byte)(16)
#define ERRCODE_INVALIDFLDDESC (Byte)(17)
#define ERRCODE_INVALIDFLDXFORM (Byte)(18)
#define ERRCODE_INVALIDRECSTRUCT (Byte)(19)
#define ERRCODE_INVALIDDESC (Byte)(20)
#define ERRCODE_INVALIDINDEXSTRUCT (Byte)(21)
#define ERRCODE_INVALIDVCHKSTRUCT (Byte)(22)
#define ERRCODE_INVALIDRINTSTRUCT (Byte)(23)
#define ERRCODE_INVALIDRESTRTBLORDER (Byte)(24)
#define ERRCODE_NAMENOTUNIQUE (Byte)(25)
#define ERRCODE_INDEXNAMEREQUIRED (Byte)(26)
#define ERRCODE_INVALIDSESHANDLE (Byte)(27)
#define ERRCODE_INVALIDRESTROP (Byte)(28)
#define ERRCODE_UNKNOWNDRIVER (Byte)(29)
#define ERRCODE_UNKNOWNDB (Byte)(30)
#define ERRCODE_INVALIDPASSWORD (Byte)(31)
#define ERRCODE_NOCALLBACK (Byte)(32)
#define ERRCODE_INVALIDCALLBACKBUFLEN (Byte)(33)
#define ERRCODE_INVALIDDIR (Byte)(34)
#define ERRCODE_INVALIDXLATION (Byte)(35)
#define ERRCODE_DIFFERENTTABLES (Byte)(36)
#define ERRCODE_INVALIDBOOKMARK (Byte)(37)
#define ERRCODE_INVALIDINDEXNAME (Byte)(38)
#define ERRCODE_INVALIDIDXDESC (Byte)(39)
#define ERRCODE_NOSUCHTABLE (Byte)(40)
#define ERRCODE_USECOUNT (Byte)(41)
#define ERRCODE_INVALIDKEY (Byte)(42)
#define ERRCODE_INDEXEXISTS (Byte)(43)
#define ERRCODE_INDEXOPEN (Byte)(44)
#define ERRCODE_INVALIDBLOBLEN (Byte)(45)
#define ERRCODE_INVALIDBLOBHANDLE (Byte)(46)
#define ERRCODE_TABLEOPEN (Byte)(47)
#define ERRCODE_NEEDRESTRUCTURE (Byte)(48)
#define ERRCODE_INVALIDMODE (Byte)(49)
#define ERRCODE_CANNOTCLOSE (Byte)(50)
#define ERRCODE_ACTIVEINDEX (Byte)(51)
#define ERRCODE_INVALIDUSRPASS (Byte)(52)
#define ERRCODE_MULTILEVELCASCADE (Byte)(53)
#define ERRCODE_INVALIDFIELDNAME (Byte)(54)
#define ERRCODE_INVALIDTABLENAME (Byte)(55)
#define ERRCODE_INVALIDLINKEXPR (Byte)(56)
#define ERRCODE_NAMERESERVED (Byte)(57)
#define ERRCODE_INVALIDFILEEXTN (Byte)(58)
#define ERRCODE_INVALIDLANGDRV (Byte)(59)
#define ERRCODE_ALIASNOTOPEN (Byte)(60)
#define ERRCODE_INCOMPATRECSTRUCTS (Byte)(61)
#define ERRCODE_RESERVEDDOSNAME (Byte)(62)
#define ERRCODE_DESTMUSTBEINDEXED (Byte)(63)
#define ERRCODE_INVALIDINDEXTYPE (Byte)(64)
#define ERRCODE_LANGDRVMISMATCH (Byte)(65)
#define ERRCODE_NOSUCHFILTER (Byte)(66)
#define ERRCODE_INVALIDFILTER (Byte)(67)
#define ERRCODE_INVALIDTABLECREATE (Byte)(68)
#define ERRCODE_INVALIDTABLEDELETE (Byte)(69)
#define ERRCODE_INVALIDINDEXCREATE (Byte)(70)
#define ERRCODE_INVALIDINDEXDELETE (Byte)(71)
#define ERRCODE_INVALIDTABLE (Byte)(72)
#define ERRCODE_MULTIRESULTS (Byte)(73)
#define ERRCODE_INVALIDTIME (Byte)(74)
#define ERRCODE_INVALIDDATE (Byte)(75)
#define ERRCODE_INVALIDTIMESTAMP (Byte)(76)
#define ERRCODE_DIFFERENTPATH (Byte)(77)
#define ERRCODE_MISMATCHARGS (Byte)(78)
#define ERRCODE_FUNCTIONNOTFOUND (Byte)(79)
#define ERRCODE_MUSTUSEBASEORDER (Byte)(80)
#define ERRCODE_INVALIDPROCEDURENAME (Byte)(81)
#define ERRCODE_INVALIDFLDMAP (Byte)(82)
#define DBIERR_OUTOFRANGE (Word)(9985)
#define DBIERR_INVALIDPARAM (Word)(9986)
#define DBIERR_INVALIDFILENAME (Word)(9987)
#define DBIERR_NOSUCHFILE (Word)(9988)
#define DBIERR_INVALIDOPTION (Word)(9989)
#define DBIERR_INVALIDHNDL (Word)(9990)
#define DBIERR_UNKNOWNTBLTYPE (Word)(9991)
#define DBIERR_UNKNOWNFILE (Word)(9992)
#define DBIERR_PRIMARYKEYREDEFINE (Word)(9993)
#define DBIERR_INVALIDRINTDESCNUM (Word)(9994)
#define DBIERR_KEYFLDTYPEMISMATCH (Word)(9995)
#define DBIERR_INVALIDMODIFYREQUEST (Word)(9996)
#define DBIERR_NOSUCHINDEX (Word)(9997)
#define DBIERR_INVALIDBLOBOFFSET (Word)(9998)
#define DBIERR_INVALIDDESCNUM (Word)(9999)
#define DBIERR_INVALIDFLDTYPE (Word)(10000)
#define DBIERR_INVALIDFLDDESC (Word)(10001)
#define DBIERR_INVALIDFLDXFORM (Word)(10002)
#define DBIERR_INVALIDRECSTRUCT (Word)(10003)
#define DBIERR_INVALIDDESC (Word)(10004)
#define DBIERR_INVALIDINDEXSTRUCT (Word)(10005)
#define DBIERR_INVALIDVCHKSTRUCT (Word)(10006)
#define DBIERR_INVALIDRINTSTRUCT (Word)(10007)
#define DBIERR_INVALIDRESTRTBLORDER (Word)(10008)
#define DBIERR_NAMENOTUNIQUE (Word)(10009)
#define DBIERR_INDEXNAMEREQUIRED (Word)(10010)
#define DBIERR_INVALIDSESHANDLE (Word)(10011)
#define DBIERR_INVALIDRESTROP (Word)(10012)
#define DBIERR_UNKNOWNDRIVER (Word)(10013)
#define DBIERR_UNKNOWNDB (Word)(10014)
#define DBIERR_INVALIDPASSWORD (Word)(10015)
#define DBIERR_NOCALLBACK (Word)(10016)
#define DBIERR_INVALIDCALLBACKBUFLEN (Word)(10017)
#define DBIERR_INVALIDDIR (Word)(10018)
#define DBIERR_INVALIDXLATION (Word)(10019)
#define DBIERR_DIFFERENTTABLES (Word)(10020)
#define DBIERR_INVALIDBOOKMARK (Word)(10021)
#define DBIERR_INVALIDINDEXNAME (Word)(10022)
#define DBIERR_INVALIDIDXDESC (Word)(10023)
#define DBIERR_NOSUCHTABLE (Word)(10024)
#define DBIERR_USECOUNT (Word)(10025)
#define DBIERR_INVALIDKEY (Word)(10026)
#define DBIERR_INDEXEXISTS (Word)(10027)
#define DBIERR_INDEXOPEN (Word)(10028)
#define DBIERR_INVALIDBLOBLEN (Word)(10029)
#define DBIERR_INVALIDBLOBHANDLE (Word)(10030)
#define DBIERR_TABLEOPEN (Word)(10031)
#define DBIERR_NEEDRESTRUCTURE (Word)(10032)
#define DBIERR_INVALIDMODE (Word)(10033)
#define DBIERR_CANNOTCLOSE (Word)(10034)
#define DBIERR_ACTIVEINDEX (Word)(10035)
#define DBIERR_INVALIDUSRPASS (Word)(10036)
#define DBIERR_MULTILEVELCASCADE (Word)(10037)
#define DBIERR_INVALIDFIELDNAME (Word)(10038)
#define DBIERR_INVALIDTABLENAME (Word)(10039)
#define DBIERR_INVALIDLINKEXPR (Word)(10040)
#define DBIERR_NAMERESERVED (Word)(10041)
#define DBIERR_INVALIDFILEEXTN (Word)(10042)
#define DBIERR_INVALIDLANGDRV (Word)(10043)
#define DBIERR_ALIASNOTOPEN (Word)(10044)
#define DBIERR_INCOMPATRECSTRUCTS (Word)(10045)
#define DBIERR_RESERVEDOSNAME (Word)(10046)
#define DBIERR_DESTMUSTBEINDEXED (Word)(10047)
#define DBIERR_INVALIDINDEXTYPE (Word)(10048)
#define DBIERR_LANGDRVMISMATCH (Word)(10049)
#define DBIERR_NOSUCHFILTER (Word)(10050)
#define DBIERR_INVALIDFILTER (Word)(10051)
#define DBIERR_INVALIDTABLECREATE (Word)(10052)
#define DBIERR_INVALIDTABLEDELETE (Word)(10053)
#define DBIERR_INVALIDINDEXCREATE (Word)(10054)
#define DBIERR_INVALIDINDEXDELETE (Word)(10055)
#define DBIERR_INVALIDTABLE (Word)(10056)
#define DBIERR_MULTIRESULTS (Word)(10057)
#define DBIERR_INVALIDTIME (Word)(10058)
#define DBIERR_INVALIDDATE (Word)(10059)
#define DBIERR_INVALIDTIMESTAMP (Word)(10060)
#define DBIERR_DIFFERENTPATH (Word)(10061)
#define DBIERR_MISMATCHARGS (Word)(10062)
#define DBIERR_FUNCTIONNOTFOUND (Word)(10063)
#define DBIERR_MUSTUSEBASEORDER (Word)(10064)
#define DBIERR_INVALIDPROCEDURENAME (Word)(10065)
#define DBIERR_INVALIDFLDMAP (Word)(10066)
#define ERRCODE_LOCKED (Byte)(1)
#define ERRCODE_UNLOCKFAILED (Byte)(2)
#define ERRCODE_FILEBUSY (Byte)(3)
#define ERRCODE_DIRBUSY (Byte)(4)
#define ERRCODE_FILELOCKED (Byte)(5)
#define ERRCODE_DIRLOCKED (Byte)(6)
#define ERRCODE_ALREADYLOCKED (Byte)(7)
#define ERRCODE_NOTLOCKED (Byte)(8)
#define ERRCODE_LOCKTIMEOUT (Byte)(9)
#define ERRCODE_GROUPLOCKED (Byte)(10)
#define ERRCODE_LOSTTBLLOCK (Byte)(11)
#define ERRCODE_LOSTEXCLACCESS (Byte)(12)
#define ERRCODE_NEEDEXCLACCESS (Byte)(13)
#define ERRCODE_RECGROUPCONFLICT (Byte)(14)
#define ERRCODE_DEADLOCK (Byte)(15)
#define ERRCODE_ACTIVETRAN (Byte)(16)
#define ERRCODE_NOACTIVETRAN (Byte)(17)
#define ERRCODE_RECLOCKFAILED (Byte)(18)
#define ERRCODE_OPTRECLOCKFAILED (Byte)(19)
#define ERRCODE_OPTRECLOCKRECDEL (Byte)(20)
#define ERRCODE_LOCKEDRECS (Byte)(21)
#define ERRCODE_NEEDWRITELOCK (Byte)(22)
#define DBIERR_LOCKED (Word)(10241)
#define DBIERR_UNLOCKFAILED (Word)(10242)
#define DBIERR_FILEBUSY (Word)(10243)
#define DBIERR_DIRBUSY (Word)(10244)
#define DBIERR_FILELOCKED (Word)(10245)
#define DBIERR_DIRLOCKED (Word)(10246)
#define DBIERR_ALREADYLOCKED (Word)(10247)
#define DBIERR_NOTLOCKED (Word)(10248)
#define DBIERR_LOCKTIMEOUT (Word)(10249)
#define DBIERR_GROUPLOCKED (Word)(10250)
#define DBIERR_LOSTTBLLOCK (Word)(10251)
#define DBIERR_LOSTEXCLACCESS (Word)(10252)
#define DBIERR_NEEDEXCLACCESS (Word)(10253)
#define DBIERR_RECGROUPCONFLICT (Word)(10254)
#define DBIERR_DEADLOCK (Word)(10255)
#define DBIERR_ACTIVETRAN (Word)(10256)
#define DBIERR_NOACTIVETRAN (Word)(10257)
#define DBIERR_RECLOCKFAILED (Word)(10258)
#define DBIERR_OPTRECLOCKFAILED (Word)(10259)
#define DBIERR_OPTRECLOCKRECDEL (Word)(10260)
#define ERRCODE_NOTSUFFFIELDRIGHTS (Byte)(1)
#define ERRCODE_NOTSUFFTABLERIGHTS (Byte)(2)
#define ERRCODE_NOTSUFFFAMILYRIGHTS (Byte)(3)
#define ERRCODE_READONLYDIR (Byte)(4)
#define ERRCODE_READONLYDB (Byte)(5)
#define ERRCODE_READONLYFLD (Byte)(6)
#define ERRCODE_TBLENCRYPTED (Byte)(7)
#define ERRCODE_NOTSUFFSQLRIGHTS (Byte)(8)
#define DBIERR_NOTSUFFFIELDRIGHTS (Word)(10497)
#define DBIERR_NOTSUFFTABLERIGHTS (Word)(10498)
#define DBIERR_NOTSUFFFAMILYRIGHTS (Word)(10499)
#define DBIERR_READONLYDIR (Word)(10500)
#define DBIERR_READONLYDB (Word)(10501)
#define DBIERR_READONLYFLD (Word)(10502)
#define DBIERR_TBLENCRYPTED (Word)(10503)
#define DBIERR_NOTSUFFSQLRIGHTS (Word)(10504)
#define ERRCODE_NOTABLOB (Byte)(1)
#define ERRCODE_BLOBOPENED (Byte)(2)
#define ERRCODE_BLOBNOTOPENED (Byte)(3)
#define ERRCODE_NA (Byte)(4)
#define ERRCODE_NOTINDEXED (Byte)(5)
#define ERRCODE_NOTINITIALIZED (Byte)(6)
#define ERRCODE_MULTIPLEINIT (Byte)(7)
#define ERRCODE_NOTSAMESESSION (Byte)(8)
#define ERRCODE_PDXDRIVERNOTACTIVE (Byte)(9)
#define ERRCODE_DRIVERNOTLOADED (Byte)(10)
#define ERRCODE_TABLEREADONLY (Byte)(11)
#define ERRCODE_NOASSOCINDEX (Byte)(12)
#define ERRCODE_HASOPENCURSORS (Byte)(13)
#define ERRCODE_NOTABLESUPPORT (Byte)(14)
#define ERRCODE_INDEXREADONLY (Byte)(15)
#define ERRCODE_NOUNIQUERECS (Byte)(16)
#define ERRCODE_NOTCURSESSION (Byte)(17)
#define ERRCODE_INVALIDKEYWORD (Byte)(18)
#define ERRCODE_CONNECTINUSE (Byte)(19)
#define ERRCODE_CONNECTNOTSHARED (Byte)(20)
#define DBIERR_NOTABLOB (Word)(10753)
#define DBIERR_BLOBOPENED (Word)(10754)
#define DBIERR_BLOBNOTOPENED (Word)(10755)
#define DBIERR_NA (Word)(10756)
#define DBIERR_NOTINDEXED (Word)(10757)
#define DBIERR_NOTINITIALIZED (Word)(10758)
#define DBIERR_MULTIPLEINIT (Word)(10759)
#define DBIERR_NOTSAMESESSION (Word)(10760)
#define DBIERR_PDXDRIVERNOTACTIVE (Word)(10761)
#define DBIERR_DRIVERNOTLOADED (Word)(10762)
#define DBIERR_TABLEREADONLY (Word)(10763)
#define DBIERR_NOASSOCINDEX (Word)(10764)
#define DBIERR_HASOPENCURSORS (Word)(10765)
#define DBIERR_NOTABLESUPPORT (Word)(10766)
#define DBIERR_INDEXREADONLY (Word)(10767)
#define DBIERR_NOUNIQUERECS (Word)(10768)
#define DBIERR_NOTCURSESSION (Word)(10769)
#define DBIERR_INVALIDKEYWORD (Word)(10770)
#define DBIERR_CONNECTINUSE (Word)(10771)
#define DBIERR_CONNECTNOTSHARED (Word)(10772)
#define ERRCODE_OSEINVFNC (Byte)(1)
#define ERRCODE_OSENOENT (Byte)(2)
#define ERRCODE_OSENOPATH (Byte)(3)
#define ERRCODE_OSEMFILE (Byte)(4)
#define ERRCODE_OSEACCES (Byte)(5)
#define ERRCODE_OSEBADF (Byte)(6)
#define ERRCODE_OSECONTR (Byte)(7)
#define ERRCODE_OSENOMEM (Byte)(8)
#define ERRCODE_OSEINVMEM (Byte)(9)
#define ERRCODE_OSEINVENV (Byte)(10)
#define ERRCODE_OSEINVFMT (Byte)(11)
#define ERRCODE_OSEINVACC (Byte)(12)
#define ERRCODE_OSEINVDAT (Byte)(13)
#define ERRCODE_OSENODEV (Byte)(15)
#define ERRCODE_OSECURDIR (Byte)(16)
#define ERRCODE_OSENOTSAM (Byte)(17)
#define ERRCODE_OSENMFILE (Byte)(18)
#define ERRCODE_OSEINVAL (Byte)(19)
#define ERRCODE_OSE2BIG (Byte)(20)
#define ERRCODE_OSENOEXEC (Byte)(21)
#define ERRCODE_OSEXDEV (Byte)(22)
#define ERRCODE_OSEDOM (Byte)(33)
#define ERRCODE_OSERANGE (Byte)(34)
#define ERRCODE_OSEEXIST (Byte)(35)
#define ERRCODE_OSUNKNOWN (Byte)(39)
#define ERRCODE_OSSHAREVIOL (Byte)(50)
#define ERRCODE_OSLOCKVIOL (Byte)(51)
#define ERRCODE_OSINT24FAIL (Byte)(52)
#define ERRCODE_OSDRIVENOTREADY (Byte)(53)
#define ERRCODE_NOTEXACT (Byte)(100)
#define ERRCODE_OSNETERR (Byte)(101)
#define ERRCODE_OSUNKNOWNSRVERR (Byte)(102)
#define ERRCODE_SERVERNOMEMORY (Byte)(103)
#define ERRCODE_OSALREADYLOCKED (Byte)(104)
#define ERRCODE_OSNOTLOCKED (Byte)(105)
#define ERRCODE_NOSERVERSW (Byte)(106)
#define DBIERR_OSEINVFNC (Word)(11009)
#define DBIERR_OSENOENT (Word)(11010)
#define DBIERR_OSENOPATH (Word)(11011)
#define DBIERR_OSEMFILE (Word)(11012)
#define DBIERR_OSEACCES (Word)(11013)
#define DBIERR_OSEBADF (Word)(11014)
#define DBIERR_OSECONTR (Word)(11015)
#define DBIERR_OSENOMEM (Word)(11016)
#define DBIERR_OSEINVMEM (Word)(11017)
#define DBIERR_OSEINVENV (Word)(11018)
#define DBIERR_OSEINVFMT (Word)(11019)
#define DBIERR_OSEINVACC (Word)(11020)
#define DBIERR_OSEINVDAT (Word)(11021)
#define DBIERR_OSENODEV (Word)(11023)
#define DBIERR_OSECURDIR (Word)(11024)
#define DBIERR_OSENOTSAM (Word)(11025)
#define DBIERR_OSENMFILE (Word)(11026)
#define DBIERR_OSEINVAL (Word)(11027)
#define DBIERR_OSE2BIG (Word)(11028)
#define DBIERR_OSENOEXEC (Word)(11029)
#define DBIERR_OSEXDEV (Word)(11030)
#define DBIERR_OSEDOM (Word)(11041)
#define DBIERR_OSERANGE (Word)(11042)
#define DBIERR_OSEEXIST (Word)(11043)
#define DBIERR_OSUNKNOWN (Word)(11047)
#define DBIERR_OSSHAREVIOL (Word)(11058)
#define DBIERR_OSLOCKVIOL (Word)(11059)
#define DBIERR_OSNETERR (Word)(11109)
#define DBIERR_OSINT24FAIL (Word)(11060)
#define DBIERR_OSDRIVENOTREADY (Word)(11061)
#define DBIERR_NOTEXACT (Word)(11108)
#define DBIERR_OSUNKNOWNSRVERR (Word)(11110)
#define DBIERR_SERVERNOMEMORY (Word)(11111)
#define DBIERR_OSALREADYLOCKED (Word)(11112)
#define DBIERR_OSNOTLOCKED (Word)(11113)
#define DBIERR_NOSERVERSW (Word)(11114)
#define ERRCODE_NETINITERR (Byte)(1)
#define ERRCODE_NETUSERLIMIT (Byte)(2)
#define ERRCODE_NETFILEVERSION (Byte)(3)
#define ERRCODE_NETFILELOCKED (Byte)(4)
#define ERRCODE_DIRNOTPRIVATE (Byte)(5)
#define ERRCODE_NETMULTIPLE (Byte)(6)
#define ERRCODE_NETUNKNOWN (Byte)(7)
#define ERRCODE_SHAREDFILE (Byte)(8)
#define ERRCODE_SHARENOTLOADED (Byte)(9)
#define ERRCODE_NOTONANETWORK (Byte)(10)
#define ERRCODE_SQLCOMMLOST (Byte)(11)
#define ERRCODE_SERVERCOMMLOST (Byte)(12)
#define ERRCODE_SQLSERVERNOTFOUND (Byte)(13)
#define ERRCODE_SERVERNOTFOUND (Byte)(14)
#define DBIERR_NETINITERR (Word)(11265)
#define DBIERR_NETUSERLIMIT (Word)(11266)
#define DBIERR_NETFILEVERSION (Word)(11267)
#define DBIERR_NETFILELOCKED (Word)(11268)
#define DBIERR_DIRNOTPRIVATE (Word)(11269)
#define DBIERR_NETMULTIPLE (Word)(11270)
#define DBIERR_NETUNKNOWN (Word)(11271)
#define DBIERR_SHAREDFILE (Word)(11272)
#define DBIERR_SHARENOTLOADED (Word)(11273)
#define DBIERR_NOTONANETWORK (Word)(11274)
#define DBIERR_SQLCOMMLOST (Word)(11275)
#define DBIERR_SERVERCOMMLOST (Word)(11276)
#define DBIERR_SQLSERVERNOTFOUND (Word)(11277)
#define DBIERR_SERVERNOTFOUND (Word)(11278)
#define ERRCODE_WRONGDRVNAME (Byte)(1)
#define ERRCODE_WRONGSYSVER (Byte)(2)
#define ERRCODE_WRONGDRVVER (Byte)(3)
#define ERRCODE_WRONGDRVTYPE (Byte)(4)
#define ERRCODE_CANNOTLOADDRV (Byte)(5)
#define ERRCODE_CANNOTLOADLDDRV (Byte)(6)
#define ERRCODE_VENDINITFAIL (Byte)(7)
#define ERRCODE_DRIVERRESTRICTED (Byte)(8)
#define DBIERR_WRONGDRVNAME (Word)(15873)
#define DBIERR_WRONGSYSVER (Word)(15874)
#define DBIERR_WRONGDRVVER (Word)(15875)
#define DBIERR_WRONGDRVTYPE (Word)(15876)
#define DBIERR_CANNOTLOADDRV (Word)(15877)
#define DBIERR_CANNOTLOADLDDRV (Word)(15878)
#define DBIERR_VENDINITFAIL (Word)(15879)
#define DBIERR_DRIVERRESTRICTED (Word)(15880)
#define DBICODE_AMBJOASY (Byte)(1)
#define DBICODE_AMBJOSYM (Byte)(2)
#define DBICODE_AMBOUTEX (Byte)(3)
#define DBICODE_AMBOUTPR (Byte)(4)
#define DBICODE_AMBSYMAS (Byte)(5)
#define DBICODE_ASETOPER (Byte)(6)
#define DBICODE_AVENUMDA (Byte)(7)
#define DBICODE_BADEXPR1 (Byte)(8)
#define DBICODE_BADFLDOR (Byte)(9)
#define DBICODE_BADVNAME (Byte)(10)
#define DBICODE_BITMAPER (Byte)(11)
#define DBICODE_CALCBADR (Byte)(12)
#define DBICODE_CALCTYPE (Byte)(13)
#define DBICODE_CHGTO1TI (Byte)(14)
#define DBICODE_CHGTOCHG (Byte)(15)
#define DBICODE_CHGTOEXP (Byte)(16)
#define DBICODE_CHGTOINS (Byte)(17)
#define DBICODE_CHGTONEW (Byte)(18)
#define DBICODE_CHGTOVAL (Byte)(19)
#define DBICODE_CHKMRKFI (Byte)(20)
#define DBICODE_CHNAMBIG (Byte)(21)
#define DBICODE_CHUNKERR (Byte)(22)
#define DBICODE_COLUM255 (Byte)(23)
#define DBICODE_CONAFTAS (Byte)(24)
#define DBICODE_DEL1TIME (Byte)(25)
#define DBICODE_DELAMBIG (Byte)(26)
#define DBICODE_DELFRDEL (Byte)(27)
#define DBICODE_EGFLDTYP (Byte)(28)
#define DBICODE_EXAMINOR (Byte)(29)
#define DBICODE_EXPRTYPS (Byte)(30)
#define DBICODE_EXTRACOM (Byte)(31)
#define DBICODE_EXTRAORO (Byte)(32)
#define DBICODE_EXTRAQRO (Byte)(33)
#define DBICODE_FIND1ATT (Byte)(34)
#define DBICODE_FINDANST (Byte)(35)
#define DBICODE_GRPNOSET (Byte)(36)
#define DBICODE_GRPSTROW (Byte)(37)
#define DBICODE_IDFINLCO (Byte)(38)
#define DBICODE_IDFPERLI (Byte)(39)
#define DBICODE_INANEXPR (Byte)(40)
#define DBICODE_INS1TIME (Byte)(41)
#define DBICODE_INSAMBIG (Byte)(42)
#define DBICODE_INSDELCH (Byte)(43)
#define DBICODE_INSEXPRR (Byte)(44)
#define DBICODE_INSTOINS (Byte)(45)
#define DBICODE_ISARRAY (Byte)(46)
#define DBICODE_LABELERR (Byte)(47)
#define DBICODE_LINKCALC (Byte)(48)
#define DBICODE_LNGVNAME (Byte)(49)
#define DBICODE_LONGQURY (Byte)(50)
#define DBICODE_MEMVPROC (Byte)(51)
#define DBICODE_MISNGCOM (Byte)(52)
#define DBICODE_MISNGRPA (Byte)(53)
#define DBICODE_MISSRTQU (Byte)(54)
#define DBICODE_NAMTWICE (Byte)(55)
#define DBICODE_NOCHKMAR (Byte)(56)
#define DBICODE_NODEFOCC (Byte)(57)
#define DBICODE_NOGROUPS (Byte)(58)
#define DBICODE_NONSENSE (Byte)(59)
#define DBICODE_NOPATTER (Byte)(60)
#define DBICODE_NOSUCHDA (Byte)(61)
#define DBICODE_NOVALUE (Byte)(62)
#define DBICODE_ONLYCONS (Byte)(63)
#define DBICODE_ONLYSETR (Byte)(64)
#define DBICODE_OUTSENS1 (Byte)(65)
#define DBICODE_OUTTWIC1 (Byte)(66)
#define DBICODE_PAROWCNT (Byte)(67)
#define DBICODE_PERSEPAR (Byte)(68)
#define DBICODE_PROCPLSW (Byte)(69)
#define DBICODE_PWINSRTS (Byte)(70)
#define DBICODE_PWMODRTS (Byte)(71)
#define DBICODE_QBEFLDFOUND (Byte)(72)
#define DBICODE_QBENOFENCE (Byte)(73)
#define DBICODE_QBENOFENCET (Byte)(74)
#define DBICODE_QBENOHEADERT (Byte)(75)
#define DBICODE_QBENOTAB (Byte)(76)
#define DBICODE_QBENUMCOLS (Byte)(77)
#define DBICODE_QBEOPENTAB (Byte)(78)
#define DBICODE_QBETWICE (Byte)(79)
#define DBICODE_QRYNOANSWER (Byte)(80)
#define DBICODE_QRYNOTPREP (Byte)(81)
#define DBICODE_QUAINDEL (Byte)(82)
#define DBICODE_QUAININS (Byte)(83)
#define DBICODE_RAGININS (Byte)(84)
#define DBICODE_RAGINSET (Byte)(85)
#define DBICODE_ROWUSERR (Byte)(86)
#define DBICODE_SETEXPEC (Byte)(87)
#define DBICODE_SETVAMB1 (Byte)(88)
#define DBICODE_SETVBAD1 (Byte)(89)
#define DBICODE_SETVDEF1 (Byte)(90)
#define DBICODE_SUMNUMBE (Byte)(91)
#define DBICODE_TBLISWP3 (Byte)(92)
#define DBICODE_TOKENNOT (Byte)(93)
#define DBICODE_TWOOUTR1 (Byte)(94)
#define DBICODE_TYPEMISM (Byte)(95)
#define DBICODE_UNRELQ1 (Byte)(96)
#define DBICODE_UNUSEDST (Byte)(97)
#define DBICODE_USEINSDE (Byte)(98)
#define DBICODE_USEOFCHG (Byte)(99)
#define DBICODE_VARMUSTF (Byte)(100)
#define DBICODE_REGISTER (Byte)(101)
#define DBICODE_LONGEXPR (Byte)(102)
#define DBICODE_REFRESH (Byte)(103)
#define DBICODE_CANCEXCEPT (Byte)(104)
#define DBICODE_DBEXCEPT (Byte)(105)
#define DBICODE_MEMEXCEPT (Byte)(106)
#define DBICODE_FATALEXCEPT (Byte)(107)
#define DBICODE_QRYNIY (Byte)(108)
#define DBICODE_BADFORMAT (Byte)(109)
#define DBICODE_QRYEMPTY (Byte)(110)
#define DBICODE_NOQRYTOPREP (Byte)(111)
#define DBICODE_BUFFTOOSMALL (Byte)(112)
#define DBICODE_QRYNOTPARSE (Byte)(113)
#define DBICODE_NOTHANDLE (Byte)(114)
#define DBICODE_QRYSYNTERR (Byte)(115)
#define DBICODE_QXFLDCOUNT (Byte)(116)
#define DBICODE_QXFLDSYMNOTFOUND (Byte)(117)
#define DBICODE_QXTBLSYMNOTFOUND (Byte)(118)
#define DBICODE_BLOBTERM (Byte)(119)
#define DBICODE_BLOBERR (Byte)(120)
#define DBICODE_RESTARTQRY (Byte)(121)
#define DBICODE_UNKNOWNANSTYPE (Byte)(122)
#define DBICODE_SQLG_MDIST (Byte)(123)
#define DBICODE_SQLG_NOARI (Byte)(124)
#define DBICODE_SQLG_LIKEN (Byte)(125)
#define DBICODE_SQLG_ALPHO (Byte)(126)
#define DBICODE_SQLG_DATEO (Byte)(127)
#define DBICODE_SQLG_RELOP (Byte)(128)
#define DBICODE_SQLG_ONLYC (Byte)(129)
#define DBICODE_SQLG_CNTLN (Byte)(130)
#define DBICODE_SQLG_CHINI (Byte)(131)
#define DBICODE_SQLG_UNION (Byte)(132)
#define DBICODE_SQLG_SLFIN (Byte)(133)
#define DBICODE_SQLG_OTJVR (Byte)(134)
#define DBICODE_SQLG_STROW (Byte)(135)
#define DBICODE_SQLG_QUANT (Byte)(136)
#define DBICODE_SQLG_REGSO (Byte)(137)
#define DBICODE_SQLG_COUNT (Byte)(138)
#define DBICODE_SQLG_AVERA (Byte)(139)
#define DBICODE_SQLG_DATEA (Byte)(140)
#define DBICODE_SQLG_BADPT (Byte)(141)
#define DBICODE_SQLG_RELPA (Byte)(142)
#define DBICODE_SQLG_PATRN (Byte)(143)
#define DBICODE_SQLG_FNDSU (Byte)(144)
#define DBICODE_SQLG_IFDCS (Byte)(145)
#define DBICODE_SQLG_IDCCO (Byte)(146)
#define DBICODE_SQLG_ONLYI (Byte)(147)
#define DBICODE_SQLG_SQLDIALECT (Byte)(148)
#define DBICODE_SQLG_NOQUERY (Byte)(149)
#define DBICODE_BLOBGROUP (Byte)(150)
#define DBICODE_QRYNOPROP (Byte)(151)
#define DBICODE_ANSTYPNOTSUP (Byte)(152)
#define DBICODE_ANSALIASNOTSUP (Byte)(153)
#define DBICODE_INSBLOBREQ (Byte)(154)
#define DBICODE_CHGUNIQUENDXREQ (Byte)(155)
#define DBICODE_DELUNIQUENDXREQ (Byte)(156)
#define DBICODE_SQLNOFULLUPDATE (Byte)(157)
#define DBICODE_CANTEXECREMOTE (Byte)(158)
#define DBICODE_UNEXPECTEDEOC (Byte)(159)
#define DBICODE_SQLPARAMNOTSET (Byte)(160)
#define DBICODE_QUERYTOOLONG (Byte)(161)
#define DBICODE_NOSUCHRELORALIAS (Byte)(170)
#define DBICODE_TYPEAMBIGUITY (Byte)(171)
#define DBICODE_ORDERBYNOTAPROJ (Byte)(172)
#define DBICODE_SQLPARSE (Byte)(173)
#define DBICODE_CONSTRAINTFAILED (Byte)(174)
#define DBICODE_NOTGROUPINGFIELD (Byte)(175)
#define DBICODE_UDFNOTDEFINED (Byte)(176)
#define DBICODE_UDFERROR (Byte)(177)
#define DBICODE_SINGLEROWERROR (Byte)(178)
#define DBICODE_GROUPEXPR (Byte)(179)
#define DBICODE_QUERYTEXT (Byte)(180)
#define DBICODE_ANSIJOINSUP (Byte)(181)
#define DBICODE_DISTUNION (Byte)(182)
#define DBICODE_GROUPBYREQ (Byte)(183)
#define DBICODE_INSUPDAUTOIC (Byte)(184)
#define DBICODE_UPDREFINTSINGLE (Byte)(185)
#define DBIERR_AMBJOASY (Word)(11777)
#define DBIERR_AMBJOSYM (Word)(11778)
#define DBIERR_AMBOUTEX (Word)(11779)
#define DBIERR_AMBOUTPR (Word)(11780)
#define DBIERR_AMBSYMAS (Word)(11781)
#define DBIERR_ASETOPER (Word)(11782)
#define DBIERR_AVENUMDA (Word)(11783)
#define DBIERR_BADEXPR1 (Word)(11784)
#define DBIERR_BADFLDOR (Word)(11785)
#define DBIERR_BADVNAME (Word)(11786)
#define DBIERR_BITMAPER (Word)(11787)
#define DBIERR_CALCBADR (Word)(11788)
#define DBIERR_CALCTYPE (Word)(11789)
#define DBIERR_CHGTO1TI (Word)(11790)
#define DBIERR_CHGTOCHG (Word)(11791)
#define DBIERR_CHGTOEXP (Word)(11792)
#define DBIERR_CHGTOINS (Word)(11793)
#define DBIERR_CHGTONEW (Word)(11794)
#define DBIERR_CHGTOVAL (Word)(11795)
#define DBIERR_CHKMRKFI (Word)(11796)
#define DBIERR_CHNAMBIG (Word)(11797)
#define DBIERR_CHUNKERR (Word)(11798)
#define DBIERR_COLUM255 (Word)(11799)
#define DBIERR_CONAFTAS (Word)(11800)
#define DBIERR_DEL1TIME (Word)(11801)
#define DBIERR_DELAMBIG (Word)(11802)
#define DBIERR_DELFRDEL (Word)(11803)
#define DBIERR_EGFLDTYP (Word)(11804)
#define DBIERR_EXAMINOR (Word)(11805)
#define DBIERR_EXPRTYPS (Word)(11806)
#define DBIERR_EXTRACOM (Word)(11807)
#define DBIERR_EXTRAORO (Word)(11808)
#define DBIERR_EXTRAQRO (Word)(11809)
#define DBIERR_FIND1ATT (Word)(11810)
#define DBIERR_FINDANST (Word)(11811)
#define DBIERR_GRPNOSET (Word)(11812)
#define DBIERR_GRPSTROW (Word)(11813)
#define DBIERR_IDFINLCO (Word)(11814)
#define DBIERR_IDFPERLI (Word)(11815)
#define DBIERR_INANEXPR (Word)(11816)
#define DBIERR_INS1TIME (Word)(11817)
#define DBIERR_INSAMBIG (Word)(11818)
#define DBIERR_INSDELCH (Word)(11819)
#define DBIERR_INSEXPRR (Word)(11820)
#define DBIERR_INSTOINS (Word)(11821)
#define DBIERR_ISARRAY (Word)(11822)
#define DBIERR_LABELERR (Word)(11823)
#define DBIERR_LINKCALC (Word)(11824)
#define DBIERR_LNGVNAME (Word)(11825)
#define DBIERR_LONGQURY (Word)(11826)
#define DBIERR_MEMVPROC (Word)(11827)
#define DBIERR_MISNGCOM (Word)(11828)
#define DBIERR_MISNGRPA (Word)(11829)
#define DBIERR_MISSRTQU (Word)(11830)
#define DBIERR_NAMTWICE (Word)(11831)
#define DBIERR_NOCHKMAR (Word)(11832)
#define DBIERR_NODEFOCC (Word)(11833)
#define DBIERR_NOGROUPS (Word)(11834)
#define DBIERR_NONSENSE (Word)(11835)
#define DBIERR_NOPATTER (Word)(11836)
#define DBIERR_NOSUCHDA (Word)(11837)
#define DBIERR_NOVALUE (Word)(11838)
#define DBIERR_ONLYCONS (Word)(11839)
#define DBIERR_ONLYSETR (Word)(11840)
#define DBIERR_OUTSENS1 (Word)(11841)
#define DBIERR_OUTTWIC1 (Word)(11842)
#define DBIERR_PAROWCNT (Word)(11843)
#define DBIERR_PERSEPAR (Word)(11844)
#define DBIERR_PROCPLSW (Word)(11845)
#define DBIERR_PWINSRTS (Word)(11846)
#define DBIERR_PWMODRTS (Word)(11847)
#define DBIERR_QBEFLDFOUND (Word)(11848)
#define DBIERR_QBENOFENCE (Word)(11849)
#define DBIERR_QBENOFENCET (Word)(11850)
#define DBIERR_QBENOHEADERT (Word)(11851)
#define DBIERR_QBENOTAB (Word)(11852)
#define DBIERR_QBENUMCOLS (Word)(11853)
#define DBIERR_QBEOPENTAB (Word)(11854)
#define DBIERR_QBETWICE (Word)(11855)
#define DBIERR_QRYNOANSWER (Word)(11856)
#define DBIERR_QRYNOTPREP (Word)(11857)
#define DBIERR_QUAINDEL (Word)(11858)
#define DBIERR_QUAININS (Word)(11859)
#define DBIERR_RAGININS (Word)(11860)
#define DBIERR_RAGINSET (Word)(11861)
#define DBIERR_ROWUSERR (Word)(11862)
#define DBIERR_SETEXPEC (Word)(11863)
#define DBIERR_SETVAMB1 (Word)(11864)
#define DBIERR_SETVBAD1 (Word)(11865)
#define DBIERR_SETVDEF1 (Word)(11866)
#define DBIERR_SUMNUMBE (Word)(11867)
#define DBIERR_TBLISWP3 (Word)(11868)
#define DBIERR_TOKENNOT (Word)(11869)
#define DBIERR_TWOOUTR1 (Word)(11870)
#define DBIERR_TYPEMISM (Word)(11871)
#define DBIERR_UNRELQ1 (Word)(11872)
#define DBIERR_UNUSEDST (Word)(11873)
#define DBIERR_USEINSDE (Word)(11874)
#define DBIERR_USEOFCHG (Word)(11875)
#define DBIERR_VARMUSTF (Word)(11876)
#define DBIERR_REGISTER (Word)(11877)
#define DBIERR_LONGEXPR (Word)(11878)
#define DBIERR_REFRESH (Word)(11879)
#define DBIERR_CANCEXCEPT (Word)(11880)
#define DBIERR_DBEXCEPT (Word)(11881)
#define DBIERR_MEMEXCEPT (Word)(11882)
#define DBIERR_FATALEXCEPT (Word)(11883)
#define DBIERR_QRYNIY (Word)(11884)
#define DBIERR_BADFORMAT (Word)(11885)
#define DBIERR_QRYEMPTY (Word)(11886)
#define DBIERR_NOQRYTOPREP (Word)(11887)
#define DBIERR_BUFFTOOSMALL (Word)(11888)
#define DBIERR_QRYNOTPARSE (Word)(11889)
#define DBIERR_NOTHANDLE (Word)(11890)
#define DBIERR_QRYSYNTERR (Word)(11891)
#define DBIERR_QXFLDCOUNT (Word)(11892)
#define DBIERR_QXFLDSYMNOTFOUND (Word)(11893)
#define DBIERR_QXTBLSYMNOTFOUND (Word)(11894)
#define DBIERR_BLOBTERM (Word)(11895)
#define DBIERR_BLOBERR (Word)(11896)
#define DBIERR_RESTARTQRY (Word)(11897)
#define DBIERR_UNKNOWNANSTYPE (Word)(11898)
#define DBIERR_SQLG_MDIST (Word)(11899)
#define DBIERR_SQLG_NOARI (Word)(11900)
#define DBIERR_SQLG_LIKEN (Word)(11901)
#define DBIERR_SQLG_ALPHO (Word)(11902)
#define DBIERR_SQLG_DATEO (Word)(11903)
#define DBIERR_SQLG_RELOP (Word)(11904)
#define DBIERR_SQLG_ONLYC (Word)(11905)
#define DBIERR_SQLG_CNTLN (Word)(11906)
#define DBIERR_SQLG_CHINI (Word)(11907)
#define DBIERR_SQLG_UNION (Word)(11908)
#define DBIERR_SQLG_SLFIN (Word)(11909)
#define DBIERR_SQLG_OTJVR (Word)(11910)
#define DBIERR_SQLG_STROW (Word)(11911)
#define DBIERR_SQLG_QUANT (Word)(11912)
#define DBIERR_SQLG_REGSO (Word)(11913)
#define DBIERR_SQLG_COUNT (Word)(11914)
#define DBIERR_SQLG_AVERA (Word)(11915)
#define DBIERR_SQLG_DATEA (Word)(11916)
#define DBIERR_SQLG_BADPT (Word)(11917)
#define DBIERR_SQLG_RELPA (Word)(11918)
#define DBIERR_SQLG_PATRN (Word)(11919)
#define DBIERR_SQLG_FNDSU (Word)(11920)
#define DBIERR_SQLG_IFDCS (Word)(11921)
#define DBIERR_SQLG_IDCCO (Word)(11922)
#define DBIERR_SQLG_ONLYI (Word)(11923)
#define DBIERR_SQLG_SQLDIALECT (Word)(11924)
#define DBIERR_SQLG_NOQUERY (Word)(11925)
#define DBIERR_BLOBGROUP (Word)(11926)
#define DBIERR_QRYNOPROP (Word)(11927)
#define DBIERR_ANSTYPNOTSUP (Word)(11928)
#define DBIERR_ANSALIASNOTSUP (Word)(11929)
#define DBIERR_INSBLOBREQ (Word)(11930)
#define DBIERR_CHGUNIQUENDXREQ (Word)(11931)
#define DBIERR_DELUNIQUENDXREQ (Word)(11932)
#define DBIERR_SQLNOFULLUPDATE (Word)(11933)
#define DBIERR_CANTEXECREMOTE (Word)(11934)
#define DBIERR_UNEXPECTEDEOC (Word)(11935)
#define DBIERR_SQLPARAMNOTSET (Word)(11936)
#define DBIERR_QUERYTOOLONG (Word)(11937)
#define DBIERR_NOSUCHRELORALIAS (Word)(11946)
#define DBIERR_TYPEAMBIGUITY (Word)(11947)
#define DBIERR_ORDERBYNOTAPROJ (Word)(11948)
#define DBIERR_SQLPARSE (Word)(11949)
#define DBIERR_CONSTRAINTFAILED (Word)(11950)
#define DBIERR_NOTGROUPINGFIELD (Word)(11951)
#define DBIERR_UDFNOTDEFINED (Word)(11952)
#define DBIERR_UDFERROR (Word)(11953)
#define DBIERR_SINGLEROWERROR (Word)(11954)
#define DBIERR_GROUPEXPR (Word)(11955)
#define DBIERR_QUERYTEXT (Word)(11956)
#define DBIERR_ANSIJOINSUP (Word)(11957)
#define DBIERR_DISTUNION (Word)(11958)
#define DBIERR_GROUPBYREQ (Word)(11959)
#define DBIERR_INSUPDAUTOINC (Word)(11960)
#define DBIERR_UPDREFINTSINGLE (Word)(11961)
#define ERRCODE_INTERFACEVER (Byte)(1)
#define ERRCODE_INDEXOUTOFDATE (Byte)(2)
#define ERRCODE_OLDVERSION (Byte)(3)
#define ERRCODE_VALFILEINVALID (Byte)(4)
#define ERRCODE_BLOBVERSION (Byte)(5)
#define ERRCODE_ENGQRYMISMATCH (Byte)(6)
#define ERRCODE_SERVERVERSION (Byte)(7)
#define ERRCODE_TABLELEVEL (Byte)(8)
#define DBIERR_INTERFACEVER (Word)(12033)
#define DBIERR_INDEXOUTOFDATE (Word)(12034)
#define DBIERR_OLDVERSION (Word)(12035)
#define DBIERR_VALFILEINVALID (Word)(12036)
#define DBIERR_BLOBVERSION (Word)(12037)
#define DBIERR_ENGQRYMISMATCH (Word)(12038)
#define DBIERR_SERVERVERSION (Word)(12039)
#define DBIERR_TABLELEVEL (Word)(12040)
#define ERRCODE_NOTSUPPORTED (Byte)(1)
#define ERRCODE_NIY (Byte)(2)
#define ERRCODE_TABLESQL (Byte)(3)
#define ERRCODE_SEARCHCOLREQD (Byte)(4)
#define ERRCODE_NOMULTCONNECT (Byte)(5)
#define ERRCODE_NODBASEEXPR (Byte)(6)
#define DBIERR_NOTSUPPORTED (Word)(12289)
#define DBIERR_NIY (Word)(12290)
#define DBIERR_TABLESQL (Word)(12291)
#define DBIERR_SEARCHCOLREQD (Word)(12292)
#define DBIERR_NOMULTCONNECT (Word)(12293)
#define DBIERR_NODBASEEXPR (Word)(12294)
#define ERRCODE_INVALIDDBSPEC (Byte)(1)
#define ERRCODE_UNKNOWNDBTYPE (Byte)(2)
#define ERRCODE_INVALIDSYSDATA (Byte)(3)
#define ERRCODE_UNKNOWNNETTYPE (Byte)(4)
#define ERRCODE_NOTONTHATNET (Byte)(5)
#define ERRCODE_INVALIDCFGPARAM (Byte)(6)
#define DBIERR_INVALIDDBSPEC (Word)(12545)
#define DBIERR_UNKNOWNDBTYPE (Word)(12546)
#define DBIERR_INVALIDSYSDATA (Word)(12547)
#define DBIERR_UNKNOWNNETTYPE (Word)(12548)
#define DBIERR_NOTONTHATNET (Word)(12549)
#define DBIERR_INVALIDCFGPARAM (Word)(12550)
#define ERRCODE_OBJIMPLICITLYDROPPED (Byte)(1)
#define ERRCODE_OBJMAYBETRUNCATED (Byte)(2)
#define ERRCODE_OBJIMPLICITLYMODIFIED (Byte)(3)
#define ERRCODE_VALIDATEDATA (Byte)(4)
#define ERRCODE_VALFIELDMODIFIED (Byte)(5)
#define ERRCODE_TABLELEVELCHANGED (Byte)(6)
#define ERRCODE_COPYLINKEDTABLES (Byte)(7)
#define ERRCODE_OTHERSERVERLOADED (Byte)(8)
#define ERRCODE_OBJIMPLICITLYTRUNCATED (Byte)(9)
#define ERRCODE_VCHKMAYNOTBEENFORCED (Byte)(10)
#define ERRCODE_MULTIPLEUNIQRECS (Byte)(11)
#define ERRCODE_FIELDMUSTBETRIMMED (Byte)(12)
#define DBIERR_OBJIMPLICITLYDROPPED (Word)(12801)
#define DBIERR_OBJMAYBETRUNCATED (Word)(12802)
#define DBIERR_OBJIMPLICITLYMODIFIED (Word)(12803)
#define DBIERR_VALIDATEDATA (Word)(12804)
#define DBIERR_VALFIELDMODIFIED (Word)(12805)
#define DBIERR_TABLELEVELCHANGED (Word)(12806)
#define DBIERR_COPYLINKEDTABLES (Word)(12807)
#define DBIERR_OTHERSERVERLOADED (Word)(12808)
#define DBIERR_OBJIMPLICITLYTRUNCATED (Word)(12809)
#define DBIERR_VCHKMAYNOTBEENFORCED (Word)(12810)
#define DBIERR_MULTIPLEUNIQRECS (Word)(12811)
#define DBIERR_FIELDMUSTBETRIMMED (Word)(12812)
#define ERRCODE_FILEEXISTS (Byte)(1)
#define ERRCODE_BLOBMODIFIED (Byte)(2)
#define ERRCODE_UNKNOWNSQL (Byte)(3)
#define ERRCODE_TABLEEXISTS (Byte)(4)
#define ERRCODE_PDX10TABLE (Byte)(5)
#define ERRCODE_UPDATEABORT (Byte)(6)
#define DBIERR_FILEEXISTS (Word)(13057)
#define DBIERR_BLOBMODIFIED (Word)(13058)
#define DBIERR_UNKNOWNSQL (Word)(13059)
#define DBIERR_TABLEEXISTS (Word)(13060)
#define DBIERR_PDX10TABLE (Word)(13061)
#define DBIERR_UPDATEABORT (Word)(13062)
#define ERRCODE_DIFFSORTORDER (Byte)(1)
#define ERRCODE_DIRINUSEBYOLDVER (Byte)(2)
#define ERRCODE_PDX35LDDRIVER (Byte)(3)
#define DBIERR_DIFFSORTORDER (Word)(13313)
#define DBIERR_DIRINUSEBYOLDVER (Word)(13314)
#define DBIERR_PDX35LDDRIVER (Word)(13315)
#define ERRCODE_REQOPTPARAM (Byte)(1)
#define ERRCODE_INVALIDOPTPARAM (Byte)(2)
#define DBIERR_REQOPTPARAM (Word)(11521)
#define DBIERR_INVALIDOPTPARAM (Word)(11522)
#define ERRCODE_REPOSITORYCORRUPT (Byte)(1)
#define ERRCODE_INFOBLOBCORRUPT (Byte)(2)
#define ERRCODE_SCHEMACORRUPT (Byte)(3)
#define ERRCODE_ATTRTYPEEXISTS (Byte)(4)
#define ERRCODE_INVALIDOBJTYPE (Byte)(5)
#define ERRCODE_INVALIDRELATIONTYPE (Byte)(6)
#define ERRCODE_VIEWEXISTS (Byte)(7)
#define ERRCODE_NOSUCHVIEW (Byte)(8)
#define ERRCODE_INVALIDRECCONSTRAINT (Byte)(9)
#define ERRCODE_LDBCONNECTION (Byte)(10)
#define ERRCODE_REPOSITORYEXISTS (Byte)(11)
#define ERRCODE_NOSUCHREPOSITORY (Byte)(12)
#define ERRCODE_REPOSITORYDBMISSING (Byte)(13)
#define ERRCODE_REPOSITORYOUTOFDATE (Byte)(14)
#define ERRCODE_REPOSITORYVERSION (Byte)(15)
#define ERRCODE_REPOSITORYNAME (Byte)(16)
#define ERRCODE_DEPENDENTOBJECTS (Byte)(17)
#define ERRCODE_RELATIONLIMIT (Byte)(18)
#define ERRCODE_RELATIONSHIPSEXIST (Byte)(19)
#define ERRCODE_EXCHANGEFILECORRUPT (Byte)(20)
#define ERRCODE_EXCHANGEFILEVERSION (Byte)(21)
#define ERRCODE_TYPEMISMATCH (Byte)(22)
#define ERRCODE_OBJECTEXISTS (Byte)(23)
#define ERRCODE_REPOSITORYACCESS (Byte)(24)
#define ERRCODE_REPOSITORYCREATE (Byte)(25)
#define ERRCODE_DATABASEOPENFAILED (Byte)(26)
#define DBIERR_REPOSITORYCORRUPT (Word)(13569)
#define DBIERR_INFOBLOBCORRUPT (Word)(13570)
#define DBIERR_SCHEMACORRUPT (Word)(13571)
#define DBIERR_ATTRTYPEEXISTS (Word)(13572)
#define DBIERR_INVALIDOBJTYPE (Word)(13573)
#define DBIERR_INVALIDRELATIONTYPE (Word)(13574)
#define DBIERR_VIEWEXISTS (Word)(13575)
#define DBIERR_NOSUCHVIEW (Word)(13576)
#define DBIERR_INVALIDRECCONSTRAINT (Word)(13577)
#define DBIERR_LDBCONNECTION (Word)(13578)
#define DBIERR_REPOSITORYEXISTS (Word)(13579)
#define DBIERR_NOSUCHREPOSITORY (Word)(13580)
#define DBIERR_REPOSITORYDBMISSING (Word)(13581)
#define DBIERR_REPOSITORYOUTOFDATE (Word)(13582)
#define DBIERR_REPOSITORYVERSION (Word)(13583)
#define DBIERR_REPOSITORYNAME (Word)(13584)
#define DBIERR_DEPENDENTOBJECTS (Word)(13585)
#define DBIERR_RELATIONLIMIT (Word)(13586)
#define DBIERR_RELATIONSHIPSEXIST (Word)(13587)
#define DBIERR_EXCHANGEFILECORRUPT (Word)(13588)
#define DBIERR_EXCHANGEFILEVERSION (Word)(13589)
#define DBIERR_TYPEMISMATCH (Word)(13590)
#define DBIERR_OBJECTEXISTS (Word)(13591)
#define DBIERR_REPOSITORYACCESS (Word)(13592)
#define DBIERR_REPOSITORYCREATE (Word)(13593)
#define DBIERR_DATABASEOPENFAILED (Word)(13594)
#define MAXLDNAME (Byte)(20)
#define MAX_LCNAME_LEN (Byte)(32)
#define DOS_CP (Byte)(1)
#define WIN_CP (Byte)(2)
#define UC_CP (Byte)(13)
#define SCHEMATYPE (Byte)(1)
#define CORETYPE (Byte)(2)
#define LOGICALMODELTYPE (Byte)(4)
#define PHYSICALMODELTYPE (Byte)(8)
#define NONDISPLAYTYPE (Byte)(16)
#define INTERNALTYPE (Byte)(32)
#define DBIMAXENUMFLDLEN (Byte)(95)
#define DOMCLOSED (Byte)(1)
#define NODISPLAY (Byte)(0)
#define SUMMARYDISPLAY (Byte)(1)
#define DETAILDISPLAY (Byte)(2)
#define INDIVIDUALDISPLAY (Byte)(3)
#define iCOMMONATTR (Byte)(1)
#define iCOMMONUSERATTR (Byte)(2)
#define iEXTATTR (Byte)(3)
#define EDITNEW (Byte)(1)
#define EDITUNCHANGED (Byte)(2)
#define EDITMODIFIED (Byte)(4)
#define SCHEMAATTR (Byte)(1)
#define EXTENDEDATTR (Byte)(2)
#define UIATTR (Byte)(4)
#define LOGICALMODELATTR (Byte)(8)
#define PHYSICALMODELATTR (Byte)(16)
#define INTERNALATTR (Byte)(32)
#define szOBJID "OBJID"
#define szOBJVER "VERSION"
#define szALIASNAME "ALIASNAME"
#define szREALNAME "NAME"
#define szOUTOFDATE "OUTOFDATE"
#define szCREATEDATE "CREATEDATE"
#define szLASTUPDATE "LASTUPDATE"
#define szDATABLOB "DATABLOB"
#define szDATAREP "DATAREP"
#define szVERSIONNUM "VERSIONNUM"
#define szDB "DATABASE"
#define szDBPATH "DBPATH"
#define szDBTYPE "DBTYPE"
#define szTABLE "TABLE"
#define szPATH "PATH"
#define szTBLTYPE "DRIVERTYPE"
#define szISFILE "ISFILE"
#define szISVIEW "ISVIEW"
#define szISSYNONYM "ISSYNONYM"
#define szFIELD "FIELD"
#define szPHYTYPE "PHYTYPE"
#define szPHYSUBTYPE "PHYSUBTYPE"
#define szLOGTYPE "LOGTYPE"
#define szLOGSUBTYPE "LOGSUBTYPE"
#define szUNITS1 "UNITS1"
#define szUNITS2 "UNITS2"
#define szPOSITION "POSITION"
#define szDEFVAL "DEFVAL"
#define szMINVAL "MINVAL"
#define szMAXVAL "MAXVAL"
#define szREQUIRED "REQUIRED"
#define szFREADONLY "READONLY"
#define szCASTTYPE "CASTTYPE"
#define szCASTSUBTYPE "CASTSUBTYPE"
#define szEXTFIELD "EXTFIELD"
#define szFIELDCLASS "FIELDCLASS"
#define szCONTROLCLASS "CONTROLCLASS"
#define szALIGNMENT "ALIGNMENT"
#define szDISPLABEL "DISPLABEL"
#define szDISPWIDTH "DISPWIDTH"
#define szVISIBLE "VISIBLE"
#define szTRANSLITERATE "TRANSLITERATE"
#define szEDITMASK "EDITMASK"
#define szDISPFORMAT "DISPFORMAT"
#define szEDITFORMAT "EDITFORMAT"
#define szCURRENCY "CURRENCY"
#define szPRECISION "PRECISION"
#define szDISPLAYVALUES "DISPLAYVALUES"
#define szBLOBTYPE "BLOBTYPE"
#define szSRCOBJID "SRCOBJID"
#define szSRCOBJVER "SRCOBJVER"
#define szDESTOBJID "DESTOBJID"
#define szDESTOBJVER "DESTOBJVER"
#define szRIPOS "IPOS"
#define szRDRDATABASE "DRDATABASES"
#define szIRDBDR "DBDR"
#define szRDREXTFIELD "DREXTFIELD"
#define szIREXTFIELDDR "EXTFIELDDR"
#define szRDBTABLES "DBTABLES"
#define szIRTABLEDB "TBLDB"
#define szRTABLEFLDS "TABLEFLDS"
#define szIRFLDTABLE "FLDTABLE"
#define szRFLDEXTFIELD "FLDEXTFIELD"
#define szIREXTFIELDFLDS "EXTFIELDFLDS"
#define szRPARENTEXTFIELD "PARENTEXTFIELD"
#define szIRCHILDEXTFIELD "CHILDEXTFIELD"
#define clSQLRESTRICT (int)(-16318462)
extern Word __fastcall ErrCat(Word rslt);
extern Word __fastcall ErrCode(Word rslt);
extern Word __stdcall DbiInit(pDBIEnv pEnv);
extern Word __stdcall DbiSchemaCacheFlush(hDBIDb hDb, char * pszTableName);
extern Word __stdcall DbiDRDrop(char * pszDrName);
extern Word __stdcall DbiDRAdd(pDRDesc pdrdesc);
extern Word __stdcall DbiDRGetRelatedObject(hDBIDR hDataRepos, pDRObject pdrObjIDSrc, char * pszRelTypeName
, pDRObject pdrObjIDDest);
extern Word __stdcall DbiOpenSessionRepository(hDBISes hSes, hDBIDR &hDataRepos);
extern Word __stdcall DbiGetDefaultRepository(char * pszDRName);
extern Word __stdcall DbiSetDefaultRepository(char * pszDRName);
extern Word __stdcall DbiOpenRepositoryList(hDBICur &hCur);
extern Word __stdcall DbiDRGetEnumAttrDomain(hDBIDR hDataRepos, Word iNumVals, pDREnumAttrDomain peAttrDomain
);
extern Word __stdcall DbiDRDeleteEnumAttrDomain(hDBIDR hDataRepos, char * pszEnumAttrDomain);
extern Word __stdcall DbiDRModifyEnumAttrDomain(hDBIDR hDataRepos, pDREnumAttrDomain peAttrDomain);
extern Word __stdcall DbiDRCreateEnumAttrDomain(hDBIDR hDataRepos, pDREnumAttrDomain peAttrDomain);
extern Word __stdcall DbiDeleteAlias(hDBICfg hCfg, char * pszAliasName);
extern Word __stdcall DbiAddAlias(hDBICfg hCfg, char * pszAliasName, char * pszDriverType, char * pszParams
, DWord bPersist);
extern Word __stdcall DbiOpenFunctionArgList(hDBIDb hDb, char * pszFuncName, Word uOverload, phDBICur
phCur);
extern Word __stdcall DbiOpenFunctionList(hDBIDb hDb, DBIFUNCOpts eoptBits, phDBICur phCur);
extern Word __stdcall DbiDRDelete(char * pszDrName);
extern Word __stdcall DbiDRCreate(pDRDesc pdrDesc, phDBIDR phDataRepos);
extern Word __stdcall DbiDRLoadDBObject(hDBIDR hDataRepos, hDBIDb hDb, char * pszDatabaseName, DWord
bSystemTables, long lNumObjs, pDROBJDesc paObjDesc);
extern Word __stdcall DbiDRSetToObjName(hDBICur hCurObj, char * pszName, DWord bUseAliasName);
extern Word __stdcall DbiDRSetToObjID(hDBICur hCurObj, pDRObject pdrObjID);
extern Word __stdcall DbiDRGetObjID(hDBICur hCurObj, pDRObject pdrObjID);
extern Word __stdcall DbiDROpenRelSet(hDBIDR hDataRepos, char * pszRelTypeName, pDRObject pdrSrcObjID
, pDRObject pdrDestObjID, char * pszCondList, hDBICur &hCurObj);
extern Word __stdcall DbiDROpenObjSet(hDBIDR hDataRepos, char * pszObjTypeName, pDRObject pdrSrcObjID
, char * pszNavRelName, char * pszCondList, hDBICur &hCurObj);
extern Word __stdcall DbiDRGetRelTypeInfo(hDBIDR hDataRepos, char * pszRelTypeName, pDRRELType prelType
);
extern Word __stdcall DbiDRGetAttrDescs(hDBIDR hDataRepos, char * pszTypeName, Word iNumAttr, pDRATTRDesc
pattrDesc);
extern Word __stdcall DbiDRGetObjTypeInfo(hDBIDR hDataRepos, char * pszObjTypeName, pDROBJType pobjType
);
extern Word __stdcall DbiDROpenRelTypeList(hDBIDR hDataRepos, char * pszObjTypeName, hDBICur &hRelTypeCur
);
extern Word __stdcall DbiDROpenAttrTypeList(hDBIDR hDataRepos, char * pszTypeName, hDBICur &hAttrTypeCur
);
extern Word __stdcall DbiDROpenObjectTypeList(hDBIDR hDataRepos, hDBICur &hObjTypeCur);
extern Word __stdcall DbiDRDeleteObjectType(hDBIDR hDataRepos, char * pszObjTypeName, DWord bDeleteAssocRelTypes
);
extern Word __stdcall DbiDRDeleteRelationType(hDBIDR hDataRepos, char * pszRelTypeName);
extern Word __stdcall DbiDRCreateRelationType(hDBIDR hDataRepos, pDRRELType prelType, pDRATTRDesc pattrDesc
);
extern Word __stdcall DbiDRDropAttr(hDBIDR hDataRepos, char * pszTypeName, Word iAttr, pDRATTRDesc pattrDesc
);
extern Word __stdcall DbiDRAddAttr(hDBIDR hDataRepos, char * pszTypeName, Word iAttr, pDRATTRDesc pattrDesc
);
extern Word __stdcall DbiDRCreateObjectType(hDBIDR hDataRepos, pDROBJType pobjType, pDRATTRDesc pattrDesc
);
extern Word __stdcall DbiDRExportToFile(hDBIDR hDataRepos, long ulNumObjs, pDRExportDesc padrExportDesc
, char * pszExportFile);
extern Word __stdcall DbiDRImportFromFile(hDBIDR hDataRepos, long ulNumObjs, pDRExportDesc padrExportDesc
, char * pszImportFile);
extern Word __stdcall DbiDRClose(phDBIDR phDataRepos);
extern Word __stdcall DbiDROpen(char * pszDrName, phDBIDR phDataRepos);
extern Word __stdcall DbiDRGetDesc(char * pszDrName, pDRDesc pdrDesc);
extern Word __stdcall DbiApplyDelayedUpdates(hDBICur hCursor, DBIDelayedUpdCmd eUpdCmd);
extern Word __stdcall DbiEndDelayedUpdates(hDBICur &hCursor);
extern Word __stdcall DbiBeginDelayedUpdates(hDBICur &hCursor);
extern Word __stdcall DbiQPrepareExt(hDBIDb hDb, DBIQryLang eQryLang, char * pszQuery, Word propBits
, hDBIStmt &hStmt);
extern Word __stdcall DbiQExecProcDirect(hDBIDb hDb, char * pszProc, Word uParamDescs, pSPParamDesc
paParamDescs, void * pRecBuff, hDBICur &hCur);
extern Word __stdcall DbiQSetProcParams(hDBIStmt hStmt, Word uParamDescs, pSPParamDesc paParamDescs,
void * pRecBuff);
extern Word __stdcall DbiQPrepareProc(hDBIDb hDb, char * pszProc, Word uParamDescs, pSPParamDesc paParamDescs
, void * pRecBuff, hDBIStmt &hStmt);
extern Word __stdcall DbiOpenSPParamList(hDBIDb hDb, char * pszSPName, DWord bPhyTypes, Word uOverload
, hDBICur &hCur);
extern Word __stdcall DbiOpenSPList(hDBIDb hDb, DWord bExtended, DWord bSystem, char * pszQual, hDBICur
&hCur);
extern Word __stdcall DbiGetRintDesc(hDBICur hCursor, Word iRintSeqNo, pRINTDesc printDesc);
extern Word __stdcall DbiGetVchkDesc(hDBICur hCursor, Word iValSeqNo, pVCHKDesc pvalDesc);
extern Word __stdcall DbiOpenFieldXlt(char * pszSrcTblType, char * pszSrcLangDrv, pFLDDesc pfldSrc,
char * pszDestTblType, char * pszDstLangDrv, pFLDDesc pfldDest, DWord &bDataLoss, hDBIXlt &hXlt);
extern Word __stdcall DbiValidateProp(hDBIObj hObj, long iProp, DWord bSetting);
extern Word __stdcall DbiCloseFieldXlt(hDBIXlt hXlt);
extern Word __stdcall DbiTranslateField(hDBIXlt hXlt, void * pSrc, void * pDest);
extern Word __stdcall DbiTranslateRecordStructure(char * pszSrcDriverType, Word iFlds, pFLDDesc pfldsSrc
, char * pszDstDriverType, char * pszLangDriver, pFLDDesc pfldsDst, DWord bCreatable);
extern Word __stdcall DbiGetFilterInfo(hDBICur hCur, hDBIFilter hFilter, Word iFilterId, Word iFilterSeqNo
, FILTERInfo &Filterinfo);
extern Word __stdcall DbiGetObjFromObj(hDBIObj hObj, DBIOBJType eObjType, hDBIObj &hObjOut);
extern Word __stdcall DbiBcdFromFloat(double &iVal, Word iPrecision, Word iPlaces, FMTBcd &Bcd);
extern Word __stdcall DbiBcdToFloat(FMTBcd &Bcd, double &iVal);
extern Word __stdcall DbiGetObjFromName(DBIOBJType eObjType, char * pszObjName, hDBIObj &hObj);
extern Word __stdcall DbiSetProp(hDBIObj hObj, long iProp, long iPropValue);
extern Word __stdcall DbiGetProp(hDBIObj hObj, long iProp, void * PropValue, Word iMaxLen, Word &iLen
);
extern Word __stdcall DbiAnsiToNative(void * LdObj, char * pNativeStr, char * pAnsiStr, long iLen, DWord
&bDataLoss);
extern Word __stdcall DbiNativeToAnsi(void * LdObj, char * pAnsiStr, char * pNativeStr, long iLen, DWord
&bDataLoss);
extern Word __stdcall DbiMakePermanent(hDBICur hCursor, char * pszName, DWord bOverWrite);
extern Word __stdcall DbiGetIndexDescs(hDBICur hCursor, pIDXDesc idxDesc);
extern Word __stdcall DbiCloseConfigFile(hDBICfg &hCfg, DWord bSave, DWord bDefault, DWord bSaveAs16
);
extern Word __stdcall DbiOpenConfigFile(char * pszDirPath, DWord bCreate, hDBICfg &hCfg);
extern Word __stdcall DbiOpenCfgInfoList(hDBICfg hCfg, DBIOpenMode eOpenMode, CFGMode eConfigMode, char *
pszCfgPath, hDBICur &hCur);
extern DWord __stdcall OsLdBuildCharSetXform(char * pCharMap, void * pLdObjSrc, void * pLdObjDest, DWord
&DataLoss);
extern Word __stdcall OsLdLoadByDriverId(Word iDriverId, void * &PLocaleObj);
extern Word __stdcall OsLdGetDriverId(void * PLocaleObj, Word &DriverId);
extern Word __stdcall DbiGetExactRecordCount(hDBICur hCursor, long &iRecCount);
extern Word __stdcall DbiGetLdNameFromDb(hDBIDb hDb, char * DbName, char * pldName);
extern Word __stdcall DbiSortTable(hDBIDb hDb, char * pszTableName, char * pszDriverType, hDBICur hSrcCur
, char * pszSortedName, phDBICur phSortedCur, hDBICur hDstCur, Word iSortFields, PWORD piFieldNum,
PBOOL pbCaseInsensitive, pSORTOrder pSortOrder, ppfSORTCompFn ppfSortFn, DWord bRemoveDups, hDBICur
hDuplicatesCur, long &lRecsSort);
extern Word __stdcall DbiGetTranInfo(hDBIDb hDb, hDBIXact hXact, pXInfo pxInfo);
extern Word __stdcall DbiEndTran(hDBIDb hDb, hDBIXact hXact, eXEnd eEnd);
extern Word __stdcall DbiBeginTran(hDBIDb hDb, eXILType eXIL, hDBIXact &hXact);
extern Word __stdcall DbiBatchMove(pBATTblDesc pSrcTblDesc, hDBICur hSrcCur, pBATTblDesc pDstTblDesc
, hDBICur hDstCur, eBATMode ebatMode, Word iFldCount, PWORD pSrcFldMap, char * pszIndexName, char *
pszIndexTagName, Word iIndexId, char * pszKeyviolName, char * pszProblemsName, char * pszChangedName
, Windows::PLongint lProbRecs, Windows::PLongint lKeyvRecs, Windows::PLongint lChangedRecs, DWord bAbortOnFirstProb
, DWord bAbortOnFirstKeyviol, long &lRecsToMove, DWord bTransliterate);
extern Word __stdcall DbiDeactivateFilter(hDBICur hCursor, hDBIFilter hFilter);
extern Word __stdcall DbiActivateFilter(hDBICur hCursor, hDBIFilter hFilter);
extern Word __stdcall DbiDropFilter(hDBICur hCursor, hDBIFilter hFilter);
extern Word __stdcall DbiAddFilter(hDBICur hCursor, long iClientData, Word iPriority, DWord bCanAbort
, pCANExpr pcanExpr, pfGENFilter pfFilter, hDBIFilter &hFilter);
extern Word __stdcall DbiGetLdName(char * pszDriver, char * pObjName, char * pLdName);
extern Word __stdcall DbiUndeleteRecord(hDBICur hCursor);
extern Word __stdcall DbiGetClientInfo(CLIENTInfo &clientInfo);
extern Word __stdcall OsLdSearchNext(void * &PLocaleObj);
extern Word __stdcall OsLdSearchInit(void);
extern Word __stdcall OsLdGetDescName(void * PLocaleObj, Windows::PByte pDescName);
extern Byte __stdcall OsLdCharToLower(void * PLocaleObj, Byte ch);
extern Byte __stdcall OsLdCharToUpper(void * PLocaleObj, Byte ch);
extern DWord __stdcall OsLdIsDigit(void * PLocaleObj, Byte ch);
extern DWord __stdcall OsLdIsAlpha(void * PLocaleObj, Byte ch);
extern Word __stdcall OsLdUnloadObj(void * &PLocaleObj);
extern Byte __stdcall OsLdOemCharToAnsi(void * PLocaleObj, Byte ch);
extern Byte __stdcall OsLdAnsiCharToOem(void * PLocaleObj, Byte ch);
extern DWord __stdcall OsLdIsOemCharInAnsiCp(void * PLocaleObj, char OemCh);
extern DWord __stdcall OsLdIsAnsiCharInOemCp(void * PLocaleObj, char AnsiCh);
extern Word __stdcall OsLdOemToAnsi(void * PLocaleObj, char * AnsiStr, char * OemStr, Word Len, DWord
&DataLoss);
extern Word __stdcall OsLdAnsiToOem(void * PLocaleObj, char * OemStr, char * AnsiStr, Word Len, DWord
&DataLoss);
extern Word __stdcall OsLdGetFName(void * PLocaleObj, char * PName);
extern Word __stdcall OsLdGetCodePage(void * PLocaleObj, short &CodePage);
extern Word __stdcall OsLdGetSortsig(void * PLocaleObj, short &SortSig);
extern Word __stdcall OsLdGetSymbName(void * pLdObj, Windows::PByte pSymbName);
extern Word __stdcall OsLdStrnToUpper(void * PLocaleObj, Windows::PByte Str, Word Len);
extern Word __stdcall OsLdStrToUpper(void * PLocaleObj, Windows::PByte Str);
extern short __stdcall OsLdStrnCmpi(void * PLocaleObj, char * Str1, char * Str2, Word Len);
extern short __stdcall OsLdStrCmpi(void * pLdObj, char * str1, char * str2);
extern Word __stdcall OsLdStrnToLower(void * PLocaleObj, Windows::PByte Str, Word Len);
extern Word __stdcall OsLdStrToLower(void * PLocaleObj, Windows::PByte Str);
extern Word __stdcall OsLdStrCmp(void * PLocaleObj, char * Str1, char * Str2);
extern Word __stdcall OsLdStrnCmp(void * PLocaleObj, char * Str1, char * Str2, Word Len);
extern Word __stdcall OsLdLoadBySymbName(char * pSymbName, void * &PLocaleObj);
extern Word __stdcall OsLdLoadByFName(char * pFName, void * &PLocaleObj);
extern Word __stdcall OsLdLoadBySortSig(Word SortSig, Word CodePage, void * &PLocaleObj);
extern Word __stdcall OsLdExit(void);
extern Word __stdcall OsLdGetDefaultObj(void * &pLdObj);
extern Word __stdcall OsLdInit(char * pDefDir, char * pDefLangDr);
extern Word __stdcall DbiDebugLayerOptions(Word iOption, char * pDebugFile);
extern Word __stdcall DbiSetNumberFormat(FMTNumber &fmtNumber);
extern Word __stdcall DbiGetNumberFormat(FMTNumber &fmtNumber);
extern Word __stdcall DbiSetTimeFormat(FMTTime &fmtTime);
extern Word __stdcall DbiGetTimeFormat(FMTTime &fmtTime);
extern Word __stdcall DbiSetDateFormat(FMTDate &fmtDate);
extern Word __stdcall DbiGetDateFormat(FMTDate &fmtDate);
extern Word __stdcall DbiCfgMerge(hDBICfg hCfgDest, hDBICfg hCfgSrc, char * pszSrcPath);
extern Word __stdcall DbiCfgGetHelp(hDBICfg hCfg, char * pszConfigPath, char * pszFldName, char * pszHelpString
);
extern Word __stdcall DbiCfgTranslate(hDBICfg hCfg, char * pszConfigPath, char * pszTrans, Word iFields
, pFLDDesc pfldDesc, void * pRec);
extern Word __stdcall DbiCfgDropRecord(hDBICfg hCfg, char * pszCfgPath);
extern Word __stdcall DbiCfgModifyRecord(hDBICfg hCfg, char * pszCfgPath, Word iFields, pFLDDesc pfldDesc
, void * pRec);
extern Word __stdcall DbiCfgAddRecord(hDBICfg hCfg, char * pszCfgPath, Word iFields, pFLDDesc pfldDesc
, void * pRec);
extern Word __stdcall DbiCfgGetRecord(hDBICfg hCfg, char * pszCfgPath, Word &iFields, pFLDDesc pfldDesc
, void * pRec);
extern Word __stdcall DbiCfgGetNextNode(hDBICfg hCfg, char * pszNodeName);
extern Word __stdcall DbiCfgPosition(hDBICfg hCfg, char * pszCfgPath);
extern Word __stdcall DbiCfgBuildPath(hDBICfg hCfg, char * pszCategory, char * pszGroup, char * pszSection
, char * pszCfgPath);
extern Word __stdcall DbiCfgSave(hDBICfg hCfg, char * pszNewFile, DWord bSaveAs16);
extern Word __stdcall DbiGetCallBack(hDBICur hCursor, CBType ecbType, Windows::PLongint piClientData
, PWORD piCbBufLen, void * ppCbBuf, pfDBICallBack &pfCb);
extern Word __stdcall DbiCheckRefresh(void);
extern Word __stdcall DbiGetErrorEntry(Word uEntry, long &ulNativeError, char * pszError);
extern Word __stdcall DbiGetErrorContext(short eContext, char * pszContext);
extern Word __stdcall DbiGetErrorString(Word rslt, char * pszError);
extern Word __stdcall DbiFormFullName(hDBIDb hDb, char * pszTableName, char * pszDriverType, char *
pszFullName);
extern Word __stdcall DbiCreateTempTable(hDBIDb hDb, CRTblDesc &crTblDsc, hDBICur &hCursor);
extern Word __stdcall DbiUseIdleTime(void);
extern Word __stdcall DbiGetLdObj(hDBICur hCursor, void * &pLdObj);
extern Word __stdcall DbiGetErrorInfo(DWord bFull, DBIErrInfo &ErrInfo);
extern Word __stdcall DbiSetFieldMap(hDBICur hCur, Word iFields, pFLDDesc pFldDesc);
extern Word __stdcall DbiGetRecordForKey(hDBICur hCursor, DWord bDirectKey, Word iFields, Word iLen,
void * pKey, void * pRecBuff);
extern Word __stdcall DbiCompareKeys(hDBICur hCursor, void * pKey1, void * pKey2, Word iFields, Word
iLen, short &iResult);
extern Word __stdcall DbiAppendRecord(hDBICur hCursor, void * pRecBuff);
extern Word __stdcall DbiRegenIndexes(hDBICur hCursor);
extern Word __stdcall DbiRegenIndex(hDBIDb hDb, hDBICur hCursor, char * pszTableName, char * pszDriverType
, char * pszIndexName, char * pszIndexTagName, Word iIndexId);
extern Word __stdcall DbiEmptyTable(hDBIDb hDb, hDBICur hCursor, char * pszTableName, char * pszDriverType
);
extern Word __stdcall DbiPackTable(hDBIDb hDb, hDBICur hCursor, char * pszTableName, char * pszDriverType
, DWord bRegenIdxs);
extern Word __stdcall DbiTimeStampDecode(double tsTS, long &dateD, long &timeT);
extern Word __stdcall DbiTimeStampEncode(long dateD, long timeT, double &tsTS);
extern Word __stdcall DbiTimeDecode(long timeT, Word &iHour, Word &iMin, Word &iMilSec);
extern Word __stdcall DbiTimeEncode(Word iHour, Word iMin, Word iMilSec, long &timeT);
extern Word __stdcall DbiDoRestructure(hDBIDb hDb, Word iTblDescCount, pCRTblDesc pTblDesc, char * pszSaveAs
, char * pszKeyviolName, char * pszProblemsName, DWord bAnalyzeOnly);
extern Word __stdcall DbiSetToRecordNo(hDBICur hCursor, long iRecNo);
extern Word __stdcall DbiGetIndexSeqNo(hDBICur hCursor, char * pszIndexName, char * pszTagName, Word
iIndexId, Word &iIndexSeqNo);
extern Word __stdcall DbiGetIndexForField(hDBICur hCursor, Word iFld, DWord bProdTagOnly, IDXDesc &idxDesc
);
extern Word __stdcall DbiDeleteIndex(hDBIDb hDb, hDBICur hCursor, char * pszTableName, char * pszDriverType
, char * pszIndexName, char * pszIndexTagName, Word iIndexId);
extern Word __stdcall DbiAddIndex(hDBIDb hDb, hDBICur hCursor, char * pszTableName, char * pszDriverType
, IDXDesc &IdxDesc, char * pszKeyviolName);
extern Word __stdcall DbiDeleteTable(hDBIDb hDb, char * pszTableName, char * pszDriverType);
extern Word __stdcall DbiRenameTable(hDBIDb hDb, char * pszOldName, char * pszDriverType, char * pszNewName
);
extern Word __stdcall DbiCopyTable(hDBIDb hDb, DWord bOverWrite, char * pszSrcTableName, char * pszSrcDriverType
, char * pszDestTableName);
extern Word __stdcall DbiCreateTable(hDBIDb hDb, DWord bOverWrite, CRTblDesc &crTblDsc);
extern Word __stdcall DbiVerifyField(hDBICur hCursor, Word iField, void * pSrc, DWord &bBlank);
extern Word __stdcall DbiSetToSeqNo(hDBICur hCursor, long iSeqNo);
extern Word __stdcall DbiInitRecord(hDBICur hCursor, void * pRecBuff);
extern Word __stdcall DbiCloneCursor(hDBICur hCurSrc, DWord bReadOnly, DWord bUniDirectional, hDBICur
&hCurNew);
extern Word __stdcall DbiCompareBookMarks(hDBICur hCur, void * pBookMark1, void * pBookMark2, int &CmpBkmkResult
);
extern Word __stdcall DbiSetToBookMark(hDBICur hCur, void * pBookMark);
extern Word __stdcall DbiGetBookMark(hDBICur hCur, void * pBookMark);
extern Word __stdcall DbiExtractKey(hDBICur hCursor, void * pRecBuf, void * pKeyBuf);
extern Word __stdcall DbiGetIndexDesc(hDBICur hCursor, Word iIndexSeqNo, IDXDesc &idxDesc);
extern Word __stdcall DbiSwitchToIndex(hDBICur &hCursor, char * pszIndexName, char * pszTagName, Word
iIndexId, DWord bCurrRec);
extern Word __stdcall DbiCloseIndex(hDBICur hCursor, char * pszIndexName, Word iIndexId);
extern Word __stdcall DbiOpenIndex(hDBICur hCursor, char * pszIndexName, Word iIndexId);
extern Word __stdcall DbiDateDecode(long dateD, Word &iMon, Word &iDay, short &iYear);
extern Word __stdcall DbiDateEncode(Word iMon, Word iDay, short iYear, long &dateD);
extern Word __stdcall DbiPutField(hDBICur hCursor, Word iField, void * pRecBuff, void * pSrc);
extern Word __stdcall DbiGetField(hDBICur hCursor, Word iField, void * pRecBuff, void * pDest, DWord
&bBlank);
extern Word __stdcall DbiRegisterCallBack(hDBICur hCursor, CBType ecbType, long iClientData, Word iCbBufLen
, void * CbBuf, pfDBICallBack pfCb);
extern Word __stdcall DbiQGetBaseDescs(hDBIStmt hStmt, hDBICur &hCur);
extern Word __stdcall DbiQAlloc(hDBIDb hDb, DBIQryLang eQryLang, hDBIStmt &hStmt);
extern Word __stdcall DbiQFree(hDBIStmt &hStmt);
extern Word __stdcall DbiQInstantiateAnswer(hDBIStmt hStmt, hDBICur hCur, char * pszAnswerName, char *
pszAnswerType, DWord bOverWrite, phDBICur phCur);
extern Word __stdcall DbiQSetParams(hDBIStmt hStmt, Word uFldDescs, pFLDDesc paFldDescs, void * pRecBuff
);
extern Word __stdcall DbiQExec(hDBIStmt hStmt, phDBICur phCur);
extern Word __stdcall DbiQPrepare(hDBIStmt hStmt, char * pszQuery);
extern Word __stdcall DbiQExecDirect(hDBIDb hDb, DBIQryLang eQryLang, char * pszQuery, phDBICur phCur
);
extern Word __stdcall DbiGetNetUserName(char * pszNetUserName);
extern Word __stdcall DbiGetSesInfo(SESInfo &sesInfo);
extern Word __stdcall DbiGetSysInfo(SYSInfo &sysInfo);
extern Word __stdcall DbiGetSysConfig(SYSConfig &sysConfig);
extern Word __stdcall DbiGetSysVersion(SYSVersion &sysVersion);
extern Word __stdcall DbiGetBlobHeading(hDBICur hCursor, Word iField, void * pRecBuf, void * pDest);
extern Word __stdcall DbiFreeBlob(hDBICur hCursor, void * pRecBuf, Word iField);
extern Word __stdcall DbiTruncateBlob(hDBICur hCursor, void * pRecBuf, Word iField, long iLen);
extern Word __stdcall DbiPutBlob(hDBICur hCursor, void * pRecBuf, Word iField, long iOffSet, long iLen
, void * pSrc);
extern Word __stdcall DbiGetBlob(hDBICur hCursor, void * pRecBuf, Word iField, long iOffSet, long iLen
, void * pDest, long &iRead);
extern Word __stdcall DbiGetBlobSize(hDBICur hCursor, void * pRecBuf, Word iField, long &iSize);
extern Word __stdcall DbiOpenBlob(hDBICur hCursor, void * pRecBuf, Word iField, DBIOpenMode eOpenMode
);
extern Word __stdcall DbiGetTableOpenCount(hDBIDb hDb, char * pszTableName, char * pszDriverType, Word
&iOpenCount);
extern Word __stdcall DbiLoadDriver(char * pszDriverType);
extern Word __stdcall DbiGetIndexTypeDesc(char * pszDriverType, char * pszIndexType, IDXType &idxType
);
extern Word __stdcall DbiOpenIndexTypesList(char * pszDriverType, hDBICur &hCur);
extern Word __stdcall DbiGetFieldTypeDesc(char * pszDriverType, char * pszTableType, char * pszFieldType
, FLDType &fldType);
extern Word __stdcall DbiOpenFieldTypesList(char * pszDriverType, char * pszTblType, hDBICur &hCur);
extern Word __stdcall DbiGetTableTypeDesc(char * pszDriverType, char * pszTableType, TBLType &tblType
);
extern Word __stdcall DbiOpenTableTypesList(char * pszDriverType, hDBICur &hCur);
extern Word __stdcall DbiGetDatabaseDesc(char * pszName, pDBDesc pdbDesc);
extern Word __stdcall DbiOpenDatabaseList(hDBICur &hCur);
extern Word __stdcall DbiGetDriverDesc(char * pszDriverType, DRVType &drvType);
extern Word __stdcall DbiOpenDriverList(hDBICur &hCur);
extern Word __stdcall DbiSetLockRetry(short iWait);
extern Word __stdcall DbiSetPrivateDir(char * pszDir);
extern Word __stdcall DbiOpenLockList(hDBICur hCursor, DWord bAllUsers, DWord bAllLockTypes, hDBICur
&hLocks);
extern Word __stdcall DbiOpenUserList(hDBICur &hUsers);
extern Word __stdcall DbiDropPassword(char * pszPassword);
extern Word __stdcall DbiAddPassword(char * pszPassword);
extern Word __stdcall DbiCloseSession(hDBISes hSes);
extern Word __stdcall DbiGetCurrSession(hDBISes &hSes);
extern Word __stdcall DbiSetCurrSession(hDBISes hSes);
extern Word __stdcall DbiStartSession(char * pszName, hDBISes &hSes, char * pNetDir);
extern Word __stdcall DbiForceRecordReread(hDBICur hCursor, void * pRecBuff);
extern Word __stdcall DbiGetCursorForTable(hDBIDb hDb, char * pszTableName, char * pszDriverType, hDBICur
&hCursor);
extern Word __stdcall DbiForceReread(hDBICur hCursor);
extern Word __stdcall DbiSaveChanges(hDBICur hCursor);
extern Word __stdcall DbiRelPersistTableLock(hDBIDb hDb, char * pszTableName, char * pszDriverType);
extern Word __stdcall DbiAcqPersistTableLock(hDBIDb hDb, char * pszTableName, char * pszDriverType);
extern Word __stdcall DbiRelRecordLock(hDBICur hCursor, DWord bAll);
extern Word __stdcall DbiRelTableLock(hDBICur hCursor, DWord bAll, DBILockType eLockType);
extern Word __stdcall DbiAcqTableLock(hDBICur hCursor, DBILockType eLockType);
extern Word __stdcall DbiLinkDetailToExp(hDBICur hCursorMstr, hDBICur hCursorDetl, Word iKeyLen, char *
pszMstrExp);
extern Word __stdcall DbiIsTableShared(hDBICur hCursor, DWord &bShared);
extern Word __stdcall DbiIsTableLocked(hDBICur hCursor, DBILockType epdxLock, Word &iLocks);
extern Word __stdcall DbiIsRecordLocked(hDBICur hCursor, DWord &bLocked);
extern Word __stdcall DbiGetLinkStatus(hDBICur hCursor, hDBICur &hCursorMstr, hDBICur &hCursorDet, hDBICur
&hCursorSib);
extern Word __stdcall DbiUnlinkDetail(hDBICur hDetlCursor);
extern Word __stdcall DbiLinkDetail(hDBICur hMstrCursor, hDBICur hDetlCursor, Word iLnkFields, PWORD
piMstrFields, PWORD piDetlFields);
extern Word __stdcall DbiEndLinkMode(hDBICur &hCursor);
extern Word __stdcall DbiBeginLinkMode(hDBICur &hCursor);
extern Word __stdcall DbiWriteBlock(hDBICur hCursor, long &iRecords, void * pBuf);
extern Word __stdcall DbiReadBlock(hDBICur hCursor, long &iRecords, void * pBuf);
extern Word __stdcall DbiCreateInMemTable(hDBIDb hDb, char * pszName, Word iFields, pFLDDesc pfldDesc
, hDBICur &hCursor);
extern Word __stdcall DbiOpenSecurityList(hDBIDb hDb, char * pszTableName, char * pszDriverType, hDBICur
&hSecCur);
extern Word __stdcall DbiOpenFamilyList(hDBIDb hDb, char * pszTableName, char * pszDriverType, hDBICur
&hFmlCur);
extern Word __stdcall DbiOpenRintList(hDBIDb hDb, char * pszTableName, char * pszDriverType, hDBICur
&hChkCur);
extern Word __stdcall DbiOpenVchkList(hDBIDb hDb, char * pszTableName, char * pszDriverType, hDBICur
&hChkCur);
extern Word __stdcall DbiOpenLdList(hDBICur &hCur);
extern Word __stdcall DbiOpenFieldList(hDBIDb hDb, char * pszTableName, char * pszDriverType, DWord
bPhyTypes, hDBICur &hCur);
extern Word __stdcall DbiOpenIndexList(hDBIDb hDb, char * pszTableName, char * pszDriverType, hDBICur
&hCur);
extern Word __stdcall DbiOpenFileList(hDBIDb hDb, char * pszWild, hDBICur &hCur);
extern Word __stdcall DbiOpenTableList(hDBIDb hDb, DWord bExtended, DWord bSystem, char * pszWild, hDBICur
&hCur);
extern Word __stdcall DbiSetDirectory(hDBIDb hDb, char * pszDir);
extern Word __stdcall DbiGetDirectory(hDBIDb hDb, DWord bDefault, char * pszDir);
extern Word __stdcall DbiSetToKey(hDBICur hCursor, DBISearchCond eSearchCond, DWord bDirectKey, Word
iFields, Word iLen, void * pBuff);
extern Word __stdcall DbiResetRange(hDBICur hCursor);
extern Word __stdcall DbiSetRange(hDBICur hCursor, DWord bKeyItself, Word iFields1, Word iLen1, void *
pKey1, DWord bKey1Incl, Word iFields2, Word iLen2, void * pKey2, DWord bKey2Incl);
extern Word __stdcall DbiGetSeqNo(hDBICur hCursor, long &iSeqNo);
extern Word __stdcall DbiDeleteRecord(hDBICur hCursor, void * pRecBuf);
extern Word __stdcall DbiModifyRecord(hDBICur hCursor, void * pRecBuf, DWord bFreeLock);
extern Word __stdcall DbiInsertRecord(hDBICur hCursor, DBILockType eLock, void * pRecBuff);
extern Word __stdcall DbiGetRecordCount(hDBICur hCursor, long &iRecCount);
extern Word __stdcall DbiGetRelativeRecord(hDBICur hCursor, long iPosOffset, DBILockType eLock, void *
pRecBuff, pRECProps precProps);
extern Word __stdcall DbiGetRecord(hDBICur hCursor, DBILockType eLock, void * pRecBuff, pRECProps precProps
);
extern Word __stdcall DbiGetPriorRecord(hDBICur hCursor, DBILockType eLock, void * pRecBuff, pRECProps
precProps);
extern Word __stdcall DbiGetNextRecord(hDBICur hCursor, DBILockType eLock, void * pRecBuff, pRECProps
precProps);
extern Word __stdcall DbiSetToCursor(hDBICur hDest, hDBICur hSrc);
extern Word __stdcall DbiSetToEnd(hDBICur hCursor);
extern Word __stdcall DbiSetToBegin(hDBICur hCursor);
extern Word __stdcall DbiCloseCursor(hDBICur &hCursor);
extern Word __stdcall DbiGetFieldDescs(hDBICur hCursor, pFLDDesc pfldDesc);
extern Word __stdcall DbiGetCursorProps(hDBICur hCursor, CURProps &curProps);
extern Word __stdcall DbiOpenTable(hDBIDb hDb, char * pszTableName, char * pszDriverType, char * pszIndexName
, char * pszIndexTagName, Word iIndexId, DBIOpenMode eOpenMode, DBIShareMode eShareMode, XLTMode exltMode
, DWord bUniDirectional, void * pOptParams, hDBICur &hCursor);
extern Word __stdcall DbiCloseDatabase(hDBIDb &hDb);
extern Word __stdcall DbiOpenDatabase(char * pszDbName, char * pszDbType, DBIOpenMode eOpenMode, DBIShareMode
eShareMode, char * pszPassword, Word iOptFlds, pFLDDesc pOptFldDesc, void * pOptParams, hDBIDb &hDb
);
extern Word __stdcall DbiInitFn(Word iVer, pDBIEnv pEnv);
extern Word __stdcall DbiExit(void);
extern Word __stdcall DbiDLLExit(void);
} /* namespace Bde */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Bde;
#endif
//-- end unit ----------------------------------------------------------------
#endif // Bde