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 __adojet_h__
14#define __adojet_h__
15
16#ifndef __IReplica_FWD_DEFINED__
17#define __IReplica_FWD_DEFINED__
18typedef struct IReplica IReplica;
19#endif
20
21#ifndef __Filter_FWD_DEFINED__
22#define __Filter_FWD_DEFINED__
23typedef struct Filter Filter;
24#endif
25
26#ifndef __Filters_FWD_DEFINED__
27#define __Filters_FWD_DEFINED__
28typedef struct Filters Filters;
29#endif
30
31#ifndef __IJetEngine_FWD_DEFINED__
32#define __IJetEngine_FWD_DEFINED__
33typedef struct IJetEngine IJetEngine;
34#endif
35
36#ifndef __Replica_FWD_DEFINED__
37#define __Replica_FWD_DEFINED__
38
39#ifdef __cplusplus
40typedef class Replica Replica;
41#else
42typedef struct Replica Replica;
43#endif
44#endif
45
46#ifndef __JetEngine_FWD_DEFINED__
47#define __JetEngine_FWD_DEFINED__
48
49#ifdef __cplusplus
50typedef class JetEngine JetEngine;
51#else
52typedef struct JetEngine JetEngine;
53#endif
54#endif
55
56#ifdef __cplusplus
57extern "C"{
58#endif
59
60#ifndef __MIDL_user_allocate_free_DEFINED__
61#define __MIDL_user_allocate_free_DEFINED__
62  void *__RPC_API MIDL_user_allocate(size_t);
63  void __RPC_API MIDL_user_free(void *);
64#endif
65
66  extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_v0_0_c_ifspec;
67  extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_v0_0_s_ifspec;
68
69#ifndef __JRO_LIBRARY_DEFINED__
70#define __JRO_LIBRARY_DEFINED__
71
72  typedef enum ReplicaTypeEnum {
73    jrRepTypeNotReplicable = 0,jrRepTypeDesignMaster = 0x1,jrRepTypeFull = 0x2,jrRepTypePartial = 0x3
74  } ReplicaTypeEnum;
75
76  typedef enum VisibilityEnum {
77    jrRepVisibilityGlobal = 0x1,jrRepVisibilityLocal = 0x2,jrRepVisibilityAnon = 0x4
78  } VisibilityEnum;
79
80  typedef enum UpdatabilityEnum {
81    jrRepUpdFull = 0,jrRepUpdReadOnly = 0x2
82  } UpdatabilityEnum;
83
84  typedef enum SyncTypeEnum {
85    jrSyncTypeExport = 0x1,jrSyncTypeImport = 0x2,jrSyncTypeImpExp = 0x3
86  } SyncTypeEnum;
87
88  typedef enum SyncModeEnum {
89    jrSyncModeIndirect = 0x1,jrSyncModeDirect = 0x2,jrSyncModeInternet = 0x3
90  } SyncModeEnum;
91
92  typedef enum FilterTypeEnum {
93    jrFilterTypeTable = 0x1,jrFilterTypeRelationship = 0x2
94  } FilterTypeEnum;
95
96  EXTERN_C const IID LIBID_JRO;
97
98#ifndef __IReplica_INTERFACE_DEFINED__
99#define __IReplica_INTERFACE_DEFINED__
100  EXTERN_C const IID IID_IReplica;
101#if defined(__cplusplus) && !defined(CINTERFACE)
102  struct IReplica : public IDispatch {
103  public:
104    virtual HRESULT WINAPI putref_ActiveConnection(IDispatch *pconn) = 0;
105    virtual HRESULT WINAPI put_ActiveConnection(VARIANT vConn) = 0;
106    virtual HRESULT WINAPI get_ActiveConnection(IDispatch **ppconn) = 0;
107    virtual HRESULT WINAPI get_ConflictFunction(BSTR *pbstr) = 0;
108    virtual HRESULT WINAPI put_ConflictFunction(BSTR bstr) = 0;
109    virtual HRESULT WINAPI get_ConflictTables(_Recordset **pprset) = 0;
110    virtual HRESULT WINAPI get_DesignMasterId(VARIANT *pvar) = 0;
111    virtual HRESULT WINAPI put_DesignMasterId(VARIANT var) = 0;
112    virtual HRESULT WINAPI get_Priority(__LONG32 *pl) = 0;
113    virtual HRESULT WINAPI get_ReplicaId(VARIANT *pvar) = 0;
114    virtual HRESULT WINAPI get_ReplicaType(ReplicaTypeEnum *pl) = 0;
115    virtual HRESULT WINAPI get_RetentionPeriod(__LONG32 *pl) = 0;
116    virtual HRESULT WINAPI put_RetentionPeriod(__LONG32 l) = 0;
117    virtual HRESULT WINAPI get_Visibility(VisibilityEnum *pl) = 0;
118    virtual HRESULT WINAPI CreateReplica(BSTR replicaName,BSTR description,ReplicaTypeEnum replicaType = jrRepTypeFull,VisibilityEnum visibility = jrRepVisibilityGlobal,__LONG32 priority = -1,UpdatabilityEnum updatability = jrRepUpdFull) = 0;
119    virtual HRESULT WINAPI GetObjectReplicability(BSTR objectName,BSTR objectType,VARIANT_BOOL *replicability) = 0;
120    virtual HRESULT WINAPI SetObjectReplicability(BSTR objectName,BSTR objectType,VARIANT_BOOL replicability) = 0;
121    virtual HRESULT WINAPI MakeReplicable(BSTR connectionString = L"",VARIANT_BOOL columnTracking = -1) = 0;
122    virtual HRESULT WINAPI PopulatePartial(BSTR FullReplica) = 0;
123    virtual HRESULT WINAPI Synchronize(BSTR target,SyncTypeEnum syncType = jrSyncTypeImpExp,SyncModeEnum syncMode = jrSyncModeIndirect) = 0;
124    virtual HRESULT WINAPI get_Filters(Filters **ppFilters) = 0;
125  };
126#else
127  typedef struct IReplicaVtbl {
128    BEGIN_INTERFACE
129      HRESULT (WINAPI *QueryInterface)(IReplica *This,REFIID riid,void **ppvObject);
130      ULONG (WINAPI *AddRef)(IReplica *This);
131      ULONG (WINAPI *Release)(IReplica *This);
132      HRESULT (WINAPI *GetTypeInfoCount)(IReplica *This,UINT *pctinfo);
133      HRESULT (WINAPI *GetTypeInfo)(IReplica *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
134      HRESULT (WINAPI *GetIDsOfNames)(IReplica *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
135      HRESULT (WINAPI *Invoke)(IReplica *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
136      HRESULT (WINAPI *putref_ActiveConnection)(IReplica *This,IDispatch *pconn);
137      HRESULT (WINAPI *put_ActiveConnection)(IReplica *This,VARIANT vConn);
138      HRESULT (WINAPI *get_ActiveConnection)(IReplica *This,IDispatch **ppconn);
139      HRESULT (WINAPI *get_ConflictFunction)(IReplica *This,BSTR *pbstr);
140      HRESULT (WINAPI *put_ConflictFunction)(IReplica *This,BSTR bstr);
141      HRESULT (WINAPI *get_ConflictTables)(IReplica *This,_Recordset **pprset);
142      HRESULT (WINAPI *get_DesignMasterId)(IReplica *This,VARIANT *pvar);
143      HRESULT (WINAPI *put_DesignMasterId)(IReplica *This,VARIANT var);
144      HRESULT (WINAPI *get_Priority)(IReplica *This,__LONG32 *pl);
145      HRESULT (WINAPI *get_ReplicaId)(IReplica *This,VARIANT *pvar);
146      HRESULT (WINAPI *get_ReplicaType)(IReplica *This,ReplicaTypeEnum *pl);
147      HRESULT (WINAPI *get_RetentionPeriod)(IReplica *This,__LONG32 *pl);
148      HRESULT (WINAPI *put_RetentionPeriod)(IReplica *This,__LONG32 l);
149      HRESULT (WINAPI *get_Visibility)(IReplica *This,VisibilityEnum *pl);
150      HRESULT (WINAPI *CreateReplica)(IReplica *This,BSTR replicaName,BSTR description,ReplicaTypeEnum replicaType,VisibilityEnum visibility,__LONG32 priority,UpdatabilityEnum updatability);
151      HRESULT (WINAPI *GetObjectReplicability)(IReplica *This,BSTR objectName,BSTR objectType,VARIANT_BOOL *replicability);
152      HRESULT (WINAPI *SetObjectReplicability)(IReplica *This,BSTR objectName,BSTR objectType,VARIANT_BOOL replicability);
153      HRESULT (WINAPI *MakeReplicable)(IReplica *This,BSTR connectionString,VARIANT_BOOL columnTracking);
154      HRESULT (WINAPI *PopulatePartial)(IReplica *This,BSTR FullReplica);
155      HRESULT (WINAPI *Synchronize)(IReplica *This,BSTR target,SyncTypeEnum syncType,SyncModeEnum syncMode);
156      HRESULT (WINAPI *get_Filters)(IReplica *This,Filters **ppFilters);
157    END_INTERFACE
158  } IReplicaVtbl;
159  struct IReplica {
160    CONST_VTBL struct IReplicaVtbl *lpVtbl;
161  };
162#ifdef COBJMACROS
163#define IReplica_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
164#define IReplica_AddRef(This) (This)->lpVtbl->AddRef(This)
165#define IReplica_Release(This) (This)->lpVtbl->Release(This)
166#define IReplica_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
167#define IReplica_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
168#define IReplica_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
169#define IReplica_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
170#define IReplica_putref_ActiveConnection(This,pconn) (This)->lpVtbl->putref_ActiveConnection(This,pconn)
171#define IReplica_put_ActiveConnection(This,vConn) (This)->lpVtbl->put_ActiveConnection(This,vConn)
172#define IReplica_get_ActiveConnection(This,ppconn) (This)->lpVtbl->get_ActiveConnection(This,ppconn)
173#define IReplica_get_ConflictFunction(This,pbstr) (This)->lpVtbl->get_ConflictFunction(This,pbstr)
174#define IReplica_put_ConflictFunction(This,bstr) (This)->lpVtbl->put_ConflictFunction(This,bstr)
175#define IReplica_get_ConflictTables(This,pprset) (This)->lpVtbl->get_ConflictTables(This,pprset)
176#define IReplica_get_DesignMasterId(This,pvar) (This)->lpVtbl->get_DesignMasterId(This,pvar)
177#define IReplica_put_DesignMasterId(This,var) (This)->lpVtbl->put_DesignMasterId(This,var)
178#define IReplica_get_Priority(This,pl) (This)->lpVtbl->get_Priority(This,pl)
179#define IReplica_get_ReplicaId(This,pvar) (This)->lpVtbl->get_ReplicaId(This,pvar)
180#define IReplica_get_ReplicaType(This,pl) (This)->lpVtbl->get_ReplicaType(This,pl)
181#define IReplica_get_RetentionPeriod(This,pl) (This)->lpVtbl->get_RetentionPeriod(This,pl)
182#define IReplica_put_RetentionPeriod(This,l) (This)->lpVtbl->put_RetentionPeriod(This,l)
183#define IReplica_get_Visibility(This,pl) (This)->lpVtbl->get_Visibility(This,pl)
184#define IReplica_CreateReplica(This,replicaName,description,replicaType,visibility,priority,updatability) (This)->lpVtbl->CreateReplica(This,replicaName,description,replicaType,visibility,priority,updatability)
185#define IReplica_GetObjectReplicability(This,objectName,objectType,replicability) (This)->lpVtbl->GetObjectReplicability(This,objectName,objectType,replicability)
186#define IReplica_SetObjectReplicability(This,objectName,objectType,replicability) (This)->lpVtbl->SetObjectReplicability(This,objectName,objectType,replicability)
187#define IReplica_MakeReplicable(This,connectionString,columnTracking) (This)->lpVtbl->MakeReplicable(This,connectionString,columnTracking)
188#define IReplica_PopulatePartial(This,FullReplica) (This)->lpVtbl->PopulatePartial(This,FullReplica)
189#define IReplica_Synchronize(This,target,syncType,syncMode) (This)->lpVtbl->Synchronize(This,target,syncType,syncMode)
190#define IReplica_get_Filters(This,ppFilters) (This)->lpVtbl->get_Filters(This,ppFilters)
191#endif
192#endif
193  HRESULT WINAPI IReplica_putref_ActiveConnection_Proxy(IReplica *This,IDispatch *pconn);
194  void __RPC_STUB IReplica_putref_ActiveConnection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
195  HRESULT WINAPI IReplica_put_ActiveConnection_Proxy(IReplica *This,VARIANT vConn);
196  void __RPC_STUB IReplica_put_ActiveConnection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
197  HRESULT WINAPI IReplica_get_ActiveConnection_Proxy(IReplica *This,IDispatch **ppconn);
198  void __RPC_STUB IReplica_get_ActiveConnection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
199  HRESULT WINAPI IReplica_get_ConflictFunction_Proxy(IReplica *This,BSTR *pbstr);
200  void __RPC_STUB IReplica_get_ConflictFunction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
201  HRESULT WINAPI IReplica_put_ConflictFunction_Proxy(IReplica *This,BSTR bstr);
202  void __RPC_STUB IReplica_put_ConflictFunction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
203  HRESULT WINAPI IReplica_get_ConflictTables_Proxy(IReplica *This,_Recordset **pprset);
204  void __RPC_STUB IReplica_get_ConflictTables_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
205  HRESULT WINAPI IReplica_get_DesignMasterId_Proxy(IReplica *This,VARIANT *pvar);
206  void __RPC_STUB IReplica_get_DesignMasterId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
207  HRESULT WINAPI IReplica_put_DesignMasterId_Proxy(IReplica *This,VARIANT var);
208  void __RPC_STUB IReplica_put_DesignMasterId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
209  HRESULT WINAPI IReplica_get_Priority_Proxy(IReplica *This,__LONG32 *pl);
210  void __RPC_STUB IReplica_get_Priority_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
211  HRESULT WINAPI IReplica_get_ReplicaId_Proxy(IReplica *This,VARIANT *pvar);
212  void __RPC_STUB IReplica_get_ReplicaId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
213  HRESULT WINAPI IReplica_get_ReplicaType_Proxy(IReplica *This,ReplicaTypeEnum *pl);
214  void __RPC_STUB IReplica_get_ReplicaType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
215  HRESULT WINAPI IReplica_get_RetentionPeriod_Proxy(IReplica *This,__LONG32 *pl);
216  void __RPC_STUB IReplica_get_RetentionPeriod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
217  HRESULT WINAPI IReplica_put_RetentionPeriod_Proxy(IReplica *This,__LONG32 l);
218  void __RPC_STUB IReplica_put_RetentionPeriod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
219  HRESULT WINAPI IReplica_get_Visibility_Proxy(IReplica *This,VisibilityEnum *pl);
220  void __RPC_STUB IReplica_get_Visibility_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
221  HRESULT WINAPI IReplica_CreateReplica_Proxy(IReplica *This,BSTR replicaName,BSTR description,ReplicaTypeEnum replicaType,VisibilityEnum visibility,__LONG32 priority,UpdatabilityEnum updatability);
222  void __RPC_STUB IReplica_CreateReplica_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
223  HRESULT WINAPI IReplica_GetObjectReplicability_Proxy(IReplica *This,BSTR objectName,BSTR objectType,VARIANT_BOOL *replicability);
224  void __RPC_STUB IReplica_GetObjectReplicability_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
225  HRESULT WINAPI IReplica_SetObjectReplicability_Proxy(IReplica *This,BSTR objectName,BSTR objectType,VARIANT_BOOL replicability);
226  void __RPC_STUB IReplica_SetObjectReplicability_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
227  HRESULT WINAPI IReplica_MakeReplicable_Proxy(IReplica *This,BSTR connectionString,VARIANT_BOOL columnTracking);
228  void __RPC_STUB IReplica_MakeReplicable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
229  HRESULT WINAPI IReplica_PopulatePartial_Proxy(IReplica *This,BSTR FullReplica);
230  void __RPC_STUB IReplica_PopulatePartial_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
231  HRESULT WINAPI IReplica_Synchronize_Proxy(IReplica *This,BSTR target,SyncTypeEnum syncType,SyncModeEnum syncMode);
232  void __RPC_STUB IReplica_Synchronize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
233  HRESULT WINAPI IReplica_get_Filters_Proxy(IReplica *This,Filters **ppFilters);
234  void __RPC_STUB IReplica_get_Filters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
235#endif
236
237#ifndef __Filter_INTERFACE_DEFINED__
238#define __Filter_INTERFACE_DEFINED__
239  EXTERN_C const IID IID_Filter;
240#if defined(__cplusplus) && !defined(CINTERFACE)
241  struct Filter : public IDispatch {
242  public:
243    virtual HRESULT WINAPI get_TableName(BSTR *pbstr) = 0;
244    virtual HRESULT WINAPI get_FilterType(FilterTypeEnum *ptype) = 0;
245    virtual HRESULT WINAPI get_FilterCriteria(BSTR *pbstr) = 0;
246  };
247#else
248  typedef struct FilterVtbl {
249    BEGIN_INTERFACE
250      HRESULT (WINAPI *QueryInterface)(Filter *This,REFIID riid,void **ppvObject);
251      ULONG (WINAPI *AddRef)(Filter *This);
252      ULONG (WINAPI *Release)(Filter *This);
253      HRESULT (WINAPI *GetTypeInfoCount)(Filter *This,UINT *pctinfo);
254      HRESULT (WINAPI *GetTypeInfo)(Filter *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
255      HRESULT (WINAPI *GetIDsOfNames)(Filter *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
256      HRESULT (WINAPI *Invoke)(Filter *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
257      HRESULT (WINAPI *get_TableName)(Filter *This,BSTR *pbstr);
258      HRESULT (WINAPI *get_FilterType)(Filter *This,FilterTypeEnum *ptype);
259      HRESULT (WINAPI *get_FilterCriteria)(Filter *This,BSTR *pbstr);
260    END_INTERFACE
261  } FilterVtbl;
262  struct Filter {
263    CONST_VTBL struct FilterVtbl *lpVtbl;
264  };
265#ifdef COBJMACROS
266#define Filter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
267#define Filter_AddRef(This) (This)->lpVtbl->AddRef(This)
268#define Filter_Release(This) (This)->lpVtbl->Release(This)
269#define Filter_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
270#define Filter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
271#define Filter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
272#define Filter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
273#define Filter_get_TableName(This,pbstr) (This)->lpVtbl->get_TableName(This,pbstr)
274#define Filter_get_FilterType(This,ptype) (This)->lpVtbl->get_FilterType(This,ptype)
275#define Filter_get_FilterCriteria(This,pbstr) (This)->lpVtbl->get_FilterCriteria(This,pbstr)
276#endif
277#endif
278  HRESULT WINAPI Filter_get_TableName_Proxy(Filter *This,BSTR *pbstr);
279  void __RPC_STUB Filter_get_TableName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
280  HRESULT WINAPI Filter_get_FilterType_Proxy(Filter *This,FilterTypeEnum *ptype);
281  void __RPC_STUB Filter_get_FilterType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
282  HRESULT WINAPI Filter_get_FilterCriteria_Proxy(Filter *This,BSTR *pbstr);
283  void __RPC_STUB Filter_get_FilterCriteria_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
284#endif
285
286#ifndef __Filters_INTERFACE_DEFINED__
287#define __Filters_INTERFACE_DEFINED__
288  EXTERN_C const IID IID_Filters;
289#if defined(__cplusplus) && !defined(CINTERFACE)
290  struct Filters : public IDispatch {
291  public:
292    virtual HRESULT WINAPI Refresh(void) = 0;
293    virtual HRESULT WINAPI _NewEnum(IUnknown **ppvObject) = 0;
294    virtual HRESULT WINAPI get_Count(__LONG32 *c) = 0;
295    virtual HRESULT WINAPI get_Item(VARIANT Index,Filter **ppvObject) = 0;
296    virtual HRESULT WINAPI Append(BSTR tableName,FilterTypeEnum filterType,BSTR filterCriteria) = 0;
297    virtual HRESULT WINAPI Delete(VARIANT Index) = 0;
298  };
299#else
300  typedef struct FiltersVtbl {
301    BEGIN_INTERFACE
302      HRESULT (WINAPI *QueryInterface)(Filters *This,REFIID riid,void **ppvObject);
303      ULONG (WINAPI *AddRef)(Filters *This);
304      ULONG (WINAPI *Release)(Filters *This);
305      HRESULT (WINAPI *GetTypeInfoCount)(Filters *This,UINT *pctinfo);
306      HRESULT (WINAPI *GetTypeInfo)(Filters *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
307      HRESULT (WINAPI *GetIDsOfNames)(Filters *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
308      HRESULT (WINAPI *Invoke)(Filters *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
309      HRESULT (WINAPI *Refresh)(Filters *This);
310      HRESULT (WINAPI *_NewEnum)(Filters *This,IUnknown **ppvObject);
311      HRESULT (WINAPI *get_Count)(Filters *This,__LONG32 *c);
312      HRESULT (WINAPI *get_Item)(Filters *This,VARIANT Index,Filter **ppvObject);
313      HRESULT (WINAPI *Append)(Filters *This,BSTR tableName,FilterTypeEnum filterType,BSTR filterCriteria);
314      HRESULT (WINAPI *Delete)(Filters *This,VARIANT Index);
315    END_INTERFACE
316  } FiltersVtbl;
317  struct Filters {
318    CONST_VTBL struct FiltersVtbl *lpVtbl;
319  };
320#ifdef COBJMACROS
321#define Filters_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
322#define Filters_AddRef(This) (This)->lpVtbl->AddRef(This)
323#define Filters_Release(This) (This)->lpVtbl->Release(This)
324#define Filters_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
325#define Filters_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
326#define Filters_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
327#define Filters_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
328#define Filters_Refresh(This) (This)->lpVtbl->Refresh(This)
329#define Filters__NewEnum(This,ppvObject) (This)->lpVtbl->_NewEnum(This,ppvObject)
330#define Filters_get_Count(This,c) (This)->lpVtbl->get_Count(This,c)
331#define Filters_get_Item(This,Index,ppvObject) (This)->lpVtbl->get_Item(This,Index,ppvObject)
332#define Filters_Append(This,tableName,filterType,filterCriteria) (This)->lpVtbl->Append(This,tableName,filterType,filterCriteria)
333#define Filters_Delete(This,Index) (This)->lpVtbl->Delete(This,Index)
334#endif
335#endif
336  HRESULT WINAPI Filters_Refresh_Proxy(Filters *This);
337  void __RPC_STUB Filters_Refresh_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
338  HRESULT WINAPI Filters__NewEnum_Proxy(Filters *This,IUnknown **ppvObject);
339  void __RPC_STUB Filters__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
340  HRESULT WINAPI Filters_get_Count_Proxy(Filters *This,__LONG32 *c);
341  void __RPC_STUB Filters_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
342  HRESULT WINAPI Filters_get_Item_Proxy(Filters *This,VARIANT Index,Filter **ppvObject);
343  void __RPC_STUB Filters_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
344  HRESULT WINAPI Filters_Append_Proxy(Filters *This,BSTR tableName,FilterTypeEnum filterType,BSTR filterCriteria);
345  void __RPC_STUB Filters_Append_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
346  HRESULT WINAPI Filters_Delete_Proxy(Filters *This,VARIANT Index);
347  void __RPC_STUB Filters_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
348#endif
349
350#ifndef __IJetEngine_INTERFACE_DEFINED__
351#define __IJetEngine_INTERFACE_DEFINED__
352  EXTERN_C const IID IID_IJetEngine;
353#if defined(__cplusplus) && !defined(CINTERFACE)
354  struct IJetEngine : public IDispatch {
355  public:
356    virtual HRESULT WINAPI CompactDatabase(BSTR SourceConnection,BSTR Destconnection) = 0;
357    virtual HRESULT WINAPI RefreshCache(_Connection *Connection) = 0;
358  };
359#else
360  typedef struct IJetEngineVtbl {
361    BEGIN_INTERFACE
362      HRESULT (WINAPI *QueryInterface)(IJetEngine *This,REFIID riid,void **ppvObject);
363      ULONG (WINAPI *AddRef)(IJetEngine *This);
364      ULONG (WINAPI *Release)(IJetEngine *This);
365      HRESULT (WINAPI *GetTypeInfoCount)(IJetEngine *This,UINT *pctinfo);
366      HRESULT (WINAPI *GetTypeInfo)(IJetEngine *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
367      HRESULT (WINAPI *GetIDsOfNames)(IJetEngine *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
368      HRESULT (WINAPI *Invoke)(IJetEngine *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
369      HRESULT (WINAPI *CompactDatabase)(IJetEngine *This,BSTR SourceConnection,BSTR Destconnection);
370      HRESULT (WINAPI *RefreshCache)(IJetEngine *This,_Connection *Connection);
371    END_INTERFACE
372  } IJetEngineVtbl;
373  struct IJetEngine {
374    CONST_VTBL struct IJetEngineVtbl *lpVtbl;
375  };
376#ifdef COBJMACROS
377#define IJetEngine_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
378#define IJetEngine_AddRef(This) (This)->lpVtbl->AddRef(This)
379#define IJetEngine_Release(This) (This)->lpVtbl->Release(This)
380#define IJetEngine_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
381#define IJetEngine_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
382#define IJetEngine_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
383#define IJetEngine_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
384#define IJetEngine_CompactDatabase(This,SourceConnection,Destconnection) (This)->lpVtbl->CompactDatabase(This,SourceConnection,Destconnection)
385#define IJetEngine_RefreshCache(This,Connection) (This)->lpVtbl->RefreshCache(This,Connection)
386#endif
387#endif
388  HRESULT WINAPI IJetEngine_CompactDatabase_Proxy(IJetEngine *This,BSTR SourceConnection,BSTR Destconnection);
389  void __RPC_STUB IJetEngine_CompactDatabase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
390  HRESULT WINAPI IJetEngine_RefreshCache_Proxy(IJetEngine *This,_Connection *Connection);
391  void __RPC_STUB IJetEngine_RefreshCache_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
392#endif
393
394  EXTERN_C const CLSID CLSID_Replica;
395
396#ifdef __cplusplus
397  class Replica;
398#endif
399  EXTERN_C const CLSID CLSID_JetEngine;
400#ifdef __cplusplus
401  class JetEngine;
402#endif
403#endif
404
405#ifdef __cplusplus
406}
407#endif
408#endif
409