Home | History | Annotate | Download | only in include
      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 
      9 #define DBPROPFLAGS_PERSIST 0x2000
     10 
     11 #define DBPROPVAL_PERSIST_ADTG 0
     12 #define DBPROPVAL_PERSIST_XML 1
     13 #define DBPROP_PersistFormat 2
     14 #define DBPROP_PersistSchema 3
     15 #define DBPROP_HCHAPTER 4
     16 #define DBPROP_MAINTAINPROPS 5
     17 #define DBPROP_Unicode 6
     18 #define DBPROP_INTERLEAVEDROWS 8
     19 
     20 extern const CLSID CLSID_MSPersist
     21 #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
     22 = { 0x7c07e0d0,0x4418,0x11d2,{ 0x92,0x12,0x0,0xc0,0x4f,0xbb,0xbf,0xb3 } }
     23 #endif
     24 ;
     25 
     26 extern const GUID DBPROPSET_PERSIST
     27 #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
     28 = { 0x4d7839a0,0x5b8e,0x11d1,{ 0xa6,0xb3,0x0,0xa0,0xc9,0x13,0x8c,0x66 } };
     29 #endif
     30 ;
     31 
     32 #define MS_PERSIST_PROGID "MSPersist"
     33 
     34 extern const char *PROGID_MSPersist
     35 #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
     36 = MS_PERSIST_PROGID
     37 #endif
     38 ;
     39 
     40 extern const unsigned short *PROGID_MSPersist_W
     41 #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
     42 = L"MSPersist"
     43 #endif
     44 ;
     45 
     46 extern const char *PROGID_MSPersist_Version
     47 #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
     48 = MS_PERSIST_PROGID ".1"
     49 #endif
     50 ;
     51 
     52 extern const unsigned short *PROGID_MSPersist_Version_W
     53 #if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
     54 = L"MSPersist.1"
     55 #endif
     56 ;
     57 #endif
     58