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

  1. //--------------------------------------------------------------------
  2. // Microsoft MS Persist OLE DB Provider
  3. //
  4. // (c) 1997 Microsoft Corporation.    All Rights Reserved.
  5. //
  6. // MSPersist external constants GUIDS and other things users need
  7.  
  8. #ifndef PERSIST_H
  9. #define PERSIST_H
  10.  
  11. // Persist Properties
  12. #define DBPROPFLAGS_PERSIST 0x2000
  13.  
  14. #define DBPROPVAL_PERSIST_ADTG 0
  15. #define DBPROPVAL_PERSIST_XML 1
  16. #define DBPROP_PersistFormat 2
  17. #define DBPROP_PersistSchema 3
  18. #define DBPROP_HCHAPTER 4
  19. #define DBPROP_MAINTAINPROPS 5
  20.  
  21. extern const CLSID CLSID_MSPersist
  22. #ifdef DSINITCONSTANTS
  23.  = { 0x7c07e0d0, 0x4418, 0x11d2, { 0x92, 0x12, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
  24. #endif
  25. ;
  26.  
  27. // {4D7839A0-5B8E-11d1-A6B3-00A0C9138C66}
  28. extern const GUID    DBPROPSET_PERSIST
  29. #ifdef DSINITCONSTANTS
  30.  = { 0x4d7839a0, 0x5b8e, 0x11d1, { 0xa6, 0xb3, 0x0, 0xa0, 0xc9, 0x13, 0x8c, 0x66 } };
  31. #endif
  32. ;
  33.  
  34. #define MS_PERSIST_PROGID "MSPersist"
  35.  
  36. extern const char *PROGID_MSPersist
  37. #ifdef DSINITCONSTANTS
  38.  = MS_PERSIST_PROGID
  39. #endif
  40. ;
  41.  
  42. extern const unsigned short *PROGID_MSPersist_W
  43. #ifdef DSINITCONSTANTS
  44. = L"MSPersist"
  45. #endif
  46. ;
  47.  
  48. extern const char *PROGID_MSPersist_Version
  49. #ifdef DSINITCONSTANTS
  50.  = MS_PERSIST_PROGID ".1"
  51. #endif
  52. ;
  53.  
  54. extern const unsigned short *PROGID_MSPersist_Version_W
  55. #ifdef DSINITCONSTANTS
  56.  = L"MSPersist.1"
  57. #endif
  58. ;
  59.  
  60. #endif // PERSIST_H
  61.  
  62.