blob: 92c4045b2e78d7df49e7665635ca80772c3dee0b [file] [log] [blame]
Kai Tietz9d937a72007-08-10 10:41:48 +00001/**
2 * This file has no copyright assigned and is placed in the Public Domain.
Rafaël Carré8a67ab42012-06-28 15:40:59 +00003 * This file is part of the mingw-w64 runtime package.
Kai Tietzf29f1a32010-01-15 21:15:53 +00004 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
Kai Tietz9d937a72007-08-10 10:41:48 +00005 */
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
20extern 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
26extern 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
34extern const char *PROGID_MSPersist
35#if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
36= MS_PERSIST_PROGID
37#endif
38;
39
40extern const unsigned short *PROGID_MSPersist_W
41#if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
42= L"MSPersist"
43#endif
44;
45
46extern const char *PROGID_MSPersist_Version
47#if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
48= MS_PERSIST_PROGID ".1"
49#endif
50;
51
52extern const unsigned short *PROGID_MSPersist_Version_W
53#if (defined DBINITCONSTANTS) | (defined DSINITCONSTANTS)
54= L"MSPersist.1"
55#endif
56;
57#endif