home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 September / VPR0009A.BIN / VS60SP4JPN / support / adc.h < prev    next >
C/C++ Source or Header  |  1999-02-28  |  3KB  |  99 lines

  1. //--------------------------------------------------------------------
  2. // Microsoft ADC
  3. //
  4. // (c) 1997 Microsoft Corporation.    All Rights Reserved.
  5. //
  6. // adc external constants and GUIDS
  7.  
  8. #ifndef ADC_INCLUDED
  9. #define ADC_INCLUDED
  10.  
  11. #ifdef ADCINITCONSTANTS
  12.  
  13. extern const CLSID CLSID_FoxRowset = { 0x3ff292b6, 0xb204, 0x11cf, { 0x8d, 0x23, 0, 0xaa, 0, 0x5f, 0xfe, 0x58 } };
  14. extern const GUID DBPROPSET_ADC = { 0xb68e3cc1, 0x6deb, 0x11d0, { 0x8d, 0xf6, 0x00, 0xaa, 0x00, 0x5f, 0xfe, 0x58 } };
  15. extern const GUID IID_IAsyncAllowed = {0xf5f2893a, 0xba9e, 0x11d0, { 0xab, 0xb9, 0x0, 0xc0, 0x4f, 0xc2, 0x9f, 0x8f } };
  16. extern const IID IID_IRowsetADCExtensions = { 0xF17324c4, 0x68E0, 0x11D0, { 0xAD, 0x45, 0x00, 0xC0, 0x4F, 0xC2, 0x98, 0x63 } };
  17. extern const IID IID_IUpdateInfo = { 0xa0385420, 0x62b8, 0x11d1, { 0x9a, 0x6, 0x0, 0xa0, 0xc9, 0x3, 0xaa, 0x45 } };
  18. extern const IID IID_IRowsetSynchronize = { 0x1be41e60, 0x807a, 0x11d1, { 0x9a, 0x14, 0x0, 0xa0, 0xc9, 0x3, 0xaa, 0x45 } };
  19. extern const IID IID_IRowsetProperties = { 0x1e837070, 0xbcfc, 0x11d1, { 0x9a, 0x2c, 0x0, 0xa0, 0xc9, 0x3, 0xaa, 0x45 } };
  20.  
  21. #else
  22.  
  23. extern const CLSID CLSID_FoxRowset;
  24. extern const GUID DBPROPSET_ADC;
  25. extern const GUID IID_IAsyncAllowed;
  26. extern const IID IID_IRowsetADCExtensions;
  27. extern const IID IID_IUpdateInfo;
  28. extern const IID IID_IRowsetSynchronize;
  29. extern const IID IID_IRowsetProperties;
  30. #endif // ADCINITCONSTANTS
  31.  
  32. enum ADCPROPENUM
  33.     { DBPROP_ADC_ASYNCHFETCHSIZE = 3,
  34.       DBPROP_ADC_BATCHSIZE = 4,
  35.       DBPROP_ADC_UPDATECRITERIA = 5,
  36. // dropping support for the UPDATEOPERTION property, but should not reuse the number
  37. //      DBPROP_ADC_UPDATEOPERATION = 6, 
  38.       DBPROP_ADC_ASYNCHPREFETCHSIZE = 7,
  39.       DBPROP_ADC_ASYNCHTHREADPRIORITY = 8,
  40.       DBPROP_ADC_CACHECHILDROWS = 9,
  41.       DBPROP_ADC_MAINTAINCHANGESTATUS = 10,
  42.       DBPROP_ADC_AUTORECALC = 11,
  43.       DBPROP_ADC_UNIQUETABLE = 13,
  44.       DBPROP_ADC_UNIQUESCHEMA = 14,
  45.       DBPROP_ADC_UNIQUECATALOG = 15,
  46.       DBPROP_ADC_CUSTOMRESYNCH = 16,
  47.       DBPROP_ADC_CEVER = 17,
  48.       DBPROP_ADC_RESHAPENAME = 18,
  49.       DBPROP_ADC_UPDATERESYNC = 19,
  50. // dropping support for the SAVEMODE property, but should not reuse the number
  51. //      DBPROP_ADC_SAVEMODE = 20,
  52.     };
  53.  
  54.  
  55. // these enums are defined in both adc.h and adoint.h 
  56. // do not re define them here if adoint.h has already been included
  57. #ifndef _ADOINT_H_
  58.  
  59. enum ADCPROP_UPDATECRITERIA_ENUM
  60.     { adCriteriaKey = 0,
  61.       adCriteriaAllCols = 1,
  62.       adCriteriaUpdCols = 2,
  63.       adCriteriaTimeStamp = 3
  64.     }; 
  65.  
  66. enum ADCPROP_ASYNCTHREADPRIORITY_ENUM
  67.     { adPriorityLowest = 1,
  68.       adPriorityBelowNormal = 2,
  69.       adPriorityNormal = 3,
  70.       adPriorityAboveNormal = 4,
  71.       adPriorityHighest = 5
  72.     }; 
  73.  
  74. enum ADCPROP_UPDATERESYNC_ENUM
  75.     { adResyncNone = 0,
  76.       adResyncAutoIncrement = 0x1,
  77.       adResyncConflicts = 0x2,
  78.       adResyncUpdates = 0x4,
  79.       adResyncInserts = 0x8,
  80.       adResyncAll = 0x15
  81.     }; 
  82.  
  83. enum ADCPROP_AUTORECALC_ENUM
  84.     {
  85.       adRecalcUpFront = 0,
  86.       adRecalcAlways = 1
  87.     };
  88.  
  89. #endif 
  90.  
  91. enum FOXROWSETPROPENUM
  92. {
  93.     DBPROP_FOXTABLENAME = 0xeeffL
  94. };
  95.  
  96.  
  97. #endif // ADC_INCLUDED
  98.  
  99.