source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/msdaipp.h@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 8.5 KB
Line 
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 __REQUIRED_RPCNDR_H_VERSION__
7#define __REQUIRED_RPCNDR_H_VERSION__ 440
8#endif
9
10#include "rpc.h"
11#include "rpcndr.h"
12
13#ifndef __RPCNDR_H_VERSION__
14#error This stub requires an updated version of <rpcndr.h>
15#endif
16
17#ifndef COM_NO_WINDOWS_H
18#include "windows.h"
19#include "ole2.h"
20#endif
21
22#ifndef __msdaipp_h__
23#define __msdaipp_h__
24
25#ifndef __ISynchronizeRow_FWD_DEFINED__
26#define __ISynchronizeRow_FWD_DEFINED__
27typedef struct ISynchronizeRow ISynchronizeRow;
28#endif
29
30#ifndef __MSDAIPP_DSO_FWD_DEFINED__
31#define __MSDAIPP_DSO_FWD_DEFINED__
32#ifdef __cplusplus
33typedef class MSDAIPP_DSO MSDAIPP_DSO;
34#else
35typedef struct MSDAIPP_DSO MSDAIPP_DSO;
36#endif
37#endif
38
39#ifndef __MSDAIPP_BINDER_FWD_DEFINED__
40#define __MSDAIPP_BINDER_FWD_DEFINED__
41#ifdef __cplusplus
42typedef class MSDAIPP_BINDER MSDAIPP_BINDER;
43#else
44typedef struct MSDAIPP_BINDER MSDAIPP_BINDER;
45#endif
46#endif
47
48#include "oledb.h"
49
50#ifdef __cplusplus
51extern "C"{
52#endif
53
54#ifndef __MIDL_user_allocate_free_DEFINED__
55#define __MIDL_user_allocate_free_DEFINED__
56 void *__RPC_API MIDL_user_allocate(size_t);
57 void __RPC_API MIDL_user_free(void *);
58#endif
59
60#define MSDAIPP_MAX_URL_LENGTH 4096
61
62#define RESOURCE_PARSENAME L"RESOURCE_PARSENAME"
63#define RESOURCE_PARSENAME_DBTYPE DBTYPE_WSTR
64#define RESOURCE_PARSENAME_MAXLENGTH MSDAIPP_MAX_URL_LENGTH
65
66#define RESOURCE_PARENTNAME L"RESOURCE_PARENTNAME"
67#define RESOURCE_PARENTNAME_DBTYPE DBTYPE_WSTR
68#define RESOURCE_PARENTNAME_MAXLENGTH MSDAIPP_MAX_URL_LENGTH
69
70#define RESOURCE_ABSOLUTEPARSENAME L"RESOURCE_ABSOLUTEPARSENAME"
71#define RESOURCE_ABSOLUTEPARSENAME_DBTYPE DBTYPE_WSTR
72#define RESOURCE_ABSOLUTEPARSENAME_MAXLENGTH MSDAIPP_MAX_URL_LENGTH
73
74#define RESOURCE_ISHIDDEN L"RESOURCE_ISHIDDEN"
75#define RESOURCE_ISHIDDEN_DBTYPE DBTYPE_BOOL
76#define RESOURCE_ISHIDDEN_MAXLENGTH sizeof(VARIANT_BOOL)
77
78#define RESOURCE_ISREADONLY L"RESOURCE_ISREADONLY"
79#define RESOURCE_ISREADONLY_DBTYPE DBTYPE_BOOL
80#define RESOURCE_ISREADONLY_MAXLENGTH sizeof(VARIANT_BOOL)
81
82#define RESOURCE_CONTENTTYPE L"RESOURCE_CONTENTTYPE"
83#define RESOURCE_CONTENTTYPE_DBTYPE DBTYPE_WSTR
84#define RESOURCE_CONTENTTYPE_MAXLENGTH MSDAIPP_MAX_URL_LENGTH
85
86#define RESOURCE_CONTENTCLASS L"RESOURCE_CONTENTCLASS"
87#define RESOURCE_CONTENTCLASS_DBTYPE DBTYPE_WSTR
88#define RESOURCE_CONTENTCLASS_MAXLENGTH MSDAIPP_MAX_URL_LENGTH
89
90#define RESOURCE_CONTENTLANGUAGE L"RESOURCE_CONTENTLANGUAGE"
91#define RESOURCE_CONTENTLANGUAGE_DBTYPE DBTYPE_WSTR
92#define RESOURCE_CONTENTLANGUAGE_MAXLENGTH MSDAIPP_MAX_URL_LENGTH
93
94#define RESOURCE_CREATIONTIME L"RESOURCE_CREATIONTIME"
95#define RESOURCE_CREATIONTIME_DBTYPE DBTYPE_FILETIME
96#define RESOURCE_CREATIONTIME_MAXLENGTH sizeof(FILETIME)
97
98#define RESOURCE_LASTACCESSTIME L"RESOURCE_LASTACCESSTIME"
99#define RESOURCE_LASTACCESSTIME_DBTYPE DBTYPE_FILETIME
100#define RESOURCE_LASTACCESSTIME_MAXLENGTH sizeof(FILETIME)
101
102#define RESOURCE_LASTWRITETIME L"RESOURCE_LASTWRITETIME"
103#define RESOURCE_LASTWRITETIME_DBTYPE DBTYPE_FILETIME
104#define RESOURCE_LASTWRITETIME_MAXLENGTH sizeof(FILETIME)
105
106#define RESOURCE_STREAMSIZE L"RESOURCE_STREAMSIZE"
107#define RESOURCE_STREAMSIZE_DBTYPE DBTYPE_UI8
108#define RESOURCE_STREAMSIZE_MAXLENGTH sizeof(DWORDLONG)
109
110#define RESOURCE_ISCOLLECTION L"RESOURCE_ISCOLLECTION"
111#define RESOURCE_ISCOLLECTION_DBTYPE DBTYPE_BOOL
112#define RESOURCE_ISCOLLECTION_MAXLENGTH sizeof(VARIANT_BOOL)
113
114#define RESOURCE_ISSTRUCTUREDDOCUMENT L"RESOURCE_ISSTRUCTUREDDOCUMENT"
115#define RESOURCE_ISSTRUCTUREDDOCUMENT_DBTYPE DBTYPE_BOOL
116#define RESOURCE_ISSTRUCTUREDDOCUMENT_MAXLENGTH sizeof(VARIANT_BOOL)
117
118#define RESOURCE_DEFAULTDOCUMENT L"DEFAULT_DOCUMENT"
119#define RESOURCE_DEFAULTDOCUMENT_DBTYPE DBTYPE_WSTR
120#define RESOURCE_DEFAULTDOCUMENT_MAXLENGTH MSDAIPP_MAX_URL_LENGTH
121
122#define RESOURCE_DISPLAYNAME L"RESOURCE_DISPLAYNAME"
123#define RESOURCE_DISPLAYNAME_DBTYPE DBTYPE_WSTR
124#define RESOURCE_DISPLAYNAME_MAXLENGTH MSDAIPP_MAX_URL_LENGTH
125
126#define RESOURCE_ISROOT L"RESOURCE_ISROOT"
127#define RESOURCE_ISROOT_DBTYPE DBTYPE_BOOL
128#define RESOURCE_ISROOT_MAXLENGTH sizeof(VARIANT_BOOL)
129
130 const GUID DBPROPSET_MSDAIPP_INIT = {0x8f1033e3,0xb2cd,0x11d1,{0x9c,0x74,0x0,0x0,0xf8,0x75,0xac,0x61}};
131#define DBPROP_INIT_IGNORECACHEDDATA __MSABI_LONG(2)
132#define DBPROP_INIT_CACHEAGGRESSIVELY __MSABI_LONG(3)
133#define DBPROP_INIT_TREATASOFFLINE __MSABI_LONG(4)
134#define DBPROP_INIT_MARKFOROFFLINE __MSABI_LONG(5)
135#define DBPROP_INIT_PROTOCOLPROVIDER __MSABI_LONG(6)
136
137 enum MFO {
138 MFO_DONTCHANGE = 0,MFO_MARK = 1,MFO_UNMARK = 2
139 };
140
141#define RESOURCE_ISMARKEDFOROFFLINE L"RESOURCE_ISMARKEDFOROFFLINE"
142#define RESOURCE_ISMARKEDFOROFFLINE_DBTYPE DBTYPE_BOOL
143#define RESOURCE_ISMARKEDFOROFFLINE_MAXLENGTH sizeof(VARIANT_BOOL)
144#define DBGUID_RESOURCE_ISMARKEDFOROFFLINE {0x3c5d1c61,0x111e,0x11d2,{0x9c,0xda,0x0,0x0,0xf8,0x75,0xac,0x61}}
145
146#ifdef DBINITCONSTANTS
147 extern const DBID DBROWCOL_ISMARKEDFOROFFLINE = { DBGUID_RESOURCE_ISMARKEDFOROFFLINE,DBKIND_GUID,0};
148#else
149 extern const DBID DBROWCOL_ISMARKEDFOROFFLINE;
150#endif
151
152#define RESOURCE_PARSENAME_ALTNAME L"DAV:name"
153#define RESOURCE_PARENTNAME_ALTNAME L"DAV:parentname"
154#define RESOURCE_ABSOLUTEPARSENAME_ALTNAME L"DAV:href"
155#define RESOURCE_ISHIDDEN_ALTNAME L"DAV:ishidden"
156#define RESOURCE_ISREADONLY_ALTNAME L"DAV:isreadonly"
157#define RESOURCE_CONTENTTYPE_ALTNAME L"DAV:getcontenttype"
158#define RESOURCE_CONTENTCLASS_ALTNAME L"DAV:contentclass"
159#define RESOURCE_CONTENTLANGUAGE_ALTNAME L"DAV:getcontentlanguage"
160#define RESOURCE_CREATIONTIME_ALTNAME L"DAV:creationdate"
161#define RESOURCE_LASTACCESSTIME_ALTNAME L"DAV:lastaccessed"
162#define RESOURCE_LASTWRITETIME_ALTNAME L"DAV:getlastmodified"
163#define RESOURCE_STREAMSIZE_ALTNAME L"DAV:getcontentlength"
164#define RESOURCE_ISCOLLECTION_ALTNAME L"DAV:iscollection"
165#define RESOURCE_ISSTRUCTUREDDOCUMENT_ALTNAME L"DAV:isstructureddocument"
166#define RESOURCE_DEFAULTDOCUMENT_ALTNAME L"DAV:defaultdocument"
167#define RESOURCE_DISPLAYNAME_ALTNAME L"DAV:displayname"
168#define RESOURCE_ISROOT_ALTNAME L"DAV:isroot"
169#define RESOURCE_ISMARKEDFOROFFLINE_ALTNAME L"MSDAIPP:ismarkedforoffline"
170
171 const GUID GUID_IPPCOMMAND = { 0xd395c253,0x6511,0x11d1,{ 0x9c,0x9,0x0,0x0,0xf8,0x75,0xac,0x61 } };
172
173 const GUID GUID_DAV_PROVIDER = {0x9FECD570,0xB9D4,0x11d1,0x9C,0x78,0x00,0x00,0xF8,0x75,0xAC,0x61};
174 const GUID GUID_WEC_PROVIDER = {0x9FECD571,0xB9D4,0x11d1,0x9C,0x78,0x00,0x00,0xF8,0x75,0xAC,0x61};
175 const GUID GUID_HTTP_PROVIDER = {0x9FECD572,0xB9D4,0x11d1,0x9C,0x78,0x00,0x00,0xF8,0x75,0xAC,0x61};
176
177 extern RPC_IF_HANDLE __MIDL_itf_msdaipp_0000_v0_0_c_ifspec;
178 extern RPC_IF_HANDLE __MIDL_itf_msdaipp_0000_v0_0_s_ifspec;
179
180#ifndef __ISynchronizeRow_INTERFACE_DEFINED__
181#define __ISynchronizeRow_INTERFACE_DEFINED__
182
183 typedef DWORD MSDAIPP_SYNC_FLAGS;
184
185 enum MSDAIPP_SYNCFLAGSENUM {
186 MSDAIPP_SYNC_NONE = 0,MSDAIPP_SYNC_ABANDON_SERVER = 0x1,MSDAIPP_SYNC_ABANDON_LOCAL = 0x2,MSDAIPP_SYNC_MERGE = 0x4
187 };
188
189 EXTERN_C const IID IID_ISynchronizeRow;
190#if defined(__cplusplus) && !defined(CINTERFACE)
191 struct ISynchronizeRow : public IUnknown {
192 public:
193 virtual HRESULT WINAPI Synchronize(MSDAIPP_SYNC_FLAGS dwFlags) = 0;
194 };
195#else
196 typedef struct ISynchronizeRowVtbl {
197 BEGIN_INTERFACE
198 HRESULT (WINAPI *QueryInterface)(ISynchronizeRow *This,REFIID riid,void **ppvObject);
199 ULONG (WINAPI *AddRef)(ISynchronizeRow *This);
200 ULONG (WINAPI *Release)(ISynchronizeRow *This);
201 HRESULT (WINAPI *Synchronize)(ISynchronizeRow *This,MSDAIPP_SYNC_FLAGS dwFlags);
202 END_INTERFACE
203 } ISynchronizeRowVtbl;
204 struct ISynchronizeRow {
205 CONST_VTBL struct ISynchronizeRowVtbl *lpVtbl;
206 };
207#ifdef COBJMACROS
208#define ISynchronizeRow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
209#define ISynchronizeRow_AddRef(This) (This)->lpVtbl->AddRef(This)
210#define ISynchronizeRow_Release(This) (This)->lpVtbl->Release(This)
211#define ISynchronizeRow_Synchronize(This,dwFlags) (This)->lpVtbl->Synchronize(This,dwFlags)
212#endif
213#endif
214 HRESULT WINAPI ISynchronizeRow_Synchronize_Proxy(ISynchronizeRow *This,MSDAIPP_SYNC_FLAGS dwFlags);
215 void __RPC_STUB ISynchronizeRow_Synchronize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
216#endif
217
218#ifndef __MSDAIPPLib_LIBRARY_DEFINED__
219#define __MSDAIPPLib_LIBRARY_DEFINED__
220 EXTERN_C const IID LIBID_MSDAIPPLib;
221 EXTERN_C const CLSID CLSID_MSDAIPP_DSO;
222#ifdef __cplusplus
223 class MSDAIPP_DSO;
224#endif
225 EXTERN_C const CLSID CLSID_MSDAIPP_BINDER;
226#ifdef __cplusplus
227 class MSDAIPP_BINDER;
228#endif
229#endif
230
231#ifdef __cplusplus
232}
233#endif
234#endif
Note: See TracBrowser for help on using the repository browser.