Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.8 KiB

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