include: dbs.idl: Add missing defines.

This commit is contained in:
Alistair Leslie-Hughes 2012-10-12 10:31:21 +11:00 committed by Alexandre Julliard
parent ec8a57b6de
commit d183cc6dfb
1 changed files with 172 additions and 0 deletions

View File

@ -183,6 +183,170 @@ enum DBSTATUSENUM
DBSTATUS_S_DEFAULT = 13
};
enum DBPROPENUM
{
DBPROP_ABORTPRESERVE = 0x00000002,
DBPROP_ACTIVESESSIONS = 0x00000003,
DBPROP_ASYNCTXNCOMMIT = 0x00000004,
DBPROP_AUTH_CACHE_AUTHINFO = 0x00000005,
DBPROP_AUTH_ENCRYPT_PASSWORD = 0x00000006,
DBPROP_AUTH_INTEGRATED = 0x00000007,
DBPROP_AUTH_MASK_PASSWORD = 0x00000008,
DBPROP_AUTH_PASSWORD = 0x00000009,
DBPROP_AUTH_PERSIST_ENCRYPTED = 0x0000000a,
DBPROP_AUTH_PERSIST_SENSITIVE_AUTHINFO = 0x0000000b,
DBPROP_AUTH_USERID = 0x0000000c,
DBPROP_BLOCKINGSTORAGEOBJECTS = 0x0000000d,
DBPROP_BOOKMARKS = 0x0000000e,
DBPROP_BOOKMARKSKIPPED = 0x0000000f,
DBPROP_BOOKMARKTYPE = 0x00000010,
DBPROP_CACHEDEFERRED = 0x00000011,
DBPROP_CANFETCHBACKWARDS = 0x00000012,
DBPROP_CANHOLDROWS = 0x00000013,
DBPROP_CANSCROLLBACKWARDS = 0x00000015,
DBPROP_CATALOGLOCATION = 0x00000016,
DBPROP_CATALOGTERM = 0x00000017,
DBPROP_CATALOGUSAGE = 0x00000018,
DBPROP_COL_AUTOINCREMENT = 0x0000001a,
DBPROP_COL_DEFAULT = 0x0000001b,
DBPROP_COL_DESCRIPTION = 0x0000001c,
DBPROP_COL_NULLABLE = 0x0000001d,
DBPROP_COL_PRIMARYKEY = 0x0000001e,
DBPROP_COL_UNIQUE = 0x0000001f,
DBPROP_COLUMNDEFINITION = 0x00000020,
DBPROP_COLUMNRESTRICT = 0x00000021,
DBPROP_COMMANDTIMEOUT = 0x00000022,
DBPROP_COMMITPRESERVE = 0x00000023,
DBPROP_CONCATNULLBEHAVIOR = 0x00000024,
DBPROP_CURRENTCATALOG = 0x00000025,
DBPROP_DATASOURCENAME = 0x00000026,
DBPROP_DATASOURCEREADONLY = 0x00000027,
DBPROP_DBMSNAME = 0x00000028,
DBPROP_DBMSVER = 0x00000029,
DBPROP_DEFERRED = 0x0000002a,
DBPROP_DELAYSTORAGEOBJECTS = 0x0000002b,
DBPROP_GROUPBY = 0x0000002c,
DBPROP_HETEROGENEOUSTABLES = 0x0000002d,
DBPROP_IDENTIFIERCASE = 0x0000002e,
DBPROP_IMMOBILEROWS = 0x0000002f,
DBPROP_INDEX_AUTOUPDATE = 0x00000030,
DBPROP_INDEX_CLUSTERED = 0x00000031,
DBPROP_INDEX_FILLFACTOR = 0x00000032,
DBPROP_INDEX_INITIALSIZE = 0x00000033,
DBPROP_INDEX_NULLCOLLATION = 0x00000034,
DBPROP_INDEX_NULLS = 0x00000035,
DBPROP_INDEX_PRIMARYKEY = 0x00000036,
DBPROP_INDEX_SORTBOOKMARKS = 0x00000037,
DBPROP_INDEX_TYPE = 0x00000038,
DBPROP_INDEX_UNIQUE = 0x00000039,
DBPROP_INIT_DATASOURCE = 0x0000003b,
DBPROP_INIT_HWND = 0x0000003c,
DBPROP_INIT_IMPERSONATION_LEVEL = 0x0000003d,
DBPROP_INIT_LOCATION = 0x0000003e,
DBPROP_INIT_MODE = 0x0000003f,
DBPROP_INIT_PROMPT = 0x00000040,
DBPROP_INIT_PROTECTION_LEVEL = 0x00000041,
DBPROP_INIT_TIMEOUT = 0x00000042,
DBPROP_LITERALBOOKMARKS = 0x00000043,
DBPROP_LITERALIDENTITY = 0x00000044,
DBPROP_MAXINDEXSIZE = 0x00000046,
DBPROP_MAXOPENROWS = 0x00000047,
DBPROP_MAXPENDINGROWS = 0x00000048,
DBPROP_MAXROWS = 0x00000049,
DBPROP_MAXROWSIZE = 0x0000004a,
DBPROP_MAXROWSIZEINCLUDESBLOB = 0x0000004b,
DBPROP_MAXTABLESINSELECT = 0x0000004c,
DBPROP_MAYWRITECOLUMN = 0x0000004d,
DBPROP_MEMORYUSAGE = 0x0000004e,
DBPROP_MULTIPLESTORAGEOBJECTS = 0x00000050,
DBPROP_MULTITABLEUPDATE = 0x00000051,
DBPROP_NOTIFICATIONPHASES = 0x00000052,
DBPROP_NULLCOLLATION = 0x00000053,
DBPROP_OLEOBJECTS = 0x00000054,
DBPROP_ORDERBYCOLUMNSINSELECT = 0x00000055,
DBPROP_ORDEREDBOOKMARKS = 0x00000056,
DBPROP_OTHERINSERT = 0x00000057,
DBPROP_OTHERUPDATEDELETE = 0x00000058,
DBPROP_OWNINSERT = 0x00000059,
DBPROP_OWNUPDATEDELETE = 0x0000005a,
DBPROP_PREPAREABORTBEHAVIOR = 0x0000005b,
DBPROP_PREPARECOMMITBEHAVIOR = 0x0000005c,
DBPROP_PROCEDURETERM = 0x0000005d,
DBPROP_PROVIDERNAME = 0x00000060,
DBPROP_PROVIDEROLEDBVER = 0x00000061,
DBPROP_PROVIDERVER = 0x00000062,
DBPROP_QUICKRESTART = 0x00000063,
DBPROP_QUOTEDIDENTIFIERCASE = 0x00000064,
DBPROP_REENTRANTEVENTS = 0x00000065,
DBPROP_REMOVEDELETED = 0x00000066,
DBPROP_REPORTMULTIPLECHANGES = 0x00000067,
DBPROP_ROWRESTRICT = 0x00000068,
DBPROP_ROWTHREADMODEL = 0x00000069,
DBPROP_SCHEMATERM = 0x0000006a,
DBPROP_SCHEMAUSAGE = 0x0000006b,
DBPROP_SERVERCURSOR = 0x0000006c,
DBPROP_SQLSUPPORT = 0x0000006d,
DBPROP_STRUCTUREDSTORAGE = 0x0000006f,
DBPROP_SUBQUERIES = 0x00000070,
DBPROP_SUPPORTEDTXNISOLEVELS = 0x00000071,
DBPROP_SUPPORTEDTXNISORETAIN = 0x00000072,
DBPROP_TABLETERM = 0x00000073,
DBPROP_TRANSACTEDOBJECT = 0x00000074,
DBPROP_UPDATABILITY = 0x00000075,
DBPROP_USERNAME = 0x00000076,
DBPROP_STRONGIDENTITY = 0x00000077,
DBPROP_BYREFACCESSORS = 0x00000078,
DBPROP_IAccessor = 0x00000079,
DBPROP_IColumnsInfo = 0x0000007a,
DBPROP_IColumnsRowset = 0x0000007b,
DBPROP_IConnectionPointContainer = 0x0000007c,
DBPROP_IRowset = 0x0000007e,
DBPROP_IRowsetChange = 0x0000007f,
DBPROP_IRowsetIdentity = 0x00000080,
DBPROP_IRowsetInfo = 0x00000081,
DBPROP_IRowsetLocate = 0x00000082,
DBPROP_IRowsetResynch = 0x00000084,
DBPROP_IRowsetScroll = 0x00000085,
DBPROP_IRowsetUpdate = 0x00000086,
DBPROP_ISupportErrorInfo = 0x00000087,
DBPROP_ILockBytes = 0x00000088,
DBPROP_ISequentialStream = 0x00000089,
DBPROP_IStorage = 0x0000008a,
DBPROP_IStream = 0x0000008b,
DBPROP_TBL_TEMPTABLE = 0x0000008c,
DBPROP_IRowsetIndex = 0x0000009f,
DBPROP_INIT_PROVIDERSTRING = 0x000000a0,
DBPROP_SUPPORTEDTXNDDL = 0x000000a1,
DBPROP_INDEX_TEMPINDEX = 0x000000a3,
DBPROP_COL_FIXEDLENGTH = 0x000000a7,
DBPROP_ASYNCTXNABORT = 0x000000a8,
DBPROP_DSOTHREADMODEL = 0x000000a9,
DBPROP_NOTIFYCOLUMNSET = 0x000000ab,
DBPROP_NOTIFYROWDELETE = 0x000000ad,
DBPROP_NOTIFYROWFIRSTCHANGE = 0x000000ae,
DBPROP_NOTIFYROWINSERT = 0x000000af,
DBPROP_NOTIFYROWRESYNCH = 0x000000b1,
DBPROP_NOTIFYROWSETRELEASE = 0x000000b2,
DBPROP_NOTIFYROWSETFETCHPOSITIONCHANGE = 0x000000b3,
DBPROP_NOTIFYROWUNDOCHANGE = 0x000000b4,
DBPROP_NOTIFYROWUNDODELETE = 0x000000b5,
DBPROP_NOTIFYROWUNDOINSERT = 0x000000b6,
DBPROP_NOTIFYROWUPDATE = 0x000000b7,
DBPROP_OUTPUTPARAMETERAVAILABILITY = 0x000000b8,
DBPROP_PERSISTENTIDTYPE = 0x000000b9,
DBPROP_INIT_LCID = 0x000000ba,
DBPROP_APPENDONLY = 0x000000bb,
DBPROP_CHANGEINSERTEDROWS = 0x000000bc,
DBPROP_RETURNPENDINGINSERTS = 0x000000bd,
DBPROP_SESS_AUTOCOMMITISOLEVELS = 0x000000be,
DBPROP_MULTIPLEPARAMSETS = 0x000000bf,
DBPROP_ROWSETCONVERSIONSONCOMMAND = 0x000000c0,
DBPROP_IConvertType = 0x000000c2,
DBPROP_MULTIPLERESULTS = 0x000000c4,
DBPROP_NOTIFICATIONGRANULARITY = 0x000000c6,
DBPROP_NOTIFYROWSETCHANGED = 0x000000d3,
};
cpp_quote("#ifdef DBINITCONSTANTS")
cpp_quote("#ifdef __cplusplus")
cpp_quote("#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\")
@ -200,11 +364,19 @@ cpp_quote("#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8
cpp_quote(" EXTERN_C const GUID name DECLSPEC_HIDDEN")
cpp_quote("#endif")
cpp_quote("DEFINE_DBGUID(DB_NULLGUID, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);")
cpp_quote("DEFINE_DBGUID(DBPROPSET_DBINIT, 0xc8b522bc, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);")
cpp_quote("DEFINE_DBGUID(DBGUID_SESSION, 0xc8b522f5, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);")
cpp_quote("DEFINE_DBGUID(DBGUID_ROWSET, 0xc8b522f6, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);")
cpp_quote("DEFINE_DBGUID(DBGUID_ROW, 0xc8b522f7, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);")
cpp_quote("DEFINE_DBGUID(DBGUID_STREAM, 0xc8b522f9, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);")
cpp_quote("#define DBPROMPT_PROMPT 0x01")
cpp_quote("#define DBPROMPT_COMPLETE 0x02")
cpp_quote("#define DBPROMPT_COMPLETEREQUIRED 0x03")
cpp_quote("#define DBPROMPT_NOPROMPT 0x04")
typedef struct tagDBCOLUMNACCESS
{
void *pData;