persist.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef PERSIST_H
  7. #define PERSIST_H
  8. #define DBPROPFLAGS_PERSIST 0x2000
  9. #define DBPROPVAL_PERSIST_ADTG 0
  10. #define DBPROPVAL_PERSIST_XML 1
  11. #define DBPROP_PersistFormat 2
  12. #define DBPROP_PersistSchema 3
  13. #define DBPROP_HCHAPTER 4
  14. #define DBPROP_MAINTAINPROPS 5
  15. #define DBPROP_Unicode 6
  16. #define DBPROP_INTERLEAVEDROWS 8
  17. extern const CLSID CLSID_MSPersist
  18. #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
  19. = { 0x7c07e0d0,0x4418,0x11d2,{ 0x92,0x12,0x0,0xc0,0x4f,0xbb,0xbf,0xb3 } }
  20. #endif
  21. ;
  22. extern const GUID DBPROPSET_PERSIST
  23. #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
  24. = { 0x4d7839a0,0x5b8e,0x11d1,{ 0xa6,0xb3,0x0,0xa0,0xc9,0x13,0x8c,0x66 } };
  25. #endif
  26. ;
  27. #define MS_PERSIST_PROGID "MSPersist"
  28. extern const char *PROGID_MSPersist
  29. #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
  30. = MS_PERSIST_PROGID
  31. #endif
  32. ;
  33. extern const unsigned short *PROGID_MSPersist_W
  34. #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
  35. = L"MSPersist"
  36. #endif
  37. ;
  38. extern const char *PROGID_MSPersist_Version
  39. #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
  40. = MS_PERSIST_PROGID ".1"
  41. #endif
  42. ;
  43. extern const unsigned short *PROGID_MSPersist_Version_W
  44. #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
  45. = L"MSPersist.1"
  46. #endif
  47. ;
  48. #endif