📄 sdmss.hpp
字号:
static const Word SQLCRSVIEW = 0x2764;
static const Word SQLCRSBUFR = 0x2765;
static const Word SQLCRSFROWN = 0x2766;
static const Word SQLCRSBROL = 0x2767;
static const Word SQLCRSFRAND = 0x2768;
static const Word SQLCRSFLAST = 0x2769;
static const Word SQLCRSRO = 0x276a;
static const Word SQLCRSTAB = 0x276b;
static const Word SQLCRSUPDTAB = 0x276c;
static const Word SQLCRSUPDNB = 0x276d;
static const Word SQLCRSVIIND = 0x276e;
static const Word SQLCRSNOUPD = 0x276f;
static const Word SQLCRSOS2 = 0x2770;
static const Word SQLEBCSA = 0x2771;
static const Word SQLEBCRO = 0x2772;
static const Word SQLEBCNE = 0x2773;
static const Word SQLEBCSK = 0x2774;
static const Word SQLEUVBF = 0x2775;
static const Word SQLEBIHC = 0x2776;
static const Word SQLEBWFF = 0x2777;
static const Word SQLNUMVAL = 0x2778;
static const Word SQLEOLDVR = 0x2779;
static const Word SQLEBCPS = 0x277a;
static const Word SQLEDTC = 0x277b;
static const Word SQLENOTIMPL = 0x277c;
static const Word SQLENONFLOAT = 0x277d;
static const Word SQLECONNFB = 0x277e;
static const Shortint EXINFO = 0x1;
static const Shortint EXUSER = 0x2;
static const Shortint EXNONFATAL = 0x3;
static const Shortint EXCONVERSION = 0x4;
static const Shortint EXSERVER = 0x5;
static const Shortint EXTIME = 0x6;
static const Shortint EXPROGRAM = 0x7;
static const Shortint EXRESOURCE = 0x8;
static const Shortint EXCOMM = 0x9;
static const Shortint EXFATAL = 0xa;
static const Shortint EXCONSISTENCY = 0xb;
static const Word OFF_SELECT = 0x16d;
static const Word OFF_FROM = 0x14f;
static const Word OFF_ORDER = 0x165;
static const Word OFF_COMPUTE = 0x139;
static const Word OFF_TABLE = 0x173;
static const Word OFF_PROCEDURE = 0x16a;
static const Word OFF_STATEMENT = 0x1cb;
static const Word OFF_PARAM = 0x1c4;
static const Word OFF_EXEC = 0x12c;
static const Shortint PRINT4 = 0xb;
static const Shortint PRINT2 = 0x6;
static const Shortint PRINT1 = 0x3;
static const Shortint PRFLT8 = 0x14;
static const Shortint PRMONEY = 0x1a;
static const Shortint PRBIT = 0x3;
static const Shortint PRDATETIME = 0x1b;
static const Shortint PRDECIMAL = 0x28;
static const Shortint PRNUMERIC = 0x28;
static const Shortint SUCCEED = 0x1;
static const Shortint FAIL = 0x0;
static const Shortint SUCCEED_ABORT = 0x2;
static const Shortint DBUNKNOWN = 0x2;
static const Shortint MORE_ROWS = 0xffffffff;
static const Shortint NO_MORE_ROWS = 0xfffffffe;
static const Shortint REG_ROW = 0xffffffff;
static const Shortint BUF_FULL = 0xfffffffd;
static const Shortint NO_MORE_RESULTS = 0x2;
static const Shortint NO_MORE_RPC_RESULTS = 0x3;
static const Shortint DBSETHOST = 0x1;
static const Shortint DBSETUSER = 0x2;
static const Shortint DBSETPWD = 0x3;
static const Shortint DBSETAPP = 0x4;
static const Shortint DBSETID = 0x5;
static const Shortint DBSETLANG = 0x6;
static const Shortint DBSETSECURE = 0x7;
static const Shortint DBVER42 = 0x8;
static const Shortint DBVER60 = 0x9;
static const Shortint DBSETLOGINTIME_OPT = 0xa;
static const Shortint DBSETFALLBACK = 0xc;
static const Shortint STDEXIT = 0x0;
static const Shortint ERREXIT = 0xffffffff;
static const Shortint DBRPCRECOMPILE = 0x1;
static const Shortint DBRPCRESET = 0x4;
static const Shortint DBRPCCURSOR = 0x8;
static const Shortint DBRPCRETURN = 0x1;
static const Shortint DBRPCDEFAULT = 0x2;
static const Shortint CUR_READONLY = 0x1;
static const Shortint CUR_LOCKCC = 0x2;
static const Shortint CUR_OPTCC = 0x3;
static const Shortint CUR_OPTCCVAL = 0x4;
static const Shortint CUR_FORWARD = 0x0;
static const Shortint CUR_KEYSET = 0xffffffff;
static const Shortint CUR_DYNAMIC = 0x1;
static const Shortint CUR_INSENSITIVE = 0xfffffffe;
static const Shortint FETCH_FIRST = 0x1;
static const Shortint FETCH_NEXT = 0x2;
static const Shortint FETCH_PREV = 0x3;
static const Shortint FETCH_RANDOM = 0x4;
static const Shortint FETCH_RELATIVE = 0x5;
static const Shortint FETCH_LAST = 0x6;
static const Shortint FTC_EMPTY = 0x0;
static const Shortint FTC_SUCCEED = 0x1;
static const Shortint FTC_MISSING = 0x2;
static const Shortint FTC_ENDOFKEYSET = 0x4;
static const Shortint FTC_ENDOFRESULTS = 0x8;
static const Shortint CRS_UPDATE = 0x1;
static const Shortint CRS_DELETE = 0x2;
static const Shortint CRS_INSERT = 0x3;
static const Shortint CRS_REFRESH = 0x4;
static const Shortint CRS_LOCKCC = 0x5;
static const Shortint NOBIND = 0xfffffffe;
static const Shortint CU_CLIENT = 0x1;
static const Shortint CU_SERVER = 0x2;
static const Shortint CU_KEYSET = 0x4;
static const Shortint CU_MIXED = 0x8;
static const Shortint CU_DYNAMIC = 0x10;
static const Shortint CU_FORWARD = 0x20;
static const Shortint CU_INSENSITIVE = 0x40;
static const Byte CU_READONLY = 0x80;
static const Word CU_LOCKCC = 0x100;
static const Word CU_OPTCC = 0x200;
static const Word CU_OPTCCVAL = 0x400;
static const Shortint CU_FILLING = 0x1;
static const Shortint CU_FILLED = 0x2;
static const Shortint UT_TEXTPTR = 0x1;
static const Shortint UT_TEXT = 0x2;
static const Shortint UT_MORETEXT = 0x4;
static const Shortint UT_DELETEONLY = 0x8;
static const Shortint UT_LOG = 0x10;
static const Shortint NET_SEARCH = 0x1;
static const Shortint LOC_SEARCH = 0x2;
static const Shortint ENUM_SUCCESS = 0x0;
static const Shortint MORE_DATA = 0x1;
static const Shortint NET_NOT_AVAIL = 0x2;
static const Shortint OUT_OF_MEMORY = 0x4;
static const Shortint NOT_SUPPORTED = 0x8;
static const Shortint ENUM_INVALID_PARAM = 0x10;
static const Shortint NE_E_NOMAP = 0x0;
static const Shortint NE_E_NOMEMORY = 0x1;
static const Shortint NE_E_NOACCESS = 0x2;
static const Shortint NE_E_CONNBUSY = 0x3;
static const Shortint NE_E_CONNBROKEN = 0x4;
static const Shortint NE_E_TOOMANYCONN = 0x5;
static const Shortint NE_E_SERVERNOTFOUND = 0x6;
static const Shortint NE_E_NETNOTSTARTED = 0x7;
static const Shortint NE_E_NORESOURCE = 0x8;
static const Shortint NE_E_NETBUSY = 0x9;
static const Shortint NE_E_NONETACCESS = 0xa;
static const Shortint NE_E_GENERAL = 0xb;
static const Shortint NE_E_CONNMODE = 0xc;
static const Shortint NE_E_NAMENOTFOUND = 0xd;
static const Shortint NE_E_INVALIDCONN = 0xe;
static const Shortint NE_E_NETDATAERR = 0xf;
static const Shortint NE_E_TOOMANYFILES = 0x10;
static const Shortint NE_E_CANTCONNECT = 0x11;
static const Shortint NE_MAX_NETERROR = 0x11;
extern PACKAGE int __cdecl (*abort_xact)(void * connect, int CommId);
extern PACKAGE void __cdecl (*build_xact_string)(char * xact_name, char * service_name, int CommId, char * sResult);
extern PACKAGE void __cdecl (*close_commit)(void * connect);
extern PACKAGE int __cdecl (*commit_xact)(void * connect, int commId);
extern PACKAGE void * __cdecl (*open_commit)(void * login, char * servername);
extern PACKAGE int __cdecl (*remove_xact)(void * connect, int commId, int n);
extern PACKAGE int __cdecl (*scan_xact)(void * connect, int commId);
extern PACKAGE int __cdecl (*start_xact)(void * connect, char * application_name, char * xact_name, int site_count);
extern PACKAGE int __cdecl (*stat_xact)(void * connect, int commId);
extern PACKAGE int __cdecl (*bcp_batch)(void * dbproc);
extern PACKAGE int __cdecl (*bcp_bind)(void * dbproc, char * varaddr, int prefixlen, int varlen, char * terminator, int termlen, int datatype, int table_column);
extern PACKAGE int __cdecl (*bcp_colfmt)(void * dbproc, int file_column, Byte file_type, int file_prefixlen, int file_collen, char * file_term, int file_termlen, int table_column);
extern PACKAGE int __cdecl (*bcp_collen)(void * dbproc, int varlen, int table_column);
extern PACKAGE int __cdecl (*bcp_colptr)(void * dbproc, char * colptr, int table_column);
extern PACKAGE int __cdecl (*bcp_columns)(void * dbproc, int file_colcount);
extern PACKAGE int __cdecl (*bcp_control)(void * dbproc, int field, int value);
extern PACKAGE int __cdecl (*bcp_done)(void * dbproc);
extern PACKAGE int __cdecl (*bcp_exec)(void * dbproc, LPDBINT rows_copied);
extern PACKAGE int __cdecl (*bcp_init)(void * dbproc, char * tblname, char * hfile, char * errfile, int direction);
extern PACKAGE int __cdecl (*bcp_moretext)(void * dbproc, int size, char * text);
extern PACKAGE int __cdecl (*bcp_readfmt)(void * dbproc, char * filename);
extern PACKAGE int __cdecl (*bcp_sendrow)(void * dbproc);
extern PACKAGE int __cdecl (*bcp_setl)(void * loginrec, int enable);
extern PACKAGE int __cdecl (*bcp_writefmt)(void * dbproc, char * filename);
extern PACKAGE char * __cdecl (*dbadata)(void * dbproc, int computeId, int column);
extern PACKAGE int __cdecl (*dbadlen)(void * dbproc, int computeId, int column);
extern PACKAGE int __cdecl (*dbaltbind)(void * dbproc, int computeId, int column, int vartype, int varlen, char * varaddr);
extern PACKAGE int __cdecl (*dbaltcolid)(void * dbproc, int computeId, int column);
extern PACKAGE int __cdecl (*dbaltlen)(void * dbproc, int computeId, int column);
extern PACKAGE int __cdecl (*dbaltop)(void * dbproc, int computeId, int column);
extern PACKAGE int __cdecl (*dbalttype)(void * dbproc, int computeId, int column);
extern PACKAGE int __cdecl (*dbaltutype)(void * dbproc, int computeId, int column);
extern PACKAGE int __cdecl (*dbanullbind)(void * dbproc, int computeId, int column, LPDBINT indicator);
extern PACKAGE int __cdecl (*dbbind)(void * dbproc, int column, int vartype, int varlen, char * varaddr);
extern PACKAGE char * __cdecl (*dbbylist)(void * dbproc, int computeId, LPINT size);
extern PACKAGE int __cdecl (*dbcancel)(void * dbproc);
extern PACKAGE int __cdecl (*dbcanquery)(void * dbproc);
extern PACKAGE char * __cdecl (*dbchange)(void * dbproc);
extern PACKAGE int __cdecl (*dbclose)(void * dbproc);
extern PACKAGE void __cdecl (*dbclrbuf)(void * dbproc, int n);
extern PACKAGE int __cdecl (*dbclropt)(void * dbproc, int option, char * param);
extern PACKAGE int __cdecl (*dbcmd)(void * dbproc, char * cmdstring);
extern PACKAGE int __cdecl (*dbcmdrow)(void * dbproc);
extern PACKAGE int __cdecl (*dbcolbrowse)(void * dbproc, int colnum);
extern PACKAGE int __cdecl (*dbcolinfo)(void * dbHandle, int colinfo, int column, int computeId, TDBCOL &DbCol);
extern PACKAGE int __cdecl (*dbcollen)(void * dbproc, int column);
extern PACKAGE char * __cdecl (*dbcolname)(void * dbproc, int column);
extern PACKAGE char * __cdecl (*dbcolsource)(void * dbproc, int colnum);
extern PACKAGE int __cdecl (*dbcoltype)(void * dbproc, int column);
extern PACKAGE int __cdecl (*dbcolutype)(void * dbproc, int column);
extern PACKAGE int __cdecl (*dbconvert)(void * dbproc, int srctype, char * src, int srclen, int desttype, char * dest, int destlen);
extern PACKAGE int __cdecl (*dbcount)(void * dbproc);
extern PACKAGE int __cdecl (*dbcurcmd)(void * dbproc);
extern PACKAGE int __cdecl (*dbcurrow)(void * dbproc);
extern PACKAGE int __cdecl (*dbcursor)(void * hc, int optype, int row, char * table, char * values);
extern PACKAGE int __cdecl (*dbcursorbind)(void * hc, int col, int vartype, int varlen, LPDBINT poutlen, char * pvaraddr);
extern PACKAGE int __cdecl (*dbcursorclose)(void * handle);
extern PACKAGE int __cdecl (*dbcursorcolinfo)(void * hcursor, int column, char * colname, LPINT coltype, LPDBINT collen, LPINT usertype);
extern PACKAGE int __cdecl (*dbcursorfetch)(void * hc, int fetchtype, int rownum);
extern PACKAGE int __cdecl (*dbcursorfetchex)(void * hc, int fetchtype, int rownum, int nfetchrows, int reserved);
extern PACKAGE int __cdecl (*dbcursorinfo)(void * hcursor, LPINT ncols, LPDBINT nrows);
extern PACKAGE int __cdecl (*dbcursorinfoex)(void * hc, LPDBCURSORINFO pdbcursorinfo);
extern PACKAGE void * __cdecl (*dbcursoropen)(void * dbproc, char * stmt, int scrollopt, int concuropt, unsigned nrows, LPDBINT pstatus);
extern PACKAGE char * __cdecl (*dbdata)(void * dbproc, int column);
extern PACKAGE int __cdecl (*dbdataready)(void * dbproc);
extern PACKAGE int __cdecl (*dbdatecrack)(void * dbproc, DBDATEREC &dateinfo, void * datetime);
extern PACKAGE int __cdecl (*dbdatlen)(void * dbproc, int column);
extern PACKAGE int __cdecl (*dbdead)(void * dbproc);
extern PACKAGE void __cdecl (*dbexit)(void);
extern PACKAGE int __cdecl (*dbenlisttrans)(void * dbproc, LPVOID pTransaction);
extern PACKAGE int __cdecl (*dbenlistxatrans)(void * dbproc, int enlisttran);
extern PACKAGE int __cdecl (*dbfirstrow)(void * dbproc);
extern PACKAGE void __cdecl (*dbfreebuf)(void * dbproc);
extern PACKAGE void __cdecl (*dbfreelogin)(void * login);
extern PACKAGE void __cdecl (*dbfreequal)(char * ptr);
extern PACKAGE char * __cdecl (*dbgetchar)(void * dbproc, int n);
extern PACKAGE short __cdecl (*dbgetmaxprocs)(void);
extern PACKAGE int __cdecl (*dbgetoff)(void * dbproc, Word offtype, int startfrom);
extern PACKAGE unsigned __cdecl (*dbgetpacket)(void * dbproc);
extern PACKAGE int __cdecl (*dbgetrow)(void * dbproc, int row);
extern PACKAGE int __cdecl (*dbgettime)(void);
extern PACKAGE LPVOID __cdecl (*dbgetuserdata)(void * dbproc);
extern PACKAGE Byte __cdecl (*dbhasretstat)(void * dbproc);
extern PACKAGE char * __cdecl (*dbinit)(void);
extern PACKAGE int __cdecl (*dbisavail)(void * dbproc);
extern PACKAGE int __cdecl (*dbiscount)(void * dbproc);
extern PACKAGE int __cdecl (*dbisopt)(void * dbproc, int option, char * param);
extern PACKAGE int __cdecl (*dblastrow)(void * dbproc);
extern PACKAGE void * __cdecl (*dblogin)(void);
extern PACKAGE int __cdecl (*dbmorecmds)(void * dbproc);
extern PACKAGE int __cdecl (*dbmoretext)(void * dbproc, int size, char * text);
extern PACKAGE char * __cdecl (*dbname)(void * dbproc);
extern PACKAGE int __cdecl (*dbnextrow)(void * dbproc);
extern PACKAGE int __cdecl (*dbnullbind)(void * dbproc, int column, LPDBINT indicator);
extern PACKAGE int __cdecl (*dbnumalts)(void * dbproc, int computeId);
extern PACKAGE int __cdecl (*dbnumcols)(void * dbproc);
extern PACKAGE int __cdecl (*dbnumcompute)(void * dbproc);
extern PACKAGE int __cdecl (*dbnumorders)(void * dbproc);
extern PACKAGE int __cdecl (*dbnumrets)(void * dbproc);
extern PACKAGE void * __cdecl (*dbopen)(void * login, char * servername);
extern PACKAGE int __cdecl (*dbordercol)(void * dbproc, int order);
extern PACKAGE int __cdecl (*dbprocinfo)(void * dbproc, TDBPROCINFO &dbprcinfo);
extern PACKAGE void __cdecl (*dbprhead)(void * dbproc);
extern PACKAGE int __cdecl (*dbprrow)(void * dbproc);
extern PACKAGE char * __cdecl (*dbprtype)(int token);
extern PACKAGE char * __cdecl (*dbqual)(void * dbproc, int tabnum, char * tabname);
extern PACKAGE int __cdecl (*dbreadtext)(void * dbproc, LPVOID buf, int bufsize);
extern PACKAGE int __cdecl (*dbresults)(void * dbproc);
extern PACKAGE char * __cdecl (*dbretdata)(void * dbproc, int retnum);
extern PACKAGE int __cdecl (*dbretlen)(void * dbproc, int retnum);
extern PACKAGE char * __cdecl (*dbretname)(void * dbproc, int retnum);
extern PACKAGE int __cdecl (*dbretstatus)(void * dbproc);
extern PACKAGE int __cdecl (*dbrettype)(void * dbproc, int retnum);
extern PACKAGE int __cdecl (*dbrows)(void * dbproc);
extern PACKAGE int __cdecl (*dbrowtype)(void * dbproc);
extern PACKAGE int __cdecl (*dbrpcinit)(void * dbproc, char * rpcname, short options);
extern PACKAGE int __cdecl (*dbrpcparam)(void * dbproc, char * paramname, Byte status, int datatype, int maxlen, int datalen, char * value);
extern PACKAGE int __cdecl (*dbrpcsend)(void * dbproc);
extern PACKAGE int __cdecl (*dbrpcexec)(void * dbproc);
extern PACKAGE int __cdecl (*dbserverenum)(Word searchmode, char * servnamebuf, Word sizeservnamebuf, LPUSHORT numentries);
extern PACKAGE void __cdecl (*dbsetavail)(void * dbproc);
extern PACKAGE int __cdecl (*dbsetmaxprocs)(short maxprocs);
extern PACKAGE int __cdecl (*dbsetlname)(void * login, char * value, int param);
extern PACKAGE int __cdecl (*dbsetlogintime)(int seconds);
extern PACKAGE int __cdecl (*dbsetlpacket)(void * login, Word packet_size);
extern PACKAGE int __cdecl (*dbsetnull)(void * dbproc, int bindtype, int bindlen, char * bindval);
extern PACKAGE int __cdecl (*dbsetopt)(void * dbproc, int option, char * param);
extern PACKAGE int __cdecl (*dbsettime)(int seconds);
extern PACKAGE void __cdecl (*dbsetuserdata)(void * dbproc, LPVOID ptr);
extern PACKAGE int __cdecl (*dbsqlexec)(void * dbproc);
extern PACKAGE int __cdecl (*dbsqlok)(void * dbproc);
extern PACKAGE int __cdecl (*dbsqlsend)(void * dbproc);
extern PACKAGE int __cdecl (*dbstrcpy)(void * dbproc, int start, int numbytes, char * dest);
extern PACKAGE int __cdecl (*dbstrlen)(void * dbproc);
extern PACKAGE int __cdecl (*dbtabbrowse)(void * dbproc, int tabnum);
extern PACKAGE int __cdecl (*dbtabcount)(void * dbproc);
extern PACKAGE char * __cdecl (*dbtabname)(void * dbproc, int tabnum);
extern PACKAGE char * __cdecl (*dbtabsource)(void * dbproc, int colnum, LPINT tabnum);
extern PACKAGE int __cdecl (*dbtsnewlen)(void * dbproc);
extern PACKAGE LPDBBINARY __cdecl (*dbtsnewval)(void * dbproc);
extern PACKAGE int __cdecl (*dbtsput)(void * dbproc, LPDBBINARY newts, int newtslen, int tabnum, char * tabname);
extern PACKAGE LPDBBINARY __cdecl (*dbtxptr)(void * dbproc, int column);
extern PACKAGE LPDBBINARY __cdecl (*dbtxtimestamp)(void * dbproc, int column);
extern PACKAGE LPDBBINARY __cdecl (*dbtxtsnewval)(void * dbproc);
extern PACKAGE int __cdecl (*dbtxtsput)(void * dbproc, LPDBBINARY newtxts, int colnum);
extern PACKAGE int __cdecl (*dbuse)(void * dbproc, char * dbname);
extern PACKAGE int __cdecl (*dbvarylen)(void * dbproc, int column);
extern PACKAGE int __cdecl (*dbwillconvert)(int srctype, int desttype);
extern PACKAGE int __cdecl (*dbwritetext)(void * dbproc, char * objname, LPDBBINARY textptr, Byte textptrlen, LPDBBINARY timestamp, int log, int size, char * text);
extern PACKAGE int __cdecl (*dbupdatetext)(void * dbproc, char * dest_object, LPDBBINARY dest_textptr, LPDBBINARY dest_timestamp, int update_type, int insert_offset, int delete_length, char * src_object, int src_size, LPDBBINARY src_text);
extern PACKAGE TDBERRHANDLE_PROC __cdecl (*dberrhandle)(TDBERRHANDLE_PROC handler);
extern PACKAGE TDBMSGHANDLE_PROC __cdecl (*dbmsghandle)(TDBMSGHANDLE_PROC handler);
extern PACKAGE TDBERRHANDLE_PROC __cdecl (*dbprocerrhandle)(void * dbproc, TDBERRHANDLE_PROC handler);
extern PACKAGE TDBMSGHANDLE_PROC __cdecl (*dbprocmsghandle)(void * dbproc, TDBMSGHANDLE_PROC handler);
#define DefSqlApiDLL "NTWDBLIB.DLL"
extern PACKAGE AnsiString SqlApiDLL;
extern PACKAGE Sdcommon::TISqlDatabase* __fastcall InitSqlDatabase(Classes::TStrings* ADbParams);
extern PACKAGE void __fastcall LoadSqlLib(void);
extern PACKAGE void __fastcall FreeSqlLib(void);
} /* namespace Sdmss */
using namespace Sdmss;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // SDMss
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -