/*================================================================= Copyright (C) 2013-2016 BizStation Corp All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. =================================================================*/ import "oaidl.idl"; import "ocidl.idl"; coclass Database; interface IDbDef; coclass DbDef; interface ITableDef; interface IFieldDef; interface IKeyDef; interface ITable; interface IFlags; interface IKeySegment; interface IField; interface ITdVersion; interface IQueryBase; interface IActiveTable; interface IRecordset; interface IRecord; interface IWritableRecord; interface IGroupQuery; interface IRecordsetQuery; interface IFieldDefs; interface ISortField; interface ISortFields; interface IFieldNames; interface IConnectParams; interface IPooledDbManager; interface IPreparedQuery; interface IBookmark; interface IBitset; interface IBinlogPos; interface IConnMgr; interface IHaNameResolver; typedef [ helpstring("Update, Insert type Constants") ] enum eUpdateType { changeCurrentCc = 0, changeCurrentNcc = 1, changeInKey = 2 }eUpdateType; typedef [ helpstring("Field info query type Constants") ] enum eFieldQuery { minlen = 0, mxlen = 1, defaultlen = 2, decimals = 3 }eFieldQuery; typedef [ helpstring("Find type Constants") ] enum eFindType { findForword = 0, findBackForword = 1, findContinue = 2 }eFindType; typedef [ helpstring("Schema type enum") ] enum eSchemaType { schemaBdf = (short)0, schemaDdf = (short)1 }eSchemaType; typedef [ helpstring("Open mode enum") ] enum eOpenMode { normal = 0, readOnly = -2, exclusive = -4, exclusive_readOnly = -6 }eOpenMode; typedef [ helpstring("Status code Constants") ] enum eStatus { STATUS_TABLE_YET_OPEN = -3, STATUS_DURING_TRANSACTION = -4, STATUS_NO_ACR_UPDATE_DELETE = -5, STATUS_NO_ACR_INSERT = -6, STATUS_NO_ACR_READ = -7, STATUS_CANT_ALLOC_MEMORY = -8, STATUS_USE_KEYFIELD = -9, STATUS_TOO_MANY_TABLES = -10, STATUS_INVARID_PRM_KEY_NUM = -11, STATUS_INVARID_PNT_KEY_NUM = -12, STATUS_INVARID_REP_KEY_NUM = -13, STATUS_INVARID_FIELD_IDX = -14, STATUS_ALREADY_DELETED = -15, STATUS_LMITS_MAX_TABLES = -16, STATUS_DB_YET_OPEN = -17, STATUS_TABLENAME_NOTFOUND = -18, STATUS_DIFFERENT_DBVERSION = -19, STATUS_DUPLICATE_FIELDNAME = -20, STATUS_INVALID_TABLE_IDX = -21, STATUS_AUTH_DENIED = -22, STATUS_TOO_MANY_FIELDS = -23, STATUS_FILTERSTRING_ERROR = -24, STATUS_INVALID_FIELDLENGTH = -25, STATUS_INVALID_KEYTYPE = -26, STATUS_LVAR_NOTE_NOT_LAST = -27, STATUS_NODEF_FOR_CONVERT = -28, STATUS_AUTOINC_SPACE_ERROR = -31, STATUS_TOO_LONG_OWNERNAME = -32, STATUS_CANT_DEL_FOR_REL = -33, STATUS_NO_AUTOINC_SPACE = -34, STATUS_INVALID_RECLEN = -35, STATUS_INVALID_FIELDVALUE = -36, STATUS_INVALID_VALLEN = -37, STATUS_FIELDTYPE_NOTSUPPORT = -42, STATUS_INVALID_NULLMODE = -43, STATUS_TOO_LARGE_VALUE = -44, STATUS_SQL_PARSE_ERROR = -45, STATUS_SUCCESS = 0, STATUS_PROGRAM_ERROR = 1, STATUS_IO_ERROR = 2, STATUS_FILE_NOT_OPENED = 3, STATUS_NOT_FOUND_TI = 4, STATUS_DUPPLICATE_KEYVALUE = 5, STATUS_INVALID_KEYNUM = 6, STATUS_NO_CURRENT = 8, STATUS_EOF = 9, STATUS_TABLE_NOTOPEN = 12, STATUS_REQUESTER_DEACTIVE = 20, STATUS_KEYBUFFERTOOSMALL = 21, STATUS_BUFFERTOOSMALL = 22, STATUS_CANT_CREATE = 25, STATUS_NOSUPPORT_OP = 41, STATUS_INVALID_BOOKMARK = 43, STATUS_ACCESS_DENIED = 46, STATUS_INVALID_OWNERNAME = 51, STATUS_TABLE_EXISTS_ERROR = 59, STATUS_LIMMIT_OF_REJECT = 60, STATUS_WARKSPACE_TOO_SMALL = 61, STATUS_INVALID_EX_DESC = 62, STATUS_INVALID_EX_INS = 63, STATUS_REACHED_FILTER_COND = 64, STATUS_INVALID_FIELD_OFFSET = 65, STATUS_CHANGE_CONFLICT = 80, STATUS_INVALID_LOCKTYPE = 83, STATUS_LOCK_ERROR = 84, STATUS_FILE_LOCKED = 85, STATUS_INVALID_SUPPLYVALUES = 86, STATUS_CANNOT_LOCK_TABLE = 88, TATUS_INVALID_KEYNAME = 6, STATUS_INVALID_DATASIZE = 22, STATUS_INVALID_FIELDNAME = 65, ERROR_TD_INVALID_CLINETHOST = 171, ERROR_NO_DATABASE = 172, ERROR_NOSPECIFY_TABLE = 176, ERROR_LOAD_CLIBRARY = 200, ERROR_INDEX_RND_INIT = 201, STATUS_INVALID_PREPAREID = 202, STATUS_LMIT_OF_PREPAREED = 203, STATUS_ALREADY_INSNAPSHOT = 204, STATUS_ALREADY_INTRANSACTION= 205, SERVER_CLIENT_NOT_COMPATIBLE= 3003, NET_BAD_SRB_FORMAT = 3021, ERROR_TD_HOSTNAME_NOT_FOUND = 3103, ERROR_TD_CONNECTION_FAILURE = 3106, ERROR_TD_NOT_CONNECTED = 3110, ERROR_TD_NET_TIMEOUT = 3800, ERROR_TD_NET_REMOTE_DISCONNECT= 3801, ERROR_TD_NET_TOO_BIGDATA = 3802, ERROR_TD_NET_OTHER = 3810, ERROR_TD_C_CLIENT_UNKNOWN = 3811, ERROR_TD_INVALID_SERVER_ROLE= 3812, ERROR_TD_RECONNECTED = 3900, ERROR_TD_RECONNECTED_OFFSET = 1000, MYSQL_ERROR_OFFSET = 25000 }eStatus; typedef [ helpstring("Field type Constants") ] enum eFieldType { ft_string = 0, ft_integer = 1, ft_float = 2, ft_date = 3, ft_time = 4, ft_decimal = 5, ft_money = 6, ft_logical = 7, ft_numeric = 8, ft_bfloat = 9, ft_lstring = 10, ft_zstring = 11, ft_note = 12, ft_lvar = 13, ft_uinteger = 14, ft_autoinc = 15, ft_bit = 16, ft_numericsts = 17, ft_numericsa = 18, ft_currency = 19, ft_timestamp = 20, ft_blob = 21, ft_reserve22 = 22, ft_reserve23 = 23, ft_reserve24 = 24, ft_wstring = 25, ft_wzstring = 26, ft_guid = 27, ft_datatime = 30, ft_myvarchar = 40, ft_myvarbinary = 41, ft_mywvarchar = 42, ft_mywvarbinary = 43, ft_mychar = 44, ft_mywchar = 45, ft_mydate = 46, ft_mytime = 47, ft_mydatetime = 48, ft_mytimestamp = 49, ft_mytext = 50, ft_myblob = 51, ft_autoIncUnsigned = 52, ft_myfixedbinary = 53, ft_myyear = 59, ft_mygeometry = 60, ft_myjson = 61, ft_mydecimal = 62, ft_nullindicator = 255 }eFieldType; typedef [ helpstring("Charset type Constants") ] enum eCharset { CHARSET_LATIN1 = 1, CHARSET_CP850 = 4, CHARSET_ASCII = 9, CHARSET_SJIS = 11, CHARSET_UTF8 = 22, CHARSET_USC2 = 23, CHARSET_UTF8B4 = 30, CHARSET_UTF16LE = 33, CHARSET_CP932 = 38, CHARSET_EUCJ = 40, MAX_CHAR_INFO = 41 }eCharset; typedef [ helpstring("Lock type Constants") ] enum eLockType { LOCK_NONE = 0, LOCK_SINGLE_WAIT = 100, LOCK_SINGLE_NOWAIT = 200, LOCK_MULTI_WAIT = 300, LOCK_MULTI_NOWAIT = 400, NOWAIT_WRITE = 500, PARALLEL_TRN = 1000, PARA_SINGLE_NOWAIT = 1700, PARA_MULTI_NOWAIT = 1900, /* Innodb or transactional engin lock options */ // read operation lock options ROW_LOCK_X = 200, ROW_LOCK_S = 5200, // transaction options SINGLELOCK_NOGAP = 200, MULTILOCK_NOGAP = 400, MULTILOCK_GAP = 2400 }eLockType; typedef [ helpstring("Server isoration type") ] enum eSrvIsorationType { SRV_ISO_READ_UNCOMMITED = 0, SRV_ISO_READ_COMMITED = 1, SRV_ISO_REPEATABLE_READ = 2, SRV_ISO_SERIALIZABLE = 3, }eSrvIsorationType; typedef [ helpstring("Snapshot lock type Constants") ] enum eStLockType { MULTILOCK_NOGAP_SHARE = 0, MULTILOCK_GAP_SHARE = 2000, CONSISTENT_READ = 4000, CONSISTENT_READ_WITH_BINLOG_POS = 4200 }eStLockType; typedef [ helpstring("Continus operation types") ] enum eContinusOpr { backup_start = 0, backup_end = 1 }eContinusOpr; typedef [ helpstring("Continus operation types") ] enum eContinusStatus { TD_BACKUP_MODE_OK = 0, TD_BACKUP_MODE_NOT_SUPPORT = 1, TD_BACKUP_MODE_BUSY = 88, TD_BACKUP_MODE_NOT_PERMIT = 41, TD_BACKUP_MODE_SERVER_ERROR = 91 }eContinusStatus; typedef [ helpstring("Group function") ] enum eGroupFunc { f_sum = 0, f_count = 1, f_avg = 2, f_min = 3, f_max = 4, f_first = 5, f_last = 6 }eGroupFunc; typedef [ helpstring("query optimize option") ] enum eOptimize { none = 0, joinHasOneOrHasMany = 1, combineCondition = 2 }eOptimize; typedef [ helpstring("table cleabuffer option") ] enum eNullReset { clearNull = 0, defaultNull = 1 }eNullReset; typedef [ helpstring("Version type enum") ] enum eVersionType { MySQLServer = 77, MariaDBServer = 65, TransactdServer = 84, TransactdClient = 78, PSQLWorkgroup = 57, PSQLLinuxServer = 85 }eVersionType; typedef [ helpstring("Timestamp mode enum") ] enum eTimeStampMode { TIMESTAMP_VALUE_CONTROL = 0, TIMESTAMP_ALWAYS = 1 }eTimeStampMode; [ object, uuid(3EE9F43F-99D0-4300-B8A4-3085A2C4D00B), dual, nonextensible, pointer_default(unique) ] interface IDatabase : IDispatch { [id(0x00000001)] HRESULT _stdcall Open([in] BSTR Uri, [in, defaultvalue(schemaBdf)] eSchemaType SchemaType, [in, defaultvalue(readOnly)] eOpenMode Mode, [in, defaultvalue("")] BSTR Dir, [in, defaultvalue("")] BSTR OwnerName, [out, retval] VARIANT_BOOL* Param6); [propget, id(0x00000008)] HRESULT _stdcall DbDef([out, retval] IDbDef** Value); [id(0x00000002)] HRESULT _stdcall OpenTable([in] VARIANT TableID, [in, defaultvalue(normal)] eOpenMode Mode, [in, defaultvalue(-1)] VARIANT_BOOL AutoCreate, [in, defaultvalue("")] BSTR OwnerName, [in, defaultvalue("")] BSTR Uri, [out, retval] ITable** ret); [id(0x00000003), hidden] HRESULT _stdcall AtatchDatabase([in] hyper* nativeDatabase, [in, defaultvalue(0)] VARIANT_BOOL noRelease ); [propget, id(0x00000004)] HRESULT _stdcall RootDir([out, retval] BSTR* Value); [propput, id(0x00000004)] HRESULT _stdcall RootDir([in] BSTR Value); [propget, id(0x00000005)] HRESULT _stdcall Stat([out, retval] eStatus* Value); [id(0x00000006)] HRESULT _stdcall BeginTrn([in, defaultvalue(PARA_SINGLE_NOWAIT)] eLockType Bias); [id(0x00000007)] HRESULT _stdcall EndTrn(void); [id(0x00000009)] HRESULT _stdcall AbortTrn(void); [propget, id(0x0000000A)] HRESULT _stdcall NativeDatabase([out, retval] hyper** Value); [id(0x000000C9)] HRESULT _stdcall BeginSnapshot([in, defaultvalue(CONSISTENT_READ)] eStLockType Bias, [out, retval]IBinlogPos** bpos); [id(0x000000CA)] HRESULT _stdcall EndSnapshot(void); [id(0x000000CB)] HRESULT _stdcall Drop([in, defaultvalue("")] BSTR Uri); [id(0x000000CC)] HRESULT _stdcall DropTable([in] BSTR TableName); [id(0x000000CD)] HRESULT _stdcall Create([in] BSTR Uri, [in, defaultvalue(0)] int type); [id(0x000000CE)] HRESULT _stdcall Connect([in] BSTR Uri, [in, defaultvalue(0)] VARIANT_BOOL NewConnection, [out, retval] VARIANT_BOOL* Value); [id(0x000000CF)] HRESULT _stdcall Disconnect([in] BSTR Uri, [out, retval] VARIANT_BOOL* Param2); [id(0x000000D0)] HRESULT _stdcall Close([in, defaultvalue(0)] VARIANT_BOOL withDropDefaultSchema); [propget, id(0x000000D1)] HRESULT _stdcall EnableTrn([out, retval] VARIANT_BOOL* Value); [id(0x000000D2)] HRESULT _stdcall GetBtrVersion([in]int Index, [out, retval] ITdVersion** Value); [id(0x000000D4)] HRESULT _stdcall IsTransactdUri([in] BSTR Uri, [out, retval] VARIANT_BOOL* Value); [propget, id(0x000000D5)] HRESULT _stdcall IsUseTransactd([out, retval] VARIANT_BOOL* Value); [id(0x000000D6)] HRESULT _stdcall SetUseTransactd(void); [propget, id(0x000000D7)] HRESULT _stdcall LocalSharing([out, retval] VARIANT_BOOL* Value); [propput, id(0x000000D7)] HRESULT _stdcall LocalSharing([in] VARIANT_BOOL Value); [propget, id(0x000000D8)] HRESULT _stdcall LockWaitCount([out, retval] VARIANT_BOOL* Value); [propput, id(0x000000D8)] HRESULT _stdcall LockWaitCount([in] VARIANT_BOOL Value); [propget, id(0x000000D9)] HRESULT _stdcall LockWaitTime([out, retval] VARIANT_BOOL* Value); [propput, id(0x000000D9)] HRESULT _stdcall LockWaitTime([in] VARIANT_BOOL Value); [propget, id(0x000000DA)] HRESULT _stdcall UseLongFilename([out, retval] VARIANT_BOOL* Value); [propput, id(0x000000DA)] HRESULT _stdcall UseLongFilename([in] VARIANT_BOOL Value); [propget, id(0x000000DB)] HRESULT _stdcall OpenTableCount([out, retval] short* Value); [id(0x000000DC)] HRESULT _stdcall ReadDatabaseDirectory([out, retval] BSTR* Value); [id(0x000000DE)] HRESULT _stdcall Rename([in] BSTR OldUri, [in] BSTR newUri); [propget, id(0x000000DF)] HRESULT _stdcall Uri( [out, retval] BSTR* Uri); [id(0x000000E1)] HRESULT _stdcall TdapErr([in]OLE_HANDLE hWnd, [out, retval] BSTR* Value); [id(0x000000E3)] HRESULT _stdcall Clone([out, retval] IDatabase** Value); [id(0x000000E4)] HRESULT _stdcall AssignSchemaData([in] IDbDef* Src, [out, retval] short* Value); [id(0x000000E5)] HRESULT _stdcall Continuous([in] eContinusOpr Op, [in, defaultvalue(0)] VARIANT_BOOL inclideRepfile, [out, retval] eContinusStatus* Value); [id(0x000000E6)] HRESULT _stdcall ConvertTable([in] short TableIndex, [in, defaultvalue(-1)] VARIANT_BOOL Turbo, [in, defaultvalue("")] BSTR OwnerName); [id(0x000000E7)] HRESULT _stdcall CopyTableData([in] ITable* Dest, [in] ITable* Src, [in] VARIANT_BOOL Turbo , [in, defaultvalue(-1)] short KeyNum, [in, defaultvalue(-1)] int MaxSkip, [out, retval] short* Value); [id(0x000000E8)] HRESULT _stdcall CreateTable([in] VARIANT FileNumOrSql, [in, defaultvalue("")] BSTR Uri, [out, retval] VARIANT_BOOL* Value); [id(0x000000E9)] HRESULT _stdcall ExistsTableFile([in] short TableIndex, [in, defaultvalue("")] BSTR OwnerName); [propget, id(0x000000EB)] HRESULT _stdcall IsOpened([out, retval] VARIANT_BOOL* Value); [propget, id(0x000000EC)] HRESULT _stdcall TableReadOnly([out, retval] VARIANT_BOOL* Value); [propput, id(0x000000EC)] HRESULT _stdcall TableReadOnly([in] VARIANT_BOOL Value); [id(0x000000ED)] HRESULT _stdcall SwapTablename([in] BSTR Uri1, [in] BSTR Uri2); [propget, id(0x000000EF)] HRESULT _stdcall ClientID([out, retval] short* Value); [propget, id(0x000000F0)] HRESULT _stdcall RefCount([out, retval] int* Value); [propget, id(0x000000F1)] HRESULT _stdcall TrnsactionFlushWaitStatus([out, retval] VARIANT_BOOL* Value); [propput, id(0x000000F2), helpstring("Effect to all Database instance.")] HRESULT _stdcall ExecCodePage([in] unsigned int Value); [propget, id(0x000000F2)] HRESULT _stdcall ExecCodePage([out, retval] unsigned int* Value); [propget, id(0x000000F3)] HRESULT _stdcall MaxTables([out, retval] int* Value); [id(0x000000F4)] HRESULT _stdcall AclReload([out, retval] short* Value); [propget, id(0x000000F5)] HRESULT _stdcall TrxIsolationServer([out, retval] eSrvIsorationType* Value); [propget, id(0x000000F6)] HRESULT _stdcall TrxLockWaitTimeoutServer([out, retval] int* Value); [id(0x000000F7)] HRESULT _stdcall DisconnectForReconnectTest([out, retval] VARIANT_BOOL* Value); [id(0x000000F8)] HRESULT _stdcall Reconnect([out, retval] VARIANT_BOOL* Value); [id(0x000000F9)] HRESULT _stdcall StatMsg([out, retval] BSTR* Value); [propput, id(0x000000FA)] HRESULT _stdcall AutoSchemaUseNullkey([in] VARIANT_BOOL Value); [propget, id(0x000000FA)] HRESULT _stdcall AutoSchemaUseNullkey([out, retval] VARIANT_BOOL* Value); [propput, id(0x000000FB)] HRESULT _stdcall CompatibleMode([in] int Value); [propget, id(0x000000FB)] HRESULT _stdcall CompatibleMode([out, retval] int* Value); [id(0x000000FC)] HRESULT _stdcall GetSqlStringForCreateTable([in] BSTR tableName, [out, retval] BSTR* retValue); [id(0x000000FD)] HRESULT _stdcall CreateAssociate([out, retval] IDatabase** retVal); [propget, id(0x000000FF)] HRESULT _stdcall IsAssociate([out, retval] VARIANT_BOOL* retVal); [id(0x00000100)] HRESULT _stdcall GetCreateViewSql([in]BSTR name, [out, retval] BSTR* retVal); [id(0x00000101)] HRESULT _stdcall ExecSql([in] BSTR Sql, [out, retval] VARIANT_BOOL* Value); [propget, id(0x00000102)] HRESULT _stdcall EnableAutoReconnect([out, retval] VARIANT_BOOL* retVal); [propput, id(0x00000102)] HRESULT _stdcall EnableAutoReconnect([in] VARIANT_BOOL val); }; [ object, uuid(907FD3F0-130F-4A44-BC79-AAECBDBE93AF), dual, nonextensible, pointer_default(unique) ] interface IDbDef : IDispatch { [propget, id(0x00000003)] HRESULT _stdcall TableCount([out, retval] short* Value); [id(0x000000C9)] HRESULT _stdcall InsertTable([in] short index, [out, retval] ITableDef** Param1); [id(0x000000CA)] HRESULT _stdcall UpDateTableDef([in] short TableIndex); [id(0x000000CB)] HRESULT _stdcall InsertField([in] short TableIndex, [in] short InsertIndex, [out, retval] IFieldDef** Param3); [id(0x000000CC)] HRESULT _stdcall DeleteField([in] short TableIndex, [in] short FieldIndex); [id(0x000000CD)] HRESULT _stdcall InsertKey([in] short TableIndex, [in] short InsertIndex, [out, retval] IKeyDef** Param3); [id(0x000000CE)] HRESULT _stdcall DeleteKey([in] short TableIndex, [in] short KeyIndex); [id(0x000000CF)] HRESULT _stdcall TableDef([in] short Index, [out, retval] ITableDef** Value); [id(0x000000D0)] HRESULT _stdcall CompAsBackup([in] short TableIndex, [out, retval] VARIANT_BOOL* Value); [id(0x000000D1)] HRESULT _stdcall DeleteTable([in] short TableIndex); [id(0x000000D2)] HRESULT _stdcall TableNumByName([in] BSTR Name, [out, retval] short* Value); [id(0x000000D3)] HRESULT _stdcall FieldNumByName([in] short TableIndex, [in] BSTR Name, [out, retval] short* Value); [id(0x000000D4)] HRESULT _stdcall FieldValidLength([in] eFieldQuery Query, [in] short FieldType, [out, retval] unsigned int* Value); [id(0x000000D5)] HRESULT _stdcall FindKeynumByFieldNum([in] short TableIndex, [in] short Index, [out, retval] unsigned short* Value); [propget, id(0x000000D7)] HRESULT _stdcall OpenMode([out, retval] eOpenMode* Value); [id(0x000000D8)] HRESULT _stdcall PopBackup([in] short TableIndex); [id(0x000000D9)] HRESULT _stdcall PushBackup([in] short TableIndex); [id(0x000000DA)] HRESULT _stdcall RenumberTable([in] short OldIndex, [in] short NewIndex); [id(0x000000DB)] HRESULT _stdcall Reopen([in, defaultvalue(readOnly)] eOpenMode Mode); [propget, id(0x000000DC)] HRESULT _stdcall Version([out, retval] int* Value); [propput, id(0x000000DC)] HRESULT _stdcall Version([in] int Value); [propget, id(0x000000DD)] HRESULT _stdcall Stat([out, retval] eStatus* Value); [id(0x000000DE)] HRESULT _stdcall TdapErr([in]OLE_HANDLE hWnd, [out, retval] BSTR* Value); [id(0x000000DF)] HRESULT _stdcall ValidateTableDef([in]short TableIndex, [out, retval] short* Value); [id(0x000000E0)] HRESULT _stdcall StatMsg([out, retval] BSTR* Value); [id(0x000000E1)] HRESULT _stdcall SynchronizeSeverSchema([in] short TableIndex); }; [ object, uuid(91FD8A45-1D66-4939-9AF0-7F0ACD65AA00), dual, nonextensible, pointer_default(unique) ] interface ITable : IDispatch { [propget, id(0x00000001)] HRESULT _stdcall Vlng([in] VARIANT Index, [out, retval] int* Value); [propput, id(0x00000001)] HRESULT _stdcall Vlng([in] VARIANT Index, [in] int Value); [propget, id(0x00000002)] HRESULT _stdcall Text([in] VARIANT Index, [out, retval] BSTR* Value); [propput, id(0x00000002)] HRESULT _stdcall Text([in] VARIANT Index, [in] BSTR Value); [propget, id(0x00000003)] HRESULT _stdcall TableDef([out, retval] ITableDef** Value); [id(0x00000004)] HRESULT _stdcall Insert([in, defaultvalue(changeCurrentNcc)] eUpdateType ncc); [id(0x00000005)] HRESULT _stdcall UpDate([in, defaultvalue(changeCurrentNcc)] eUpdateType ncc); [id(0x00000006)] HRESULT _stdcall Delete([in, defaultvalue(0)] VARIANT_BOOL inkey); [id(0x00000007)] HRESULT _stdcall ClearBuffer([in, defaultvalue(defaultNull)] eNullReset resetType); [id(0x00000019)] HRESULT _stdcall Close(void); [id(0x0000001A)] HRESULT _stdcall SeekFirst([in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x0000001B)] HRESULT _stdcall SeekLast([in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x0000001C)] HRESULT _stdcall SeekPrev([in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x0000001D)] HRESULT _stdcall SeekNext([in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x0000001E)] HRESULT _stdcall Seek([in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x0000001F)] HRESULT _stdcall SeekGreater([in] VARIANT_BOOL orEqual, [in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x00000020)] HRESULT _stdcall SeekLessThan([in] VARIANT_BOOL orEqual, [in, defaultvalue(LOCK_NONE)] eLockType lockBias); [propget, id(0x00000030)] HRESULT _stdcall Bookmark([out, retval] IBookmark** Value); [id(0x00000022)] HRESULT _stdcall SeekByBookmark([in] IBookmark* bm, [in, defaultvalue(LOCK_NONE)] eLockType lockBias); [propget, id(0x00000023)] HRESULT _stdcall Percentage([in, optional] VARIANT param, [out, retval] long* Value); [id(0x00000031)] HRESULT _stdcall SeekByPercentage([in] long Value); [id(0x00000024)] HRESULT _stdcall RecordCount([in, defaultvalue(-1)] VARIANT_BOOL estimate, [in, defaultvalue(0)] VARIANT_BOOL fromCurrent, [out, retval] long* Value); [propget, id(0x00000025)] HRESULT _stdcall RecordLength([out, retval] long* Value); [propget, id(0x00000026)] HRESULT _stdcall Stat([out, retval] eStatus* Value); [propput, id(0x00000026)] HRESULT _stdcall Stat([in] eStatus Value); [propget, id(0x00000027)] HRESULT _stdcall KeyNum([out, retval] short* Value); [propput, id(0x00000027)] HRESULT _stdcall KeyNum([in] short Value); [propget, id(0x00000021)] HRESULT _stdcall Vdbl([in] VARIANT Index, [out, retval] double* Value); [propput, id(0x00000021)] HRESULT _stdcall Vdbl([in] VARIANT Index, [in] double Value); [propget, id(0x00000028)] HRESULT _stdcall Vbin([in] VARIANT Index, [out, retval] BSTR* Value); [propput, id(0x00000028)] HRESULT _stdcall Vbin([in] VARIANT Index, [in] BSTR Value); [propput, id(0x00000029)] HRESULT _stdcall Filter([in] BSTR Value); [id(0x0000002A)] HRESULT _stdcall FindNext([in, defaultvalue(-1)] VARIANT_BOOL notIncCurrent); [id(0x0000002B)] HRESULT _stdcall FindPrev([in, defaultvalue(-1)] VARIANT_BOOL notIncCurrent); [id(0x0000002C)] HRESULT _stdcall FindFirst(void); [id(0x0000002D)] HRESULT _stdcall FindLast(void); [propget, id(0x0000000F)] HRESULT _stdcall V64([in] VARIANT Index, [out, retval] hyper* Value); [propput, id(0x0000000F)] HRESULT _stdcall V64([in] VARIANT Index, [in] hyper Value); [id(0x0000002E)] HRESULT _stdcall StepFirst([in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x0000002F)] HRESULT _stdcall StepLast([in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x00000032)] HRESULT _stdcall StepPrev([in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x00000033)] HRESULT _stdcall StepNext([in, defaultvalue(LOCK_NONE)] eLockType lockBias); [id(0x000000C9)] HRESULT _stdcall BeginBulkInsert([in, defaultvalue(55535)] long Value); [id(0x000000CA)] HRESULT _stdcall CommitBulkInsert(void); [id(0x000000CB)] HRESULT _stdcall AbortBulkInsert(void); [propget, id(0x000000CC)] HRESULT _stdcall FilterRejectCount([out, retval] long* Value); [propput, id(0x000000CC)] HRESULT _stdcall FilterRejectCount([in] long Value); [propget, id(0x000000CD)] HRESULT _stdcall FilterGetCount([out, retval] long* Value); [propput, id(0x000000CD)] HRESULT _stdcall FilterGetCount([in] long Value); [id(0x000000CE)] HRESULT _stdcall Field([in] VARIANT Index, [out, retval] IField** Value); [propget, id(0x000000CF)] HRESULT _stdcall CanDelete([out, retval] VARIANT_BOOL* Value); [propget, id(0x000000D0)] HRESULT _stdcall CanInsert([out, retval] VARIANT_BOOL* Value); [propget, id(0x000000D1)] HRESULT _stdcall CanRead([out, retval] VARIANT_BOOL* Value); [propget, id(0x000000D2)] HRESULT _stdcall CanWrite([out, retval] VARIANT_BOOL* Value); [id(0x000000D3)] HRESULT _stdcall ClearOwnerName(void); [id(0x000000D4)] HRESULT _stdcall CreateIndex([in, defaultvalue(0)] VARIANT_BOOL specifyKeyNum); [id(0x000000D5)] HRESULT _stdcall DropIndex([in, defaultvalue(0)] VARIANT_BOOL norenumber); [propget, id(0x000000D6)] HRESULT _stdcall Datalen([out, retval] unsigned int* Value); [propget, id(0x000000D7)] HRESULT _stdcall WriteImageLen([out, retval] unsigned int* Value); [propget, id(0x000000D8)] HRESULT _stdcall IsOpen([out, retval] VARIANT_BOOL* Value); [id(0x000000D9)] HRESULT _stdcall SetAccessRights([in] unsigned char curd); [id(0x000000DA)] HRESULT _stdcall SetOwnerName([in] BSTR* name, [in, defaultvalue(0)] short enctype); [id(0x000000DB)] HRESULT _stdcall TdapErr([in]OLE_HANDLE hWnd, [out, retval] BSTR* Value); [id(0x000000DC)] HRESULT _stdcall Unlock_(); [propget, id(0x000000DD)] HRESULT _stdcall BlobFieldUsed([out, retval] VARIANT_BOOL* Value); [propget, id(0x000000DF)] HRESULT _stdcall BookmarkFindCurrent([out, retval] IBookmark** Value); [propget, id(0x000000F0)] HRESULT _stdcall BookmarksCount([out, retval] int* Value); [id(0x000000F1)] HRESULT _stdcall Find([in, defaultvalue(findForword)] eFindType FindType); [propget, id(0x000000F2)] HRESULT _stdcall RecordHash([out, retval] unsigned int* Value); [propget, id(0x000000F3)] HRESULT _stdcall LogicalToString([out, retval] VARIANT_BOOL* Value); [propput, id(0x000000F3)] HRESULT _stdcall LogicalToString([in] VARIANT_BOOL Value); [id(0x000000F6)] HRESULT _stdcall MoveBookmarks([in] long Value); [propget, id(0x000000F7)] HRESULT _stdcall MyDateTimeValueByBtrv([out, retval] VARIANT_BOOL* Value); [propget, id(0x000000F8)] HRESULT _stdcall ValiableFormatType([out, retval] VARIANT_BOOL* Value); [id(0x000000F9)] HRESULT _stdcall SmartUpdate(void); [id(0x000000FA)] HRESULT _stdcall KeyValueDescription([out, retval] BSTR* Value); [id(0x000000FB)] HRESULT _stdcall SetQuery([in] IQueryBase* Value, [in, defaultvalue(0)] VARIANT_BOOL ServerPrepare, [out, retval] IPreparedQuery** retVal); [id(0x000000FC)] HRESULT _stdcall FieldNumByName([in] BSTR Name, [out, retval] short* Value); [id(0x000000FD)] HRESULT _stdcall Prepare([in] IQueryBase* Value, [in, defaultvalue(0)] VARIANT_BOOL ServerPrepare, [out, retval] IPreparedQuery** retVal); [id(0x000000FF)] HRESULT _stdcall SetPrepare([in] IPreparedQuery* Value); [propget, id(0x000000E1)] HRESULT _stdcall StatReasonOfFind([out, retval] short* Value); [propget, id(0x000000E2)] HRESULT _stdcall LastFindDirection([out, retval] short* Value); [propget, id(0x000000E3)] HRESULT _stdcall BookmarkLen([out, retval] unsigned short* Value); [propget, id(0x000000E4)] HRESULT _stdcall Bookmarks([in] long index, [out, retval] IBookmark** Value); [id(0x000000E5)] HRESULT _stdcall StatMsg([out, retval] BSTR* Value); [id(0x000000E6)] HRESULT _stdcall GetFVNull([in] VARIANT Index, [out, retval] VARIANT_BOOL* Value); [id(0x000000E7)] HRESULT _stdcall SetFVNull([in] VARIANT Index, [in] VARIANT_BOOL Value); [id(0x000000E8)] HRESULT _stdcall GetFVint([in] VARIANT Index, [out, retval] int* Value); [id(0x000000E9)] HRESULT _stdcall GetFV64([in] VARIANT Index, [out, retval] hyper* Value); [id(0x000000EA)] HRESULT _stdcall GetFVdbl([in] VARIANT Index, [out, retval] double* Value); [id(0x000000EB)] HRESULT _stdcall GetFVstr([in] VARIANT Index, [out, retval] BSTR* Value); [id(0x000000EC)] HRESULT _stdcall SetFV([in] VARIANT Index, [in] VARIANT Value); [id(0x000000ED)] HRESULT _stdcall SetTimestampMode([in] eTimeStampMode mode); [id(0x000000EE)] HRESULT _stdcall GetFVbits([in] VARIANT Index, [out, retval] IBitset** Value); [id(0x000000EF)] HRESULT _stdcall GetCreateSql([out, retval] BSTR* retVal); [propget, id(0x00000100)] HRESULT _stdcall UpdateConflictCheck([out, retval] VARIANT_BOOL* retVal); [id(0x00000101)] HRESULT _stdcall SetUpdateConflictCheck([in] VARIANT_BOOL value,[out, retval] VARIANT_BOOL* retVal); [id(0x00000102)] HRESULT _stdcall SetAlias([in] BSTR orign,[in] BSTR alias); }; [ object, uuid(C459B95E-1EB4-4670-B251-F074168153ED), dual, nonextensible, pointer_default(unique) ] interface ITableDef : IDispatch { [propget, id(0x00000003)] HRESULT _stdcall FieldCount([out, retval] short* Value); [propget, id(0x00000004)] HRESULT _stdcall KeyCount([out, retval] short* Value); [propget, id(0x00000005)] HRESULT _stdcall PageSize([out, retval] short* Value); [propput, id(0x00000005)] HRESULT _stdcall PageSize([in] short Value); [propget, id(0x00000006)] HRESULT _stdcall PreAlloc([out, retval] short* Value); [propput, id(0x00000006)] HRESULT _stdcall PreAlloc([in] short Value); [propget, id(0x00000007)] HRESULT _stdcall FileName([out, retval] BSTR* Value); [propput, id(0x00000007)] HRESULT _stdcall FileName([in] BSTR Value); [propget, id(0x00000008)] HRESULT _stdcall TableName([out, retval] BSTR* Value); [propput, id(0x00000008)] HRESULT _stdcall TableName([in] BSTR Value); [propget, id(0x00000009)] HRESULT _stdcall Flags([out, retval] IFlags** Value); [propput, id(0x00000009)] HRESULT _stdcall Flags([in] IFlags* Value); [propget, id(0x0000000A)] HRESULT _stdcall PrimaryKeyNum([out, retval] unsigned char* Value); [propput, id(0x0000000A)] HRESULT _stdcall PrimaryKeyNum([in] unsigned char Value); [propget, id(0x0000000B), hidden] HRESULT _stdcall ParentKeyNum([out, retval] unsigned char* Value); [propput, id(0x0000000B), hidden] HRESULT _stdcall ParentKeyNum([in] unsigned char Value); [propget, id(0x0000000C), hidden] HRESULT _stdcall ReplicaKeyNum([out, retval] unsigned char* Value); [propput, id(0x0000000C), hidden] HRESULT _stdcall ReplicaKeyNum([in] unsigned char Value); [propget, id(0x0000000D)] HRESULT _stdcall OptionFlags([out, retval] IFlags** Value); [propput, id(0x0000000D)] HRESULT _stdcall OptionFlags([in] IFlags* Value); [propget, id(0x0000000E), hidden] HRESULT _stdcall IconIndex([out, retval] unsigned char* Value); [propput, id(0x0000000E), hidden] HRESULT _stdcall IconIndex([in] unsigned char Value); [propget, id(0x0000000F)] HRESULT _stdcall Id([out, retval] short* Value); [propput, id(0x0000000F)] HRESULT _stdcall Id([in] short Value); [propget, id(0x000000C9)] HRESULT _stdcall Charsetindex([out, retval] eCharset* Value); [propput, id(0x000000C9)] HRESULT _stdcall Charsetindex([in] eCharset Value); [propget, id(0x000000CC)] HRESULT _stdcall FixedRecordLen([out, retval] unsigned short* Value); [propput, id(0x000000CC)] HRESULT _stdcall FixedRecordLen([in] unsigned short Value); [propget, id(0x000000CD)] HRESULT _stdcall RecordLen([out, retval] unsigned short* Value); [propget, id(0x000000CF)] HRESULT _stdcall SchemaCodePage([out, retval] unsigned int* Value); [propput, id(0x000000CF)] HRESULT _stdcall SchemaCodePage([in] unsigned int Value); [propget, id(0x000000D0)] HRESULT _stdcall Version([out, retval] unsigned short* Value); [propget, id(0x000000CA)] HRESULT _stdcall FieldDef([in] short Index, [out, retval] IFieldDef** Value); [propget, id(0x000000CB)] HRESULT _stdcall KeyDef([in] short Index, [out, retval] IKeyDef** Value); [propget, id(0x000000CE)] HRESULT _stdcall FieldNumByName([in] BSTR Name, [out, retval] short* Value); [propget, id(0x000000D1)] HRESULT _stdcall Nullfields([out, retval] short* Value); [propget, id(0x000000D2)] HRESULT _stdcall InUse([out, retval] short* Value); [propget, id(0x000000D3)] HRESULT _stdcall MysqlNullMode([out, retval] VARIANT_BOOL* Value); [propget, id(0x000000D4)] HRESULT _stdcall Size([out, retval] int* Value); [id(0x000000D5)] HRESULT _stdcall SetValidationTarget([in] VARIANT_BOOL isMariadb, [in] short srvMinorVersion); }; [ object, uuid(B97808AB-5353-41EF-A41D-EF94967BCBE2), dual, nonextensible, pointer_default(unique) ] interface IFieldDef : IDispatch { [propget, id(0x00000001)] HRESULT _stdcall Name([out, retval] BSTR* Value); [propput, id(0x00000001)] HRESULT _stdcall Name([in] BSTR Value); [propget, id(0x00000002)] HRESULT _stdcall Type([out, retval] eFieldType* Value); [propput, id(0x00000002)] HRESULT _stdcall Type([in] eFieldType Value); [propget, id(0x00000003)] HRESULT _stdcall Len([out, retval] short* Value); [propput, id(0x00000003)] HRESULT _stdcall Len([in] short Value); [propget, id(0x00000004)] HRESULT _stdcall Decimals([out, retval] unsigned char* Value); [propput, id(0x00000004)] HRESULT _stdcall Decimals([in] unsigned char Value); [propget, id(0x00000005)] HRESULT _stdcall Max([out, retval] double* Value); [propput, id(0x00000005)] HRESULT _stdcall Max([in] double Value); [propget, id(0x00000006)] HRESULT _stdcall Min([out, retval] double* Value); [propput, id(0x00000006)] HRESULT _stdcall Min([in] double Value); [propget, id(0x00000008), hidden] HRESULT _stdcall LookTable([out, retval] unsigned char* Value); [propput, id(0x00000008), hidden] HRESULT _stdcall LookTable([in] unsigned char Value); [propget, id(0x00000009), hidden] HRESULT _stdcall LookField([out, retval] unsigned char* Value); [propput, id(0x00000009), hidden] HRESULT _stdcall LookField([in] unsigned char Value); [propget, id(0x0000000A), hidden] HRESULT _stdcall LookViewField([in] short Index, [out, retval] unsigned char* Value); [propput, id(0x0000000A), hidden] HRESULT _stdcall LookViewField([in] short Index, [in] unsigned char Value); [propget, id(0x0000000B), hidden] HRESULT _stdcall EnableFlags([out, retval] IFlags** Value); [propput, id(0x0000000B), hidden] HRESULT _stdcall EnableFlags([in] IFlags* Value); [propget, id(0x0000000C)] HRESULT _stdcall Keylen([out, retval] unsigned short* Value); [propput, id(0x0000000C)] HRESULT _stdcall Keylen([in] unsigned short Value); [propget, id(0x0000000D)] HRESULT _stdcall NullValue([out, retval] unsigned short* Value); [propput, id(0x0000000D)] HRESULT _stdcall NullValue([in] unsigned short Value); [propget, id(0x0000000E)] HRESULT _stdcall Align([out, retval] unsigned int* Value); [propget, id(0x0000000F)] HRESULT _stdcall TypeName([out, retval] BSTR* Value); [propget, id(0x00000010)] HRESULT _stdcall IsStringType([out, retval] VARIANT_BOOL* Value); [propget, id(0x00000011)] HRESULT _stdcall CharsetIndex([out, retval] eCharset* Value); [propput, id(0x00000011)] HRESULT _stdcall CharsetIndex([in] eCharset Value); [propget, id(0x00000012)] HRESULT _stdcall CodePage([out, retval] unsigned int* Value); [propget, id(0x00000013)] HRESULT _stdcall CharNum([out, retval] unsigned int* Value); [id(0x00000014)] HRESULT _stdcall SetLenByCharnum([in] unsigned short Value); [propget, id(0x00000015)] HRESULT _stdcall Index([out, retval] short* Value); [id(0x00000016)] HRESULT _stdcall SetPadCharSettings([in] VARIANT_BOOL set, [in] VARIANT_BOOL trim); [propget, id(0x00000017)] HRESULT _stdcall UsePadChar([out, retval] VARIANT_BOOL* Value); [propget, id(0x00000018)] HRESULT _stdcall TrimPadChar([out, retval] VARIANT_BOOL* Value); [propget, id(0x00000019)] HRESULT _stdcall DefaultValue([out, retval] VARIANT* Value); [propput, id(0x00000019)] HRESULT _stdcall DefaultValue([in] VARIANT Value); [propget, id(0x0000001A)] HRESULT _stdcall PadCharType([out, retval] VARIANT_BOOL* Value); [propget, id(0x0000001B)] HRESULT _stdcall DateTimeType([out, retval] VARIANT_BOOL* Value); [propget, id(0x0000001C)] HRESULT _stdcall ValidCharNum([out, retval] VARIANT_BOOL* Value); [propget, id(0x0000001D)] HRESULT _stdcall Nullable([out, retval] VARIANT_BOOL* Value); [id(0x0000001E)] HRESULT _stdcall SetNullable([in] VARIANT_BOOL Value, [in , defaultvalue(-1)] VARIANT_BOOL DefaultNull); [propget, id(0x00000020)] HRESULT _stdcall TimeStampOnUpdate([out, retval] VARIANT_BOOL* Value); [propput, id(0x00000020)] HRESULT _stdcall TimeStampOnUpdate([in] VARIANT_BOOL Value); [propget, id(0x00000021)] HRESULT _stdcall DefaultNull([out, retval] VARIANT_BOOL* Value); [propget, id(0x00000022)] HRESULT _stdcall Digits([out, retval] short* Value); [propput, id(0x00000022)] HRESULT _stdcall Digits([in] short Value); [propget, id(0x00000023)] HRESULT _stdcall IsIntegerType([out, retval] VARIANT_BOOL* Value); [propget, id(0x00000024)] HRESULT _stdcall IsNumericType([out, retval] VARIANT_BOOL* Value); [propget, id(0x00000025)] HRESULT _stdcall IsDateTimeType([out, retval] VARIANT_BOOL* Value); [id(0x00000026)] HRESULT _stdcall SetDecimalDigits([in] int Digits, [in ] int Decimals); }; [ object, uuid(AE15153A-87D9-4A6F-B17D-31695BA24B35), dual, nonextensible, pointer_default(unique) ] interface IKeyDef : IDispatch { [propget, id(0x00000001)] HRESULT _stdcall SegmentCount([out, retval] unsigned char* Value); [propput, id(0x00000001)] HRESULT _stdcall SegmentCount([in] unsigned char Value); [propget, id(0x00000000)] HRESULT _stdcall Segments([in] short Index, [out, retval] IKeySegment** Value); }; [ object, uuid(1777FC4B-FE81-4FF8-9FF0-92D160CA6C9E), dual, nonextensible, pointer_default(unique) ] interface IFlags : IDispatch { [propget, id(0x00000000)] HRESULT _stdcall Bits([in] short Index, [out, retval] VARIANT_BOOL* Value); [propput, id(0x00000000)] HRESULT _stdcall Bits([in] short Index, [in] VARIANT_BOOL Value); [id(0x000000C9)] HRESULT _stdcall All([out] unsigned short* Value); [id(0x000000CA)] HRESULT _stdcall GetBit([in] short Index, [out, retval] VARIANT_BOOL* Value); [id(0x000000CB)] HRESULT _stdcall SetBit([in] short Index, [in] VARIANT_BOOL Value); }; [ object, uuid(8DCAB5C6-AFCC-4BED-8D06-7044F0CCB3A3), dual, nonextensible, pointer_default(unique) ] interface IKeySegment : IDispatch { [propget, id(0x00000001)] HRESULT _stdcall FieldNum([out, retval] unsigned char* Value); [propput, id(0x00000001)] HRESULT _stdcall FieldNum([in] unsigned char Value); [propget, id(0x00000002)] HRESULT _stdcall Flags([out, retval] IFlags** Value); [propput, id(0x00000002)] HRESULT _stdcall Flags([in] IFlags* Value); }; [ object, uuid(775F02E3-CCD0-49A0-986F-F4A517ABD7ED), dual, nonextensible, pointer_default(unique) ] interface IField : IDispatch { [propget, id(0x000000C9)] HRESULT _stdcall Text([out, retval] BSTR* Value); [propput, id(0x000000C9)] HRESULT _stdcall Text([in] BSTR Value); [propget, id(0x000000CA)] HRESULT _stdcall Vlng([out, retval] int* Value); [propput, id(0x000000CA)] HRESULT _stdcall Vlng([in] int Value); [propget, id(0x000000CB)] HRESULT _stdcall V64([out, retval] hyper* Value); [propput, id(0x000000CB)] HRESULT _stdcall V64([in] hyper Value); [propget, id(0x000000CC)] HRESULT _stdcall Vdbl([out, retval] double* Value); [propput, id(0x000000CC)] HRESULT _stdcall Vdbl([in] double Value); [propget, id(0x000000CD)] HRESULT _stdcall Vbin([out, retval] BSTR* Value); [propput, id(0x000000CD)] HRESULT _stdcall Vbin([in] BSTR Value); [id(0x000000CF)] HRESULT _stdcall IsNull([out, retval] VARIANT_BOOL* Value); [id(0x000000D0)] HRESULT _stdcall SetNull([in] VARIANT_BOOL Value); [id(0x000000D1)] HRESULT _stdcall SetValue([in] VARIANT Value); [id(0x000000D7)] HRESULT _stdcall SetBin([in] BSTR Value); [id(0x000000D2)] HRESULT _stdcall I([out, retval] int* Value); [id(0x000000D3)] HRESULT _stdcall I64([out, retval] __int64* Value); [id(0x000000D5)] HRESULT _stdcall D([out, retval] double* Value); [id(0x000000D6)] HRESULT _stdcall Bin([out, retval] BSTR* Value); [id(0x000000D4)] HRESULT _stdcall Str([out, retval] BSTR* Value); [propget, id(0x000000D8)] HRESULT _stdcall Type([out, retval] short* Value); [propget, id(0x000000D9)] HRESULT _stdcall Len([out, retval] short* Value); [id(0x000000DA)] HRESULT _stdcall GetBits([out, retval] IBitset** Value); }; [ object, uuid(775F02E3-CCD0-49A0-986F-F4A517ABD7EF), dual, nonextensible, pointer_default(unique) ] interface ITdVersion : IDispatch { [propget, id(1)] HRESULT _stdcall MajorVersion([out, retval] short* Value); [propput, id(1)] HRESULT _stdcall MajorVersion([in] short Value); [propget, id(2)] HRESULT _stdcall MinorVersion([out, retval] short* Value); [propput, id(2)] HRESULT _stdcall MinorVersion([in] short Value); [propget, id(3)] HRESULT _stdcall Type([out, retval] short* Value); [propput, id(3)] HRESULT _stdcall Type([in] short Value); [id(4)] HRESULT _stdcall ModuleTypeString([out, retval] BSTR* Value); [id(5)] HRESULT _stdcall ModuleVersionShortString([out, retval] BSTR* Value); }; [ object, uuid(828B3682-4B3F-465C-8168-D36BF62ECA8E), dual, nonextensible, pointer_default(unique) ] interface IQueryBase : IDispatch { [id(0x0000001)] HRESULT _stdcall Reset([out, retval] IQueryBase** retVal); [id(0x0000002)] HRESULT _stdcall ClearSeekKeyValues(void); [id(0x0000003)] HRESULT _stdcall ClearSelectFields(void); [id(0x0000004)] HRESULT _stdcall Select([in] BSTR Value ,[in, defaultvalue("")] BSTR Value1 ,[in, defaultvalue("")] BSTR Value2 ,[in, defaultvalue("")] BSTR Value3 ,[in, defaultvalue("")] BSTR Value4 ,[in, defaultvalue("")] BSTR Value5 ,[in, defaultvalue("")] BSTR Value6 ,[in, defaultvalue("")] BSTR Value7 ,[in, defaultvalue("")] BSTR Value8 ,[in, defaultvalue("")] BSTR Value9 ,[in, defaultvalue("")] BSTR Value10 , [out, retval] IQueryBase** retVal); [id(0x0000005)] HRESULT _stdcall Where([in] BSTR Name, [in] BSTR Logic, [in] VARIANT Value, [out, retval] IQueryBase** retVal); [id(0x0000006)] HRESULT _stdcall And([in] BSTR Name, [in] BSTR Logic, [in] VARIANT Value, [out, retval] IQueryBase** retVal); [id(0x0000007)] HRESULT _stdcall Or([in] BSTR Name, [in] BSTR Logic, [in] VARIANT Value, [out, retval] IQueryBase** retVal); [id(0x0000008)] HRESULT _stdcall AddInValue([in] VARIANT Value, [in, defaultvalue(0)] VARIANT_BOOL Reset); [id(0x0000009)] HRESULT _stdcall In([in] VARIANT Value ,[in, defaultvalue("")] VARIANT Value1 ,[in, defaultvalue("")] VARIANT Value2 ,[in, defaultvalue("")] VARIANT Value3 ,[in, defaultvalue("")] VARIANT Value4 ,[in, defaultvalue("")] VARIANT Value5 ,[in, defaultvalue("")] VARIANT Value6 ,[in, defaultvalue("")] VARIANT Value7 ,[in, defaultvalue("")] VARIANT Value8 ,[in, defaultvalue("")] VARIANT Value9 ,[in, defaultvalue("")] VARIANT Value10 , [out, retval] IQueryBase** retVal); [id(0x000000A)] HRESULT _stdcall QueryString([in] BSTR Value, [out, retval] IQueryBase** retVal); [id(0x000000B)] HRESULT _stdcall Reject([in, defaultvalue(1)] long Value, [out, retval] IQueryBase** retVal); [id(0x000000C)] HRESULT _stdcall Limit([in, defaultvalue(0)] long Value, [out, retval] IQueryBase** retVal); [id(0x000000D)] HRESULT _stdcall Direction([in] eFindType FindType, [out, retval] IQueryBase** retVal); [id(0x000000E)] HRESULT _stdcall All([out, retval] IQueryBase** retVal); [id(0x000000F)] HRESULT _stdcall ToString([out, retval] BSTR* retVal); [id(0x0000010)] HRESULT _stdcall GetDirection([out, retval] eFindType* retVal); [id(0x0000011)] HRESULT _stdcall GetReject([out, retval] long* retVal); [id(0x0000012)] HRESULT _stdcall GetLimit([out, retval] long* retVal); [id(0x0000013)] HRESULT _stdcall IsAll([out, retval] VARIANT_BOOL* retVal); [id(0x0000014)] HRESULT _stdcall Optimize([in, defaultvalue(none)] eOptimize Value, [out, retval] IQueryBase** retVal); [id(0x0000015)] HRESULT _stdcall GetOptimize([out, retval] eOptimize* retVal); [id(0x0000016)] HRESULT _stdcall SelectCount([out, retval] short* retVal); [id(0x0000017)] HRESULT _stdcall GetSelect([in] short index, [out, retval] BSTR* retVal); [id(0x0000018)] HRESULT _stdcall WhereTokenCount([out, retval] short* retVal); [id(0x0000019)] HRESULT _stdcall GetWhereToken([in] short index, [out, retval] BSTR* retVal); [id(0x000001A)] HRESULT _stdcall BookmarkAlso([in] VARIANT_BOOL Value, [out, retval] IQueryBase** retVal); [id(0x000001B)] HRESULT _stdcall IsBookmarkAlso([out, retval] VARIANT_BOOL* retVal); [id(0x000001C)] HRESULT _stdcall StopAtLimit([in] VARIANT_BOOL Value, [out, retval] IQueryBase** retVal); [id(0x000001D)] HRESULT _stdcall IsStopAtLimit([out, retval] VARIANT_BOOL* retVal); [id(0x000001E)] HRESULT _stdcall IsSeekByBookmarks([out, retval] VARIANT_BOOL* retVal); [id(0x000001F)] HRESULT _stdcall AddSeekKeyValue([in] VARIANT Value, [in, defaultvalue(0)] VARIANT_BOOL Reset); [id(0x0000020)] HRESULT _stdcall AddSeekBookmark([in] VARIANT Value, [in, defaultvalue(0)] VARIANT_BOOL Reset); [id(0x0000021)] HRESULT _stdcall WhereIsNull([in] BSTR Name, [out, retval] IQueryBase** retVal); [id(0x0000022)] HRESULT _stdcall AndIsNull([in] BSTR Name, [out, retval] IQueryBase** retVal); [id(0x0000023)] HRESULT _stdcall OrIsNull([in] BSTR Name, [out, retval] IQueryBase** retVal); [id(0x0000024)] HRESULT _stdcall WhereIsNotNull([in] BSTR Name, [out, retval] IQueryBase** retVal); [id(0x0000025)] HRESULT _stdcall AndIsNotNull([in] BSTR Name, [out, retval] IQueryBase** retVal); [id(0x0000026)] HRESULT _stdcall OrIsNotNull([in] BSTR Name, [out, retval] IQueryBase** retVal); [id(0x0000027)] HRESULT _stdcall SegmentsForInValue([in] int Value, [out, retval] IQueryBase** retVal); [id(0x0000028)] HRESULT _stdcall JoinKeySize([in] int Value, [out, retval] IQueryBase** retVal); [id(0x0000029)] HRESULT _stdcall GetJoinKeySize([out, retval] int* retVal); }; [ object, uuid(3EE9F43F-99D0-4300-B8A4-3085A2C4DAAB), dual, nonextensible, pointer_default(unique) ] interface IActiveTable : IDispatch { [id(0x0000001)] HRESULT _stdcall SetDatabase([in] VARIANT Value, [in] BSTR tableName, [in, defaultvalue(normal)] short mode); [id(0x0000002)] HRESULT _stdcall Index([in] short Value, [out, retval] IActiveTable** retVal); [id(0x0000003)] HRESULT _stdcall KeyValue([in] VARIANT Value0, [in, defaultvalue("")] VARIANT Value1 ,[in, defaultvalue("")] VARIANT Value2, [in, defaultvalue("")] VARIANT Value3 ,[in, defaultvalue("")] VARIANT Value4, [in, defaultvalue("")] VARIANT Value5 ,[in, defaultvalue("")] VARIANT Value6, [in, defaultvalue("")] VARIANT Value7 ,[out, retval] IActiveTable** retVal); [id(0x0000004)] HRESULT _stdcall Option([in] int Value, [out, retval] IActiveTable** retVal); [id(0x0000005)] HRESULT _stdcall Read([in, optional] VARIANT query, [in, optional] VARIANT Value0, [in, optional] VARIANT Value1, [in, optional] VARIANT Value2, [in, optional] VARIANT Value3, [in, optional] VARIANT Value4, [in, optional] VARIANT Value5, [in, optional] VARIANT Value6, [in, optional] VARIANT Value7, [out, retval] IRecordset** retVal); [id(0x0000006)] HRESULT _stdcall Alias([in] BSTR Src, [in] BSTR Dst, [out, retval] IActiveTable** retVal); [id(0x0000007)] HRESULT _stdcall ResetAlias([out, retval] IActiveTable** retVal); [id(0x0000008)] HRESULT _stdcall Join([in] IRecordset* rs, [in] VARIANT query, [in] BSTR Name0 , [in, defaultvalue("")] BSTR Name1, [in, defaultvalue("")] BSTR Name2 , [in, defaultvalue("")] BSTR Name3, [in, defaultvalue("")] BSTR Name4 , [in, defaultvalue("")] BSTR Name5, [in, defaultvalue("")] BSTR Name6 , [in, defaultvalue("")] BSTR Name7 ,[out, retval] IRecordset** retVal); [id(0x0000009)] HRESULT _stdcall OuterJoin([in] IRecordset* rs, [in] VARIANT query, [in] BSTR Name0 , [in, defaultvalue("")] BSTR Name1, [in, defaultvalue("")] BSTR Name2 , [in, defaultvalue("")] BSTR Name3, [in, defaultvalue("")] BSTR Name4 , [in, defaultvalue("")] BSTR Name5, [in, defaultvalue("")] BSTR Name6 , [in, defaultvalue("")] BSTR Name7 ,[out, retval] IRecordset** retVal); [id(0x000000A)] HRESULT _stdcall GetWritableRecord([out, retval] IWritableRecord** retVal); [propget, id(0x000000B)] HRESULT _stdcall TableDef([out, retval] ITableDef** Value); [id(0x000000C)] HRESULT _stdcall Prepare([in] IQueryBase* Value, [in, defaultvalue(0)] VARIANT_BOOL ServerPrepare, [out, retval] IPreparedQuery** retVal); [id(0x000000D)] HRESULT _stdcall Table([out, retval]ITable** retVal); [id(0x000000E)] HRESULT _stdcall ReadMore([out, retval] IRecordset** retVal); }; [ object, uuid(3EE9F43F-99D0-43CC-B8A4-3085A2C4DAAB), dual, nonextensible, pointer_default(unique) ] interface IRecordset : IDispatch { [propget,id(0x0000000)] HRESULT _stdcall Record([in] unsigned long Index, [out, retval] IRecord** retVal); [id(0x0000003)] HRESULT _stdcall First([out, retval] IRecord** retVal); [id(0x0000004)] HRESULT _stdcall Last([out, retval] IRecord** retVal); [id(0x0000005)] HRESULT _stdcall Top([in]unsigned long Num, [out, retval] IRecordset** retVal); [id(0x0000006)] HRESULT _stdcall Erase([in]unsigned long Index); [propget,id(0x0000007)] HRESULT _stdcall Count([out, retval]unsigned long* retVal); [id(0x0000008)] HRESULT _stdcall RemoveField([in]short Index); [id(0x0000009)] HRESULT _stdcall GroupBy(IGroupQuery* gq, [out, retval] IRecordset** retVal); [id(0x000000A)] HRESULT _stdcall OrderBy([in] BSTR name0, [in, defaultvalue("")] BSTR name1, [in, defaultvalue("")] BSTR name2, [in, defaultvalue("")] BSTR name3, [in, defaultvalue("")] BSTR name4, [in, defaultvalue("")] BSTR name5, [in, defaultvalue("")] BSTR name6, [in, defaultvalue("")] BSTR name7, [in, defaultvalue("")] BSTR name8, [out, retval] IRecordset** retVal); [id(0x000000B)] HRESULT _stdcall OrderByEx([in] ISortFields* SortFields, [out, retval] IRecordset** retVal); [id(0x000000C)] HRESULT _stdcall Reverse([out, retval] IRecordset** retVal); [propget,id(0x000000D)] HRESULT _stdcall FieldDefs([out, retval] IFieldDefs** retVal); [propget,id(0x000000E)] HRESULT _stdcall Size([out, retval]unsigned long* retVal); [id(0x000000F)] HRESULT _stdcall MatchBy(IRecordsetQuery* gq, [out, retval] IRecordset** retVal); [id(0x0000010)] HRESULT _stdcall Clone([out, retval] IRecordset** retVal); [id(0x0000011)] HRESULT _stdcall AppendField([in] BSTR name, [in] eFieldType type, [in] short len); [id(0x0000012)] HRESULT _stdcall Clear(); [id(0x0000014)] HRESULT _stdcall ClearRecords(); [id(0x0000015)] HRESULT _stdcall UnionRecordset([in] IRecordset* rs, [out, retval] IRecordset** retVal); }; [ object, uuid(1EF8FE71-92AF-4E56-AD0E-30ACF31B090E), dual, nonextensible, pointer_default(unique) ] interface IRecord : IDispatch { [propget, id(0x0000001)] HRESULT _stdcall Size([out, retval] short* retVal); [propget, id(0x0000000)] HRESULT _stdcall Field([in] VARIANT Index, [out, retval] IField** retVal); [propget, id(0x0000003)] HRESULT _stdcall IsInvalidRecord( [out, retval] VARIANT_BOOL* retVal); [propget, id(0x0000004)] HRESULT _stdcall FieldDefs([out, retval] IFieldDefs** retVal); }; [ object, uuid(687452CD-C9D8-4B24-A955-EB3B69BA02C5), dual, nonextensible, pointer_default(unique) ] interface IWritableRecord : IRecord { [id(0x0000010)] HRESULT _stdcall Save(void); [id(0x0000011)] HRESULT _stdcall Insert(void); [id(0x0000013)] HRESULT _stdcall Del([in, defaultvalue(0)]VARIANT_BOOL KeysetAlrady); [id(0x0000014)] HRESULT _stdcall Update(void); [id(0x0000015)] HRESULT _stdcall Read([in, optional]VARIANT KeysetAlradyOrBookmark, [out, retval] VARIANT_BOOL* retVal); [id(0x0000016)] HRESULT _stdcall Clear(); }; [ object, uuid(1EF8FE71-92AF-4E56-ADAE-30ACF31B09AE), dual, nonextensible, pointer_default(unique) ] interface IGroupQuery : IDispatch { [id(0x0000001)] HRESULT _stdcall KeyField([in, defaultvalue("")] BSTR Name, [in, defaultvalue("")] BSTR Name1, [in, defaultvalue("")] BSTR Name2, [in, defaultvalue("")] BSTR Name3, [in, defaultvalue("")] BSTR Name4, [in, defaultvalue("")] BSTR Name5, [in, defaultvalue("")] BSTR Name6, [in, defaultvalue("")] BSTR Name7, [in, defaultvalue("")] BSTR Name8, [in, defaultvalue("")] BSTR Name9, [in, defaultvalue("")] BSTR Name10, [out, retval] IGroupQuery** retVal); [id(0x0000002)] HRESULT _stdcall AddFunction([in] eGroupFunc func , [in] VARIANT targetNames , [in, defaultvalue("")] BSTR resultName , [in, defaultvalue("")]VARIANT q, [out, retval] IGroupQuery** retVal); [id(0x0000004)] HRESULT _stdcall Reset([out, retval] IGroupQuery** retVal); }; [ object, uuid(B40B2E5A-2E5A-4D76-B392-75CFA9CD89A8), dual, nonextensible, pointer_default(unique) ] interface IRecordsetQuery : IDispatch { [id(0x0000004)] HRESULT _stdcall Reset([out, retval] IRecordsetQuery** retVal); [id(0x0000005)] HRESULT _stdcall When([in] BSTR Name, [in] BSTR Logic, [in] VARIANT Value, [out, retval] IRecordsetQuery** retVal); [id(0x0000006)] HRESULT _stdcall And([in] BSTR Name, [in] BSTR Logic, [in] VARIANT Value, [out, retval] IRecordsetQuery** retVal); [id(0x0000007)] HRESULT _stdcall Or([in] BSTR Name, [in] BSTR Logic, [in] VARIANT Value, [out, retval] IRecordsetQuery** retVal); [id(0x0000021)] HRESULT _stdcall WhenIsNull([in] BSTR Name, [out, retval] IRecordsetQuery** retVal); [id(0x0000022)] HRESULT _stdcall AndIsNull([in] BSTR Name, [out, retval] IRecordsetQuery** retVal); [id(0x0000023)] HRESULT _stdcall OrIsNull([in] BSTR Name, [out, retval] IRecordsetQuery** retVal); [id(0x0000024)] HRESULT _stdcall WhenIsNotNull([in] BSTR Name, [out, retval] IRecordsetQuery** retVal); [id(0x0000025)] HRESULT _stdcall AndIsNotNull([in] BSTR Name, [out, retval] IRecordsetQuery** retVal); [id(0x0000026)] HRESULT _stdcall OrIsNotNull([in] BSTR Name, [out, retval] IRecordsetQuery** retVal); }; [ object, uuid(4A38F70D-9D46-474E-B429-DF4EE61CDAA5), dual, nonextensible, pointer_default(unique) ] interface IFieldDefs : IDispatch { [id(0x0000001)] HRESULT _stdcall IndexByName([in] BSTR Name, [out, retval] short* retVal); [propget, id(0x0000000)] HRESULT _stdcall FieldDef([in] VARIANT Name, [out, retval] IFieldDef** retVal); [propget, id(0x0000003)] HRESULT _stdcall Size([out, retval] short* retVal); }; [ object, uuid(16781A10-8371-415D-84B2-AD2874D57572), dual, nonextensible, pointer_default(unique) ] interface ISortField : IDispatch { [propget, id(1)] HRESULT _stdcall Name([out, retval] BSTR* Value); [propput, id(1)] HRESULT _stdcall Name([in] BSTR Value); [propget, id(2)] HRESULT _stdcall Asc([out, retval] VARIANT_BOOL* Value); [propput, id(2)] HRESULT _stdcall Asc([in] VARIANT_BOOL Value); }; [ object, uuid(ED7FA0F0-2A2D-4271-98A6-9FE652353AAE), dual, nonextensible, pointer_default(unique) ] interface ISortFields : IDispatch { [id(1)] HRESULT _stdcall Add([in] BSTR Name, [in] VARIANT_BOOL asc, [out, retval]ISortFields** retVal); [propget, id(2)] HRESULT _stdcall Size([out, retval] int* Value); [propget, id(0)] HRESULT _stdcall Item([in] int index, [out, retval] ISortField** retVal); [id(4)] HRESULT _stdcall Clear(); }; [ object, uuid(5A6DA657-9C4E-4BD1-8724-00480947E79D), dual, nonextensible, pointer_default(unique) ] interface IFieldNames : IDispatch { [id(1)] HRESULT _stdcall KeyField([in, defaultvalue("")] BSTR Name, [in, defaultvalue("")] BSTR Name1, [in, defaultvalue("")] BSTR Name2, [in, defaultvalue("")] BSTR Name3, [in, defaultvalue("")] BSTR Name4, [in, defaultvalue("")] BSTR Name5, [in, defaultvalue("")] BSTR Name6, [in, defaultvalue("")] BSTR Name7, [in, defaultvalue("")] BSTR Name8, [in, defaultvalue("")] BSTR Name9, [in, defaultvalue("")] BSTR Name10, [out, retval] IFieldNames** retVal); [propget, id(2)] HRESULT _stdcall Count([out, retval] int* Value); [id(3)] HRESULT _stdcall addValue([in] BSTR val); [propget, id(0)] HRESULT _stdcall Value([in] int index, [out, retval] BSTR* retVal); [id(5)] HRESULT _stdcall addValues([in] BSTR val, [in] BSTR delm); [id(6)] HRESULT _stdcall Reset([out, retval] IFieldNames** retVal); }; [ object, uuid(CE4EBFCB-EA63-4CC3-AB24-02752C23BB36), dual, nonextensible, pointer_default(unique) ] interface IPooledDbManager : IDispatch { [propput, id(0x00000101)] HRESULT _stdcall MaxConnections([in] int n); [propget, id(0x00000101)] HRESULT _stdcall MaxConnections([out, retval] int* retVal); [id(0x00000103)] HRESULT _stdcall Reset([in,defaultvalue(5)] int waitSec); [id(0x00000104)] HRESULT _stdcall Reserve([in] int size, [in] IConnectParams* Uri); [propget, id(0x00000001)] HRESULT _stdcall Stat([out, retval] eStatus* Value); [id(0x00000002)] HRESULT _stdcall BeginTrn([in, defaultvalue(PARA_SINGLE_NOWAIT)] eLockType Bias); [id(0x00000003)] HRESULT _stdcall EndTrn(void); [id(0x00000004)] HRESULT _stdcall AbortTrn(void); [id(0x00000005)] HRESULT _stdcall BeginSnapshot([in, defaultvalue(CONSISTENT_READ)] eStLockType Bias, [out, retval]IBinlogPos** bpos); [id(0x00000006)] HRESULT _stdcall EndSnapshot(void); [id(0x00000007)] HRESULT _stdcall Use([in, optional] VARIANT Uri); [id(0x00000008)] HRESULT _stdcall Unuse(); [propget, id(0x00000009)] HRESULT _stdcall EnableTrn([out, retval] VARIANT_BOOL* Value); [propget, id(0x0000000A)] HRESULT _stdcall Uri( [out, retval] BSTR* Uri); [propget, id(0x0000000B)] HRESULT _stdcall IsOpened([out, retval] VARIANT_BOOL* Value); [propget, id(0x0000000C)] HRESULT _stdcall ClientID([out, retval] short* Value); [id(0x0000000E)] HRESULT _stdcall Table([in] BSTR name, [out, retval]ITable** retVal); [id(0x0000000F)] HRESULT _stdcall Db([out, retval]IDatabase** retVal); [propput, id(0x00000010)] HRESULT _stdcall Option([in] hyper Value); [propget, id(0x00000010)] HRESULT _stdcall Option([out, retval] hyper* Value); [propget, id(0x00000011)] HRESULT _stdcall Mode([out, retval] short* Value); }; [ object, uuid(CA38A33C-E2E9-47CA-90F8-BF4112D7CBAC), dual, nonextensible, pointer_default(unique) ] interface IConnectParams : IDispatch { [id(1)] HRESULT _stdcall Init([in] BSTR protocol, [in] BSTR hostOrIp, [in] BSTR dbname, [in] BSTR schemaTable, [in, defaultvalue("")] BSTR username, [in, defaultvalue("")] BSTR passwd); [propput, id(2)] HRESULT _stdcall Uri([in] BSTR val); [propget, id(2)] HRESULT _stdcall Uri([out, retval] BSTR* retVal); [propput, id(3)] HRESULT _stdcall Mode([in] short val); [propget, id(3)] HRESULT _stdcall Mode([out, retval] short* retVal); [propput, id(4)] HRESULT _stdcall Type([in] short val); [propget, id(4)] HRESULT _stdcall Type([out, retval] short* retVal); }; [ object, uuid(33C684B3-E198-431C-9CCC-48EB083E1219), dual, nonextensible, pointer_default(unique) ] interface IPreparedQuery : IDispatch { [id(0x0000001)] HRESULT _stdcall SupplyValue([in] int Index, [in] VARIANT Value, [out, retval] VARIANT_BOOL* retVal); [id(0x0000002)] HRESULT _stdcall AddValue([in] VARIANT Value, [out, retval] VARIANT_BOOL* retVal); [id(0x0000003)] HRESULT _stdcall ResetAddIndex(); }; [ object, uuid(C71E721F-75FE-45E9-A4A3-0C4C29C2D4A3), dual, nonextensible, pointer_default(unique) ] interface IBookmark : IDispatch { [propget, id(0x0000001)] HRESULT _stdcall IsEmpty([out, retval] VARIANT_BOOL* retVal); }; [ object, uuid(E7EA0FFF-577E-4CF5-B890-0C13AD968784), dual, nonextensible, pointer_default(unique) ] interface IBitset : IDispatch{ [propput, id(0)] HRESULT _stdcall Bit([in] short index, [in] VARIANT_BOOL val); [propget, id(0)] HRESULT _stdcall Bit([in] short index, [out, retval] VARIANT_BOOL* retVal); [id(1)] HRESULT _stdcall Equals([in] IBitset* bitset, [out, retval] VARIANT_BOOL* retVal); [id(2)] HRESULT _stdcall Contains([in] IBitset* bitset, [in, defaultvalue(-1)] VARIANT_BOOL all, [out, retval] VARIANT_BOOL* retVal); }; [ object, uuid(316D0314-638E-4DCF-B68B-2F98624D02E4), dual, nonextensible, pointer_default(unique) ] interface IBinlogPos : IDispatch{ [propget, id(0)] #ifdef _WIN64 HRESULT _stdcall Pos([out, retval] __int64* retVal); #else HRESULT _stdcall Pos([out, retval] int* retVal); #endif [propget, id(1)] HRESULT _stdcall Type([out, retval] short* retVal); [propget, id(2)] HRESULT _stdcall Filename([out, retval] BSTR* retVal); [propget, id(3)] HRESULT _stdcall Gtid([out, retval] BSTR* retVal); [propput, id(3)] HRESULT _stdcall Gtid([in] BSTR Value); }; [ object, uuid(E7A70DBE-00F0-41AD-AC80-7EBDF930E79B), dual, nonextensible, pointer_default(unique) ] interface IConnRecord : IDispatch{ [propget, id(0x0000001)] #ifdef _WIN64 HRESULT _stdcall ConId([out, retval] __int64* retVal); #else HRESULT _stdcall ConId([out, retval] BSTR* retVal); #endif [propget, id(0x0000002)] HRESULT _stdcall Id([out, retval] int* retVal); [propget, id(0x0000003)] HRESULT _stdcall Db([out, retval] int* retVal); [propget, id(0x0000004)] HRESULT _stdcall Type([out, retval] int* retVal); [propget, id(0x0000005)] HRESULT _stdcall Name([out, retval] BSTR* retVal); [propget, id(0x0000006)] HRESULT _stdcall Value([out, retval] BSTR* retVal); [propget, id(0x0000007)] HRESULT _stdcall Status([out, retval] short* retVal); [propget, id(0x0000008)] HRESULT _stdcall ReadCount([out, retval] int* retVal); [propget, id(0x0000009)] HRESULT _stdcall UpdCount([out, retval] int* retVal); [propget, id(0x000000A)] HRESULT _stdcall DelCount([out, retval] int* retVal); [propget, id(0x000000B)] HRESULT _stdcall InsCount([out, retval] int* retVal); [propget, id(0x000000C)] HRESULT _stdcall LongValue([out, retval] BSTR* retVal); [propget, id(0x000000D)] HRESULT _stdcall Port([out, retval] int* retVal); } [ object, uuid(53076AFA-08D3-4877-A519-529BFD161F42), dual, nonextensible, pointer_default(unique) ] interface IConnRecords : IDispatch{ [propget, id(0)] HRESULT _stdcall Record([in] short index, [out, retval] IConnRecord** retVal); [propget, id(1)] HRESULT _stdcall Size([out, retval] int* Value); } [ object, uuid(1A37F719-9B06-4A27-9BB8-073FAD6C2BDC), dual, nonextensible, pointer_default(unique) ] interface IConnMgr : IDispatch{ [id(0x0000001)] HRESULT _stdcall SetDatabase([in] VARIANT db); [id(0x0000002)] HRESULT _stdcall Connect([in] BSTR uri, [out, retval] VARIANT_BOOL* retVal); [id(0x0000003)] HRESULT _stdcall Disconnect(); [id(0x0000004)] HRESULT _stdcall Databases([out, retval] IConnRecords** retVal); [id(0x0000005)] HRESULT _stdcall Tables([in]BSTR dbname, [out, retval] IConnRecords** retVal); [id(0x0000006)] HRESULT _stdcall Views([in]BSTR dbname, [out, retval] IConnRecords** retVal); [id(0x0000007)] HRESULT _stdcall SchemaTables([in]BSTR dbname, [out, retval] IConnRecords** retVal); [id(0x0000008)] HRESULT _stdcall Sysvars([out, retval] IConnRecords** retVal); [id(0x0000011)] HRESULT _stdcall SlaveStatus([in, defaultvalue("") ]BSTR channel, [out, retval] IConnRecords** retVal); [id(0x0000009)] HRESULT _stdcall Connections([out, retval] IConnRecords** retVal); [id(0x000000A)] #ifdef _WIN64 HRESULT _stdcall InUseDatabases([in]__int64 connid, [out, retval] IConnRecords** retVal); #else HRESULT _stdcall InUseDatabases([in]BSTR connid, [out, retval] IConnRecords** retVal); #endif [id(0x000000B)] #ifdef _WIN64 HRESULT _stdcall InUseTables([in]__int64 connid, [in] int db, [out, retval] IConnRecords** retVal); #else HRESULT _stdcall InUseTables([in]BSTR connid, [in] int db, [out, retval] IConnRecords** retVal); #endif [id(0x000000C)] #ifdef _WIN64 HRESULT _stdcall PostDisconnectOne([in] __int64 connid); #else HRESULT _stdcall PostDisconnectOne([in] BSTR connid); #endif [id(0x000000D)] HRESULT _stdcall PostDisconnectAll(); [propget, id(0x000000E)] HRESULT _stdcall Stat([out, retval] short* retVal); [id(0x000000F)] HRESULT _stdcall TdapErr([in]OLE_HANDLE hWnd, [out, retval] BSTR* retVal); [id(0x0000010)] HRESULT _stdcall RemoveSystemDb([in, out]IConnRecords** retVal); [id(0x0000012)] HRESULT _stdcall SlaveStatusName([in]int index, [out, retval] BSTR* retVal); [id(0x0000013)] HRESULT _stdcall SysvarName([in]int index, [out, retval] BSTR* retVal); [id(0x0000014)] HRESULT _stdcall Statusvars([out, retval] IConnRecords** retVal); [id(0x0000015)] HRESULT _stdcall StatusvarName([in]int index, [out, retval] BSTR* retVal); [id(0x0000016)] HRESULT _stdcall Extendedvars([out, retval] IConnRecords** retVal); [id(0x0000017)] HRESULT _stdcall SlaveHosts([out, retval] IConnRecords** retVal); [id(0x0000018)] HRESULT _stdcall Channels([out, retval] IConnRecords** retVal); [id(0x0000019)] HRESULT _stdcall ExtendedVarName([in]int index, [out, retval] BSTR* retVal); [id(0x000001A)] HRESULT _stdcall HaLock([out, retval] VARIANT_BOOL* retVal); [id(0x000001B)] HRESULT _stdcall HaUnlock(); [id(0x000001C)] HRESULT _stdcall SetRole([in]int v, [out, retval] VARIANT_BOOL* retVal); [id(0x000001D)] HRESULT _stdcall SetTrxBlock([in]VARIANT_BOOL v, [out, retval] VARIANT_BOOL* retVal); [id(0x000001E)] HRESULT _stdcall SetEnableFailover([in]VARIANT_BOOL v, [out, retval] VARIANT_BOOL* retVal); [propget, id(0x0000001F)] HRESULT _stdcall IsOpen([out, retval] VARIANT_BOOL* retVal); }; interface IHaNameResolver; [ object, uuid(C6665527-3B17-49A3-BF38-AE3855EC073F), dual, nonextensible, pointer_default(unique) ] interface IHaNameResolver : IDispatch{ [id(0x0000001)] HRESULT _stdcall Start([in]BSTR master, [in]BSTR slaves, [in]BSTR slaveHostsWithPort, [in]short slaveNum, [in]BSTR userName, [in]BSTR password, [in, defaultvalue(0)]int option, [out, retval]int* retVal); [id(0x0000002)] HRESULT _stdcall AddPortMap([in]short mysqlPort, [in]short transactdPort); [id(0x0000003)] HRESULT _stdcall ClearPortMap(); [id(0x0000004)] HRESULT _stdcall Stop(); /*[id(0x0000005)] HRESULT _stdcall Clear();*/ [propget, id(0x0000006)] HRESULT _stdcall Master([out, retval]BSTR* retVal); [propget, id(0x0000007)] HRESULT _stdcall Slave([out, retval]BSTR* retVal); }; [ uuid(3B712514-E2EF-4040-8A3C-BCACB839EB3E), version(1.0), ] library transactd { importlib("stdole2.tlb"); [ uuid(530AC521-AB85-4139-8F78-CA56F8B7722F) ] dispinterface _IDatabaseEvents { properties: methods: [id(1)] HRESULT OnCopyData(IDatabase* db, ITable* tb, int recordCount, int count, VARIANT_BOOL* cancel); [id(2)] HRESULT OnDeleteRecord(IDatabase* db, ITable* tb, VARIANT_BOOL* Value); [id(3)] HRESULT OnSchemaMgrFn(IDatabase* db, short* Value); }; [ uuid(439578EB-226B-41EB-9FDB-AB27915298C7) ] dispinterface _ITableEvents { properties: methods: [id(1)] HRESULT OnRecordCount(ITable* tb, int count, VARIANT_BOOL* cancel); }; [ uuid(1DF73F19-D216-47A4-847D-8CD1279E1077) ] coclass Database { [default] interface IDatabase; [default, source] dispinterface _IDatabaseEvents; }; [ uuid(9B3CAC13-FCB8-42E1-993C-D81645B40FEF) ,noncreatable ] coclass DbDef { [default] interface IDbDef; }; [ uuid(4B8E64CA-F963-408C-AC4E-C1F9556738D4) ,noncreatable ] coclass Table { [default] interface ITable; }; [ uuid(D2115BB4-48CE-461C-A1C1-324DD12C37EE) ,noncreatable ] coclass TableDef { [default] interface ITableDef; }; [ uuid(42AE202D-A721-45A6-BB5C-2074101A8751) ,noncreatable ] coclass FieldDef { [default] interface IFieldDef; }; [ uuid(38DDBD32-27D5-41C5-AAE6-B6D2D4CF0F0D) ,noncreatable ] coclass KeyDef { [default] interface IKeyDef; }; [ uuid(27968808-D981-4DEC-9937-A8E6A71714A8) ,noncreatable ] coclass Flags { [default] interface IFlags; }; [ uuid(DEC4DD3C-C661-4C41-8F6C-F579187CF2C9) ,noncreatable ] coclass KeySegment { [default] interface IKeySegment; }; [ uuid(692ADBB5-B156-48A6-8A32-3A6C31586698) ,noncreatable ] coclass Field { [default] interface IField; }; [ uuid(692ADBB5-B156-48A6-8A32-3A6C31586699) ,noncreatable ] coclass TdVersion { [default] interface ITdVersion; }; [ uuid(CA076B05-541B-48EF-AC55-33323FB052F3) ] coclass QueryBase { [default] interface IQueryBase; }; [ uuid(BB90F201-61B3-47F9-A185-343176B046DF) ] coclass ActiveTable { [default] interface IActiveTable; }; [ uuid(3A5A39FA-15EE-459E-BE8C-5769A97DA27B) ,noncreatable ] coclass Recordset { [default] interface IRecordset; }; [ uuid(3729705B-AA47-4592-ABE3-844B20E8A141) ,noncreatable ] coclass Record { [default] interface IRecord; }; [ uuid(1D51D5EE-41CC-4D83-A8D6-C297D25C3D87) ] coclass WritableRecord { [default] interface IWritableRecord; }; [ uuid(8EB78589-1084-4546-A826-20B615831EFF) ] coclass GroupQuery { [default] interface IGroupQuery; }; [ uuid(611990AE-89AA-49AC-8B17-B518BF6A7729) ] coclass RecordsetQuery { [default] interface IRecordsetQuery; }; [ uuid(4A92626B-03B9-45F8-B952-1E696D23752E) ,noncreatable ] coclass FieldDefs { [default] interface IFieldDefs; }; [ uuid(7677BF30-C7C5-4AD5-AF86-99A21846A122) ,noncreatable ] coclass SortField { [default] interface ISortField; }; [ uuid(8C21D933-1DF0-4224-ADCE-8B40ADA9B403) ] coclass SortFields { [default] interface ISortFields; }; [ uuid(19B74AFC-50A3-4265-A28F-E1B389EDC5AA) ] coclass FieldNames { [default] interface IFieldNames; }; [ uuid(44CDEAF9-08CD-4EE8-B039-795A29C06E09) ] coclass PooledDbManager { [default] interface IPooledDbManager; }; [ uuid(0FB25FFA-9F0E-4C66-A40E-C5DAD40BC71B) ] coclass ConnectParams { [default] interface IConnectParams; }; [ uuid(E5D3D961-A1CD-42CA-B7E0-640AB0CEB529) ,noncreatable ] coclass PreparedQuery { [default] interface IPreparedQuery; }; [ uuid(35784CBB-E66D-4097-A4BB-C32EF8E3006D) ,noncreatable ] coclass Bookmark { [default] interface IBookmark; }; [ uuid(71107F47-2E0A-400B-9E62-C87D84A50008) ] coclass Bitset { [default] interface IBitset; }; [ uuid(86301596-1546-442E-BAA4-FDB656834F41) ,noncreatable ] coclass BinlogPos { [default] interface IBinlogPos; }; [ uuid(A58AD1FB-E72C-472B-B465-93E098959046) ,noncreatable ] coclass ConnRecord { [default] interface IConnRecord; }; [ uuid(5D1AFE02-2BAF-494A-9512-8591903CE778) ,noncreatable ] coclass ConnRecords { [default] interface IConnRecords; }; [ uuid(7D8E310E-EA0A-4B54-A813-14BBB3E82EB5) ] coclass ConnMgr { [default] interface IConnMgr; }; [ uuid(9259C707-BF39-4B9A-B013-67AF11F4B642) ] coclass HaNameResolver { [default] interface IHaNameResolver; }; }; import "shobjidl.idl";