1 | /**
|
---|
2 | * This file is part of the mingw-w64 runtime package.
|
---|
3 | * No warranty is given; refer to the file DISCLAIMER within this package.
|
---|
4 | */
|
---|
5 |
|
---|
6 | #ifndef __REQUIRED_RPCNDR_H_VERSION__
|
---|
7 | #define __REQUIRED_RPCNDR_H_VERSION__ 500
|
---|
8 | #endif
|
---|
9 |
|
---|
10 | #ifndef __REQUIRED_RPCSAL_H_VERSION__
|
---|
11 | #define __REQUIRED_RPCSAL_H_VERSION__ 100
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | #include "rpc.h"
|
---|
15 | #include "rpcndr.h"
|
---|
16 |
|
---|
17 | #ifndef __RPCNDR_H_VERSION__
|
---|
18 | #error this stub requires an updated version of rpcndr.h header
|
---|
19 | #endif
|
---|
20 |
|
---|
21 | #ifndef __adojet_h__
|
---|
22 | #define __adojet_h__
|
---|
23 |
|
---|
24 | #ifndef __IReplica_FWD_DEFINED__
|
---|
25 | #define __IReplica_FWD_DEFINED__
|
---|
26 | typedef interface IReplica IReplica;
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #ifndef __Filter_FWD_DEFINED__
|
---|
30 | #define __Filter_FWD_DEFINED__
|
---|
31 | typedef interface Filter Filter;
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #ifndef __Filters_FWD_DEFINED__
|
---|
35 | #define __Filters_FWD_DEFINED__
|
---|
36 | typedef interface Filters Filters;
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | #ifndef __IJetEngine_FWD_DEFINED__
|
---|
40 | #define __IJetEngine_FWD_DEFINED__
|
---|
41 | typedef interface IJetEngine IJetEngine;
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | #ifndef __Replica_FWD_DEFINED__
|
---|
45 | #define __Replica_FWD_DEFINED__
|
---|
46 |
|
---|
47 | #ifdef __cplusplus
|
---|
48 | typedef class Replica Replica;
|
---|
49 | #else
|
---|
50 | typedef struct Replica Replica;
|
---|
51 | #endif
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #ifndef __JetEngine_FWD_DEFINED__
|
---|
55 | #define __JetEngine_FWD_DEFINED__
|
---|
56 |
|
---|
57 | #ifdef __cplusplus
|
---|
58 | typedef class JetEngine JetEngine;
|
---|
59 | #else
|
---|
60 | typedef struct JetEngine JetEngine;
|
---|
61 | #endif
|
---|
62 | #endif
|
---|
63 |
|
---|
64 | #ifdef __cplusplus
|
---|
65 | extern "C" {
|
---|
66 | #endif
|
---|
67 |
|
---|
68 | extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_0000_v0_0_c_ifspec;
|
---|
69 | extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_0000_v0_0_s_ifspec;
|
---|
70 |
|
---|
71 | #ifndef __JRO_LIBRARY_DEFINED__
|
---|
72 | #define __JRO_LIBRARY_DEFINED__
|
---|
73 |
|
---|
74 | typedef DECLSPEC_UUID ("D2D139DF-B6CA-11d1-9F31-00C04FC29D52")
|
---|
75 | enum ReplicaTypeEnum {
|
---|
76 | jrRepTypeNotReplicable = 0,
|
---|
77 | jrRepTypeDesignMaster = 0x1,
|
---|
78 | jrRepTypeFull = 0x2,
|
---|
79 | jrRepTypePartial = 0x3
|
---|
80 | } ReplicaTypeEnum;
|
---|
81 |
|
---|
82 | typedef DECLSPEC_UUID ("6877D21A-B6CE-11d1-9F31-00C04FC29D52")
|
---|
83 | enum VisibilityEnum {
|
---|
84 | jrRepVisibilityGlobal = 0x1,
|
---|
85 | jrRepVisibilityLocal = 0x2,
|
---|
86 | jrRepVisibilityAnon = 0x4
|
---|
87 | } VisibilityEnum;
|
---|
88 |
|
---|
89 | typedef DECLSPEC_UUID ("B42FBFF6-B6CF-11d1-9F31-00C04FC29D52")
|
---|
90 | enum UpdatabilityEnum {
|
---|
91 | jrRepUpdFull = 0,
|
---|
92 | jrRepUpdReadOnly = 0x2
|
---|
93 | } UpdatabilityEnum;
|
---|
94 |
|
---|
95 | typedef DECLSPEC_UUID ("60C05416-B6D0-11d1-9F31-00C04FC29D52")
|
---|
96 | enum SyncTypeEnum {
|
---|
97 | jrSyncTypeExport = 0x1,
|
---|
98 | jrSyncTypeImport = 0x2,
|
---|
99 | jrSyncTypeImpExp = 0x3
|
---|
100 | } SyncTypeEnum;
|
---|
101 |
|
---|
102 | typedef DECLSPEC_UUID ("5EBA3970-061E-11d2-BB77-00C04FAE22DA")
|
---|
103 | enum SyncModeEnum {
|
---|
104 | jrSyncModeIndirect = 0x1,
|
---|
105 | jrSyncModeDirect = 0x2,
|
---|
106 | jrSyncModeInternet = 0x3
|
---|
107 | } SyncModeEnum;
|
---|
108 |
|
---|
109 | typedef DECLSPEC_UUID ("72769F94-BF78-11d1-AC4D-00C04FC29F8F")
|
---|
110 | enum FilterTypeEnum {
|
---|
111 | jrFilterTypeTable = 0x1,
|
---|
112 | jrFilterTypeRelationship = 0x2
|
---|
113 | } FilterTypeEnum;
|
---|
114 |
|
---|
115 | EXTERN_C const IID LIBID_JRO;
|
---|
116 |
|
---|
117 | #ifndef __IReplica_INTERFACE_DEFINED__
|
---|
118 | #define __IReplica_INTERFACE_DEFINED__
|
---|
119 |
|
---|
120 | EXTERN_C const IID IID_IReplica;
|
---|
121 |
|
---|
122 | #if defined (__cplusplus) && !defined (CINTERFACE)
|
---|
123 | MIDL_INTERFACE ("D2D139E0-B6CA-11d1-9F31-00C04FC29D52")
|
---|
124 | IReplica : public IDispatch {
|
---|
125 | public:
|
---|
126 | virtual HRESULT STDMETHODCALLTYPE putref_ActiveConnection (IDispatch *pconn) = 0;
|
---|
127 | virtual HRESULT STDMETHODCALLTYPE put_ActiveConnection (VARIANT vConn) = 0;
|
---|
128 | virtual HRESULT STDMETHODCALLTYPE get_ActiveConnection (IDispatch **ppconn) = 0;
|
---|
129 | virtual HRESULT STDMETHODCALLTYPE get_ConflictFunction (BSTR *pbstr) = 0;
|
---|
130 | virtual HRESULT STDMETHODCALLTYPE put_ConflictFunction (BSTR bstr) = 0;
|
---|
131 | virtual HRESULT STDMETHODCALLTYPE get_ConflictTables (_Recordset **pprset) = 0;
|
---|
132 | virtual HRESULT STDMETHODCALLTYPE get_DesignMasterId (VARIANT *pvar) = 0;
|
---|
133 | virtual HRESULT STDMETHODCALLTYPE put_DesignMasterId (VARIANT var) = 0;
|
---|
134 | virtual HRESULT STDMETHODCALLTYPE get_Priority (long *pl) = 0;
|
---|
135 | virtual HRESULT STDMETHODCALLTYPE get_ReplicaId (VARIANT *pvar) = 0;
|
---|
136 | virtual HRESULT STDMETHODCALLTYPE get_ReplicaType (ReplicaTypeEnum *pl) = 0;
|
---|
137 | virtual HRESULT STDMETHODCALLTYPE get_RetentionPeriod (long *pl) = 0;
|
---|
138 | virtual HRESULT STDMETHODCALLTYPE put_RetentionPeriod (long l) = 0;
|
---|
139 | virtual HRESULT STDMETHODCALLTYPE get_Visibility (VisibilityEnum *pl) = 0;
|
---|
140 | virtual HRESULT STDMETHODCALLTYPE CreateReplica (BSTR replicaName, BSTR description, ReplicaTypeEnum replicaType = jrRepTypeFull, VisibilityEnum visibility = jrRepVisibilityGlobal, long priority = -1, UpdatabilityEnum updatability = jrRepUpdFull) = 0;
|
---|
141 | virtual HRESULT STDMETHODCALLTYPE GetObjectReplicability (BSTR objectName, BSTR objectType, VARIANT_BOOL *replicability) = 0;
|
---|
142 | virtual HRESULT STDMETHODCALLTYPE SetObjectReplicability (BSTR objectName, BSTR objectType, VARIANT_BOOL replicability) = 0;
|
---|
143 | virtual HRESULT STDMETHODCALLTYPE MakeReplicable (BSTR connectionString = L"", VARIANT_BOOL columnTracking = -1) = 0;
|
---|
144 | virtual HRESULT STDMETHODCALLTYPE PopulatePartial (BSTR FullReplica) = 0;
|
---|
145 | virtual HRESULT STDMETHODCALLTYPE Synchronize (BSTR target, SyncTypeEnum syncType = jrSyncTypeImpExp, SyncModeEnum syncMode = jrSyncModeIndirect) = 0;
|
---|
146 | virtual HRESULT STDMETHODCALLTYPE get_Filters (Filters **ppFilters) = 0;
|
---|
147 | };
|
---|
148 | #else
|
---|
149 | typedef struct IReplicaVtbl {
|
---|
150 | BEGIN_INTERFACE HRESULT (STDMETHODCALLTYPE *QueryInterface) (IReplica *This, REFIID riid, _COM_Outptr_ void **ppvObject);
|
---|
151 | ULONG (STDMETHODCALLTYPE *AddRef) (IReplica *This);
|
---|
152 | ULONG (STDMETHODCALLTYPE *Release) (IReplica *This);
|
---|
153 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount) (IReplica *This, UINT *pctinfo);
|
---|
154 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo) (IReplica *This, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo);
|
---|
155 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames) (IReplica *This, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId);
|
---|
156 | HRESULT (STDMETHODCALLTYPE *Invoke) (IReplica *This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
|
---|
157 | HRESULT (STDMETHODCALLTYPE *putref_ActiveConnection) (IReplica *This, IDispatch *pconn);
|
---|
158 | HRESULT (STDMETHODCALLTYPE *put_ActiveConnection) (IReplica *This, VARIANT vConn);
|
---|
159 | HRESULT (STDMETHODCALLTYPE *get_ActiveConnection) (IReplica *This, IDispatch **ppconn);
|
---|
160 | HRESULT (STDMETHODCALLTYPE *get_ConflictFunction) (IReplica *This, BSTR *pbstr);
|
---|
161 | HRESULT (STDMETHODCALLTYPE *put_ConflictFunction) (IReplica *This, BSTR bstr);
|
---|
162 | HRESULT (STDMETHODCALLTYPE *get_ConflictTables) (IReplica *This, _Recordset **pprset);
|
---|
163 | HRESULT (STDMETHODCALLTYPE *get_DesignMasterId) (IReplica *This, VARIANT *pvar);
|
---|
164 | HRESULT (STDMETHODCALLTYPE *put_DesignMasterId) (IReplica *This, VARIANT var);
|
---|
165 | HRESULT (STDMETHODCALLTYPE *get_Priority) (IReplica *This, long *pl);
|
---|
166 | HRESULT (STDMETHODCALLTYPE *get_ReplicaId) (IReplica *This, VARIANT *pvar);
|
---|
167 | HRESULT (STDMETHODCALLTYPE *get_ReplicaType) (IReplica *This, ReplicaTypeEnum *pl);
|
---|
168 | HRESULT (STDMETHODCALLTYPE *get_RetentionPeriod) (IReplica *This, long *pl);
|
---|
169 | HRESULT (STDMETHODCALLTYPE *put_RetentionPeriod) (IReplica *This, long l);
|
---|
170 | HRESULT (STDMETHODCALLTYPE *get_Visibility) (IReplica *This, VisibilityEnum *pl);
|
---|
171 | HRESULT (STDMETHODCALLTYPE *CreateReplica) (IReplica *This, BSTR replicaName, BSTR description, ReplicaTypeEnum replicaType, VisibilityEnum visibility, long priority, UpdatabilityEnum updatability);
|
---|
172 | HRESULT (STDMETHODCALLTYPE *GetObjectReplicability) (IReplica *This, BSTR objectName, BSTR objectType, VARIANT_BOOL *replicability);
|
---|
173 | HRESULT (STDMETHODCALLTYPE *SetObjectReplicability) (IReplica *This, BSTR objectName, BSTR objectType, VARIANT_BOOL replicability);
|
---|
174 | HRESULT (STDMETHODCALLTYPE *MakeReplicable) (IReplica *This, BSTR connectionString, VARIANT_BOOL columnTracking);
|
---|
175 | HRESULT (STDMETHODCALLTYPE *PopulatePartial) (IReplica *This, BSTR FullReplica);
|
---|
176 | HRESULT (STDMETHODCALLTYPE *Synchronize) (IReplica *This, BSTR target, SyncTypeEnum syncType, SyncModeEnum syncMode);
|
---|
177 | HRESULT (STDMETHODCALLTYPE *get_Filters) (IReplica *This, Filters **ppFilters);
|
---|
178 | END_INTERFACE
|
---|
179 | } IReplicaVtbl;
|
---|
180 |
|
---|
181 | interface IReplica {
|
---|
182 | CONST_VTBL struct IReplicaVtbl *lpVtbl;
|
---|
183 | };
|
---|
184 |
|
---|
185 | #ifdef COBJMACROS
|
---|
186 | #define IReplica_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl ->QueryInterface (This, riid, ppvObject))
|
---|
187 | #define IReplica_AddRef(This) ((This)->lpVtbl ->AddRef (This))
|
---|
188 | #define IReplica_Release(This) ((This)->lpVtbl ->Release (This))
|
---|
189 | #define IReplica_GetTypeInfoCount(This, pctinfo) ((This)->lpVtbl ->GetTypeInfoCount (This, pctinfo))
|
---|
190 | #define IReplica_GetTypeInfo(This, iTInfo, lcid, ppTInfo) ((This)->lpVtbl ->GetTypeInfo (This, iTInfo, lcid, ppTInfo))
|
---|
191 | #define IReplica_GetIDsOfNames(This, riid, rgszNames, cNames, lcid, rgDispId) ((This)->lpVtbl ->GetIDsOfNames (This, riid, rgszNames, cNames, lcid, rgDispId))
|
---|
192 | #define IReplica_Invoke(This, dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr) ((This)->lpVtbl ->Invoke (This, dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr))
|
---|
193 | #define IReplica_putref_ActiveConnection(This, pconn) ((This)->lpVtbl ->putref_ActiveConnection (This, pconn))
|
---|
194 | #define IReplica_put_ActiveConnection(This, vConn) ((This)->lpVtbl ->put_ActiveConnection (This, vConn))
|
---|
195 | #define IReplica_get_ActiveConnection(This, ppconn) ((This)->lpVtbl ->get_ActiveConnection (This, ppconn))
|
---|
196 | #define IReplica_get_ConflictFunction(This, pbstr) ((This)->lpVtbl ->get_ConflictFunction (This, pbstr))
|
---|
197 | #define IReplica_put_ConflictFunction(This, bstr) ((This)->lpVtbl ->put_ConflictFunction (This, bstr))
|
---|
198 | #define IReplica_get_ConflictTables(This, pprset) ((This)->lpVtbl ->get_ConflictTables (This, pprset))
|
---|
199 | #define IReplica_get_DesignMasterId(This, pvar) ((This)->lpVtbl ->get_DesignMasterId (This, pvar))
|
---|
200 | #define IReplica_put_DesignMasterId(This, var) ((This)->lpVtbl ->put_DesignMasterId (This, var))
|
---|
201 | #define IReplica_get_Priority(This, pl) ((This)->lpVtbl ->get_Priority (This, pl))
|
---|
202 | #define IReplica_get_ReplicaId(This, pvar) ((This)->lpVtbl ->get_ReplicaId (This, pvar))
|
---|
203 | #define IReplica_get_ReplicaType(This, pl) ((This)->lpVtbl ->get_ReplicaType (This, pl))
|
---|
204 | #define IReplica_get_RetentionPeriod(This, pl) ((This)->lpVtbl ->get_RetentionPeriod (This, pl))
|
---|
205 | #define IReplica_put_RetentionPeriod(This, l) ((This)->lpVtbl ->put_RetentionPeriod (This, l))
|
---|
206 | #define IReplica_get_Visibility(This, pl) ((This)->lpVtbl ->get_Visibility (This, pl))
|
---|
207 | #define IReplica_CreateReplica(This, replicaName, description, replicaType, visibility, priority, updatability) ((This)->lpVtbl ->CreateReplica (This, replicaName, description, replicaType, visibility, priority, updatability))
|
---|
208 | #define IReplica_GetObjectReplicability(This, objectName, objectType, replicability) ((This)->lpVtbl ->GetObjectReplicability (This, objectName, objectType, replicability))
|
---|
209 | #define IReplica_SetObjectReplicability(This, objectName, objectType, replicability) ((This)->lpVtbl ->SetObjectReplicability (This, objectName, objectType, replicability))
|
---|
210 | #define IReplica_MakeReplicable(This, connectionString, columnTracking) ((This)->lpVtbl ->MakeReplicable (This, connectionString, columnTracking))
|
---|
211 | #define IReplica_PopulatePartial(This, FullReplica) ((This)->lpVtbl ->PopulatePartial (This, FullReplica))
|
---|
212 | #define IReplica_Synchronize(This, target, syncType, syncMode) ((This)->lpVtbl ->Synchronize (This, target, syncType, syncMode))
|
---|
213 | #define IReplica_get_Filters(This, ppFilters) ((This)->lpVtbl ->get_Filters (This, ppFilters))
|
---|
214 | #endif
|
---|
215 | #endif
|
---|
216 | #endif
|
---|
217 |
|
---|
218 | #ifndef __Filter_INTERFACE_DEFINED__
|
---|
219 | #define __Filter_INTERFACE_DEFINED__
|
---|
220 |
|
---|
221 | EXTERN_C const IID IID_Filter;
|
---|
222 |
|
---|
223 | #if defined (__cplusplus) && !defined (CINTERFACE)
|
---|
224 | MIDL_INTERFACE ("D2D139E1-B6CA-11d1-9F31-00C04FC29D52")
|
---|
225 | Filter : public IDispatch {
|
---|
226 | public:
|
---|
227 | virtual HRESULT STDMETHODCALLTYPE get_TableName (BSTR *pbstr) = 0;
|
---|
228 | virtual HRESULT STDMETHODCALLTYPE get_FilterType (FilterTypeEnum *ptype) = 0;
|
---|
229 | virtual HRESULT STDMETHODCALLTYPE get_FilterCriteria (BSTR *pbstr) = 0;
|
---|
230 | };
|
---|
231 | #else
|
---|
232 | typedef struct FilterVtbl {
|
---|
233 | BEGIN_INTERFACE HRESULT (STDMETHODCALLTYPE *QueryInterface) (Filter *This, REFIID riid, _COM_Outptr_ void **ppvObject);
|
---|
234 | ULONG (STDMETHODCALLTYPE *AddRef) (Filter *This);
|
---|
235 | ULONG (STDMETHODCALLTYPE *Release) (Filter *This);
|
---|
236 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount) (Filter *This, UINT *pctinfo);
|
---|
237 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo) (Filter *This, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo);
|
---|
238 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames) (Filter *This, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId);
|
---|
239 | HRESULT (STDMETHODCALLTYPE *Invoke) (Filter *This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
|
---|
240 | HRESULT (STDMETHODCALLTYPE *get_TableName) (Filter *This, BSTR *pbstr);
|
---|
241 | HRESULT (STDMETHODCALLTYPE *get_FilterType) (Filter *This, FilterTypeEnum *ptype);
|
---|
242 | HRESULT (STDMETHODCALLTYPE *get_FilterCriteria) (Filter *This, BSTR *pbstr);
|
---|
243 | END_INTERFACE
|
---|
244 | } FilterVtbl;
|
---|
245 |
|
---|
246 | interface Filter {
|
---|
247 | CONST_VTBL struct FilterVtbl *lpVtbl;
|
---|
248 | };
|
---|
249 |
|
---|
250 | #ifdef COBJMACROS
|
---|
251 | #define Filter_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl ->QueryInterface (This, riid, ppvObject))
|
---|
252 | #define Filter_AddRef(This) ((This)->lpVtbl ->AddRef (This))
|
---|
253 | #define Filter_Release(This) ((This)->lpVtbl ->Release (This))
|
---|
254 | #define Filter_GetTypeInfoCount(This, pctinfo) ((This)->lpVtbl ->GetTypeInfoCount (This, pctinfo))
|
---|
255 | #define Filter_GetTypeInfo(This, iTInfo, lcid, ppTInfo) ((This)->lpVtbl ->GetTypeInfo (This, iTInfo, lcid, ppTInfo))
|
---|
256 | #define Filter_GetIDsOfNames(This, riid, rgszNames, cNames, lcid, rgDispId) ((This)->lpVtbl ->GetIDsOfNames (This, riid, rgszNames, cNames, lcid, rgDispId))
|
---|
257 | #define Filter_Invoke(This, dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr) ((This)->lpVtbl ->Invoke (This, dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr))
|
---|
258 | #define Filter_get_TableName(This, pbstr) ((This)->lpVtbl ->get_TableName (This, pbstr))
|
---|
259 | #define Filter_get_FilterType(This, ptype) ((This)->lpVtbl ->get_FilterType (This, ptype))
|
---|
260 | #define Filter_get_FilterCriteria(This, pbstr) ((This)->lpVtbl ->get_FilterCriteria (This, pbstr))
|
---|
261 | #endif
|
---|
262 | #endif
|
---|
263 | #endif
|
---|
264 |
|
---|
265 | #ifndef __Filters_INTERFACE_DEFINED__
|
---|
266 | #define __Filters_INTERFACE_DEFINED__
|
---|
267 |
|
---|
268 | EXTERN_C const IID IID_Filters;
|
---|
269 |
|
---|
270 | #if defined (__cplusplus) && !defined (CINTERFACE)
|
---|
271 | MIDL_INTERFACE ("D2D139E2-B6CA-11d1-9F31-00C04FC29D52")
|
---|
272 | Filters : public IDispatch {
|
---|
273 | public:
|
---|
274 | virtual HRESULT STDMETHODCALLTYPE Refresh (void) = 0;
|
---|
275 | virtual HRESULT STDMETHODCALLTYPE _NewEnum (IUnknown **ppvObject) = 0;
|
---|
276 | virtual HRESULT STDMETHODCALLTYPE get_Count (long *c) = 0;
|
---|
277 | virtual HRESULT STDMETHODCALLTYPE get_Item (VARIANT Index, Filter **ppvObject) = 0;
|
---|
278 | virtual HRESULT STDMETHODCALLTYPE Append (BSTR tableName, FilterTypeEnum filterType, BSTR filterCriteria) = 0;
|
---|
279 | virtual HRESULT STDMETHODCALLTYPE Delete (VARIANT Index) = 0;
|
---|
280 | };
|
---|
281 | #else
|
---|
282 | typedef struct FiltersVtbl {
|
---|
283 | BEGIN_INTERFACE HRESULT (STDMETHODCALLTYPE *QueryInterface) (Filters *This, REFIID riid, _COM_Outptr_ void **ppvObject);
|
---|
284 | ULONG (STDMETHODCALLTYPE *AddRef) (Filters *This);
|
---|
285 | ULONG (STDMETHODCALLTYPE *Release) (Filters *This);
|
---|
286 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount) (Filters *This, UINT *pctinfo);
|
---|
287 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo) (Filters *This, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo);
|
---|
288 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames) (Filters *This, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId);
|
---|
289 | HRESULT (STDMETHODCALLTYPE *Invoke) (Filters *This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
|
---|
290 | HRESULT (STDMETHODCALLTYPE *Refresh) (Filters *This);
|
---|
291 | HRESULT (STDMETHODCALLTYPE *_NewEnum) (Filters *This, IUnknown **ppvObject);
|
---|
292 | HRESULT (STDMETHODCALLTYPE *get_Count) (Filters *This, long *c);
|
---|
293 | HRESULT (STDMETHODCALLTYPE *get_Item) (Filters *This, VARIANT Index, Filter **ppvObject);
|
---|
294 | HRESULT (STDMETHODCALLTYPE *Append) (Filters *This, BSTR tableName, FilterTypeEnum filterType, BSTR filterCriteria);
|
---|
295 | HRESULT (STDMETHODCALLTYPE *Delete) (Filters *This, VARIANT Index);
|
---|
296 | END_INTERFACE
|
---|
297 | } FiltersVtbl;
|
---|
298 |
|
---|
299 | interface Filters {
|
---|
300 | CONST_VTBL struct FiltersVtbl *lpVtbl;
|
---|
301 | };
|
---|
302 | #ifdef COBJMACROS
|
---|
303 | #define Filters_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl ->QueryInterface (This, riid, ppvObject))
|
---|
304 | #define Filters_AddRef(This) ((This)->lpVtbl ->AddRef (This))
|
---|
305 | #define Filters_Release(This) ((This)->lpVtbl ->Release (This))
|
---|
306 | #define Filters_GetTypeInfoCount(This, pctinfo) ((This)->lpVtbl ->GetTypeInfoCount (This, pctinfo))
|
---|
307 | #define Filters_GetTypeInfo(This, iTInfo, lcid, ppTInfo) ((This)->lpVtbl ->GetTypeInfo (This, iTInfo, lcid, ppTInfo))
|
---|
308 | #define Filters_GetIDsOfNames(This, riid, rgszNames, cNames, lcid, rgDispId) ((This)->lpVtbl ->GetIDsOfNames (This, riid, rgszNames, cNames, lcid, rgDispId))
|
---|
309 | #define Filters_Invoke(This, dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr) ((This)->lpVtbl ->Invoke (This, dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr))
|
---|
310 | #define Filters_Refresh(This) ((This)->lpVtbl ->Refresh (This))
|
---|
311 | #define Filters__NewEnum(This, ppvObject) ((This)->lpVtbl ->_NewEnum (This, ppvObject))
|
---|
312 | #define Filters_get_Count(This, c) ((This)->lpVtbl ->get_Count (This, c))
|
---|
313 | #define Filters_get_Item(This, Index, ppvObject) ((This)->lpVtbl ->get_Item (This, Index, ppvObject))
|
---|
314 | #define Filters_Append(This, tableName, filterType, filterCriteria) ((This)->lpVtbl ->Append (This, tableName, filterType, filterCriteria))
|
---|
315 | #define Filters_Delete(This, Index) ((This)->lpVtbl ->Delete (This, Index))
|
---|
316 | #endif
|
---|
317 |
|
---|
318 | #endif
|
---|
319 | #endif
|
---|
320 |
|
---|
321 | #ifndef __IJetEngine_INTERFACE_DEFINED__
|
---|
322 | #define __IJetEngine_INTERFACE_DEFINED__
|
---|
323 |
|
---|
324 | EXTERN_C const IID IID_IJetEngine;
|
---|
325 |
|
---|
326 | #if defined (__cplusplus) && !defined (CINTERFACE)
|
---|
327 | MIDL_INTERFACE ("9F63D980-FF25-11D1-BB6F-00C04FAE22DA")
|
---|
328 | IJetEngine : public IDispatch {
|
---|
329 | public:
|
---|
330 | virtual HRESULT STDMETHODCALLTYPE CompactDatabase (BSTR SourceConnection, BSTR Destconnection) = 0;
|
---|
331 | virtual HRESULT STDMETHODCALLTYPE RefreshCache (_Connection *Connection) = 0;
|
---|
332 | };
|
---|
333 | #else
|
---|
334 | typedef struct IJetEngineVtbl {
|
---|
335 | BEGIN_INTERFACE HRESULT (STDMETHODCALLTYPE *QueryInterface) (IJetEngine *This, REFIID riid, _COM_Outptr_ void **ppvObject);
|
---|
336 | ULONG (STDMETHODCALLTYPE *AddRef) (IJetEngine *This);
|
---|
337 | ULONG (STDMETHODCALLTYPE *Release) (IJetEngine *This);
|
---|
338 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount) (IJetEngine *This, UINT *pctinfo);
|
---|
339 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo) (IJetEngine *This, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo);
|
---|
340 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames) (IJetEngine *This, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId);
|
---|
341 | HRESULT (STDMETHODCALLTYPE *Invoke) (IJetEngine *This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
|
---|
342 | HRESULT (STDMETHODCALLTYPE *CompactDatabase) (IJetEngine *This, BSTR SourceConnection, BSTR Destconnection);
|
---|
343 | HRESULT (STDMETHODCALLTYPE *RefreshCache) (IJetEngine *This, _Connection *Connection);
|
---|
344 | END_INTERFACE
|
---|
345 | } IJetEngineVtbl;
|
---|
346 |
|
---|
347 | interface IJetEngine {
|
---|
348 | CONST_VTBL struct IJetEngineVtbl *lpVtbl;
|
---|
349 | };
|
---|
350 |
|
---|
351 | #ifdef COBJMACROS
|
---|
352 | #define IJetEngine_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl ->QueryInterface (This, riid, ppvObject))
|
---|
353 | #define IJetEngine_AddRef(This) ((This)->lpVtbl ->AddRef (This))
|
---|
354 | #define IJetEngine_Release(This) ((This)->lpVtbl ->Release (This))
|
---|
355 | #define IJetEngine_GetTypeInfoCount(This, pctinfo) ((This)->lpVtbl ->GetTypeInfoCount (This, pctinfo))
|
---|
356 | #define IJetEngine_GetTypeInfo(This, iTInfo, lcid, ppTInfo) ((This)->lpVtbl ->GetTypeInfo (This, iTInfo, lcid, ppTInfo))
|
---|
357 | #define IJetEngine_GetIDsOfNames(This, riid, rgszNames, cNames, lcid, rgDispId) ((This)->lpVtbl ->GetIDsOfNames (This, riid, rgszNames, cNames, lcid, rgDispId))
|
---|
358 | #define IJetEngine_Invoke(This, dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr) ((This)->lpVtbl ->Invoke (This, dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr))
|
---|
359 | #define IJetEngine_CompactDatabase(This, SourceConnection, Destconnection) ((This)->lpVtbl ->CompactDatabase (This, SourceConnection, Destconnection))
|
---|
360 | #define IJetEngine_RefreshCache(This, Connection) ((This)->lpVtbl ->RefreshCache (This, Connection))
|
---|
361 | #endif
|
---|
362 |
|
---|
363 | #endif
|
---|
364 | #endif
|
---|
365 |
|
---|
366 | EXTERN_C const CLSID CLSID_Replica;
|
---|
367 | #ifdef __cplusplus
|
---|
368 |
|
---|
369 | class DECLSPEC_UUID ("D2D139E3-B6CA-11d1-9F31-00C04FC29D52")
|
---|
370 | Replica;
|
---|
371 |
|
---|
372 | #endif
|
---|
373 |
|
---|
374 | EXTERN_C const CLSID CLSID_JetEngine;
|
---|
375 |
|
---|
376 | #ifdef __cplusplus
|
---|
377 | class DECLSPEC_UUID ("DE88C160-FF2C-11D1-BB6F-00C04FAE22DA")
|
---|
378 | JetEngine;
|
---|
379 | #endif
|
---|
380 | #endif
|
---|
381 |
|
---|
382 | #ifdef __cplusplus
|
---|
383 | }
|
---|
384 | #endif
|
---|
385 | #endif
|
---|