| 1 | /** |
| 2 | * This file is part of the mingw-w64 runtime package. |
| 3 | * No warranty is given; refer to the file DISCLAIMER within this package. |
| 4 | */ |
| 5 | |
| 6 | #include <winapifamily.h> |
| 7 | |
| 8 | #ifndef ADC_INCLUDED |
| 9 | #define ADC_INCLUDED |
| 10 | |
| 11 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) |
| 12 | |
| 13 | #undef ADCDECLSPEC |
| 14 | #define ADCDECLSPEC __declspec (selectany) |
| 15 | |
| 16 | extern const ADCDECLSPEC CLSID CLSID_FoxRowset = { 0x3ff292b6, 0xb204, 0x11cf,{ 0x8d, 0x23, 0, 0xaa, 0, 0x5f, 0xfe, 0x58 } }; |
| 17 | extern const ADCDECLSPEC GUID DBPROPSET_ADC = { 0xb68e3cc1, 0x6deb, 0x11d0,{ 0x8d, 0xf6, 0x00, 0xaa, 0x00, 0x5f, 0xfe, 0x58 } }; |
| 18 | extern const ADCDECLSPEC GUID IID_IAsyncAllowed = { 0xf5f2893a, 0xba9e, 0x11d0,{ 0xab, 0xb9, 0x0, 0xc0, 0x4f, 0xc2, 0x9f, 0x8f } }; |
| 19 | extern const ADCDECLSPEC IID IID_IRowsetADCExtensions = { 0xf17324c4, 0x68e0, 0x11d0,{ 0xad, 0x45, 0x00, 0xc0, 0x4f, 0xc2, 0x98, 0x63 } }; |
| 20 | extern const ADCDECLSPEC IID IID_IUpdateInfo = { 0xa0385420, 0x62b8, 0x11d1,{ 0x9a, 0x6, 0x0, 0xa0, 0xc9, 0x3, 0xaa, 0x45 } }; |
| 21 | extern const ADCDECLSPEC IID IID_IRowsetSynchronize = { 0x1be41e60, 0x807a, 0x11d1,{ 0x9a, 0x14, 0x0, 0xa0, 0xc9, 0x3, 0xaa, 0x45 } }; |
| 22 | extern const ADCDECLSPEC IID IID_IRowsetProperties = { 0x1e837070, 0xbcfc, 0x11d1,{ 0x9a, 0x2c, 0x0, 0xa0, 0xc9, 0x3, 0xaa, 0x45 } }; |
| 23 | |
| 24 | enum ADCPROPENUM { |
| 25 | DBPROP_ADC_ASYNCHFETCHSIZE = 3, |
| 26 | DBPROP_ADC_BATCHSIZE = 4, |
| 27 | DBPROP_ADC_UPDATECRITERIA = 5, |
| 28 | DBPROP_ADC_ASYNCHPREFETCHSIZE = 7, |
| 29 | DBPROP_ADC_ASYNCHTHREADPRIORITY = 8, |
| 30 | DBPROP_ADC_CACHECHILDROWS = 9, |
| 31 | DBPROP_ADC_MAINTAINCHANGESTATUS = 10, |
| 32 | DBPROP_ADC_AUTORECALC = 11, |
| 33 | DBPROP_ADC_UNIQUETABLE = 13, |
| 34 | DBPROP_ADC_UNIQUESCHEMA = 14, |
| 35 | DBPROP_ADC_UNIQUECATALOG = 15, |
| 36 | DBPROP_ADC_CUSTOMRESYNCH = 16, |
| 37 | DBPROP_ADC_CEVER = 17, |
| 38 | DBPROP_ADC_RESHAPENAME = 18, |
| 39 | DBPROP_ADC_UPDATERESYNC = 19, |
| 40 | DBPROP_ADC_BACKINGSTORE = 21, |
| 41 | DBPROP_ADC_RELEASESHAPEONDISCONNECT = 22 |
| 42 | }; |
| 43 | |
| 44 | #ifndef _COMMON_ADC_AND_ADO_PROPS_ |
| 45 | #define _COMMON_ADC_AND_ADO_PROPS_ |
| 46 | |
| 47 | enum ADCPROP_UPDATECRITERIA_ENUM { |
| 48 | adCriteriaKey = 0, |
| 49 | adCriteriaAllCols = 1, |
| 50 | adCriteriaUpdCols = 2, |
| 51 | adCriteriaTimeStamp = 3 |
| 52 | }; |
| 53 | |
| 54 | enum ADCPROP_ASYNCTHREADPRIORITY_ENUM { |
| 55 | adPriorityLowest = 1, |
| 56 | adPriorityBelowNormal = 2, |
| 57 | adPriorityNormal = 3, |
| 58 | adPriorityAboveNormal = 4, |
| 59 | adPriorityHighest = 5 |
| 60 | }; |
| 61 | |
| 62 | enum ADCPROP_UPDATERESYNC_ENUM { |
| 63 | adResyncNone = 0, |
| 64 | adResyncAutoIncrement = 0x1, |
| 65 | adResyncConflicts = 0x2, |
| 66 | adResyncUpdates = 0x4, |
| 67 | adResyncInserts = 0x8, |
| 68 | adResyncAll = 0x0f |
| 69 | }; |
| 70 | |
| 71 | enum ADCPROP_AUTORECALC_ENUM { |
| 72 | adRecalcUpFront = 0, |
| 73 | adRecalcAlways = 1 |
| 74 | }; |
| 75 | #endif |
| 76 | |
| 77 | enum FOXROWSETPROPENUM { |
| 78 | DBPROP_FOXTABLENAME = 0xeeff |
| 79 | }; |
| 80 | #endif |
| 81 | |
| 82 | #endif |