Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1379 lines
43 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for adojet.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef __adojet_h__
  23. #define __adojet_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. #ifndef __IReplica_FWD_DEFINED__
  29. #define __IReplica_FWD_DEFINED__
  30. typedef interface IReplica IReplica;
  31. #endif /* __IReplica_FWD_DEFINED__ */
  32. #ifndef __Filter_FWD_DEFINED__
  33. #define __Filter_FWD_DEFINED__
  34. typedef interface Filter Filter;
  35. #endif /* __Filter_FWD_DEFINED__ */
  36. #ifndef __Filters_FWD_DEFINED__
  37. #define __Filters_FWD_DEFINED__
  38. typedef interface Filters Filters;
  39. #endif /* __Filters_FWD_DEFINED__ */
  40. #ifndef __IJetEngine_FWD_DEFINED__
  41. #define __IJetEngine_FWD_DEFINED__
  42. typedef interface IJetEngine IJetEngine;
  43. #endif /* __IJetEngine_FWD_DEFINED__ */
  44. #ifndef __Replica_FWD_DEFINED__
  45. #define __Replica_FWD_DEFINED__
  46. #ifdef __cplusplus
  47. typedef class Replica Replica;
  48. #else
  49. typedef struct Replica Replica;
  50. #endif /* __cplusplus */
  51. #endif /* __Replica_FWD_DEFINED__ */
  52. #ifndef __JetEngine_FWD_DEFINED__
  53. #define __JetEngine_FWD_DEFINED__
  54. #ifdef __cplusplus
  55. typedef class JetEngine JetEngine;
  56. #else
  57. typedef struct JetEngine JetEngine;
  58. #endif /* __cplusplus */
  59. #endif /* __JetEngine_FWD_DEFINED__ */
  60. #ifdef __cplusplus
  61. extern "C"{
  62. #endif
  63. void * __RPC_USER MIDL_user_allocate(size_t);
  64. void __RPC_USER MIDL_user_free( void * );
  65. /* interface __MIDL_itf_adojet_0000 */
  66. /* [local] */
  67. #define TARGET_IS_NT40_OR_LATER 1
  68. extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_v0_0_c_ifspec;
  69. extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_v0_0_s_ifspec;
  70. #ifndef __JRO_LIBRARY_DEFINED__
  71. #define __JRO_LIBRARY_DEFINED__
  72. /* library JRO */
  73. /* [helpstring][helpfile][version][uuid] */
  74. typedef /* [uuid] */ 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. typedef /* [uuid] */ DECLSPEC_UUID("6877D21A-B6CE-11d1-9F31-00C04FC29D52")
  82. enum VisibilityEnum
  83. { jrRepVisibilityGlobal = 0x1,
  84. jrRepVisibilityLocal = 0x2,
  85. jrRepVisibilityAnon = 0x4
  86. } VisibilityEnum;
  87. typedef /* [uuid] */ DECLSPEC_UUID("B42FBFF6-B6CF-11d1-9F31-00C04FC29D52")
  88. enum UpdatabilityEnum
  89. { jrRepUpdFull = 0,
  90. jrRepUpdReadOnly = 0x2
  91. } UpdatabilityEnum;
  92. typedef /* [uuid] */ DECLSPEC_UUID("60C05416-B6D0-11d1-9F31-00C04FC29D52")
  93. enum SyncTypeEnum
  94. { jrSyncTypeExport = 0x1,
  95. jrSyncTypeImport = 0x2,
  96. jrSyncTypeImpExp = 0x3
  97. } SyncTypeEnum;
  98. typedef /* [uuid] */ DECLSPEC_UUID("5EBA3970-061E-11d2-BB77-00C04FAE22DA")
  99. enum SyncModeEnum
  100. { jrSyncModeIndirect = 0x1,
  101. jrSyncModeDirect = 0x2,
  102. jrSyncModeInternet = 0x3
  103. } SyncModeEnum;
  104. typedef /* [uuid] */ DECLSPEC_UUID("72769F94-BF78-11d1-AC4D-00C04FC29F8F")
  105. enum FilterTypeEnum
  106. { jrFilterTypeTable = 0x1,
  107. jrFilterTypeRelationship = 0x2
  108. } FilterTypeEnum;
  109. EXTERN_C const IID LIBID_JRO;
  110. #ifndef __IReplica_INTERFACE_DEFINED__
  111. #define __IReplica_INTERFACE_DEFINED__
  112. /* interface IReplica */
  113. /* [unique][helpstring][dual][uuid][object] */
  114. EXTERN_C const IID IID_IReplica;
  115. #if defined(__cplusplus) && !defined(CINTERFACE)
  116. MIDL_INTERFACE("D2D139E0-B6CA-11d1-9F31-00C04FC29D52")
  117. IReplica : public IDispatch
  118. {
  119. public:
  120. virtual /* [helpcontext][propputref] */ HRESULT STDMETHODCALLTYPE putref_ActiveConnection(
  121. /* [in] */ IDispatch *pconn) = 0;
  122. virtual /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_ActiveConnection(
  123. /* [in] */ VARIANT vConn) = 0;
  124. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection(
  125. /* [retval][out] */ IDispatch **ppconn) = 0;
  126. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ConflictFunction(
  127. /* [retval][out] */ BSTR *pbstr) = 0;
  128. virtual /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_ConflictFunction(
  129. /* [in] */ BSTR bstr) = 0;
  130. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ConflictTables(
  131. /* [retval][out] */ /* external definition not present */ _Recordset **pprset) = 0;
  132. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_DesignMasterId(
  133. /* [retval][out] */ VARIANT *pvar) = 0;
  134. virtual /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_DesignMasterId(
  135. /* [in] */ VARIANT var) = 0;
  136. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Priority(
  137. /* [retval][out] */ long *pl) = 0;
  138. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ReplicaId(
  139. /* [retval][out] */ VARIANT *pvar) = 0;
  140. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ReplicaType(
  141. /* [retval][out] */ ReplicaTypeEnum *pl) = 0;
  142. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_RetentionPeriod(
  143. /* [retval][out] */ long *pl) = 0;
  144. virtual /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_RetentionPeriod(
  145. /* [in] */ long l) = 0;
  146. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Visibility(
  147. /* [retval][out] */ VisibilityEnum *pl) = 0;
  148. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE CreateReplica(
  149. /* [in] */ BSTR replicaName,
  150. /* [in] */ BSTR description,
  151. /* [defaultvalue][in] */ ReplicaTypeEnum replicaType = jrRepTypeFull,
  152. /* [defaultvalue][in] */ VisibilityEnum visibility = jrRepVisibilityGlobal,
  153. /* [defaultvalue][in] */ long priority = -1,
  154. /* [defaultvalue][in] */ UpdatabilityEnum updatability = jrRepUpdFull) = 0;
  155. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE GetObjectReplicability(
  156. /* [in] */ BSTR objectName,
  157. /* [in] */ BSTR objectType,
  158. /* [retval][out] */ VARIANT_BOOL *replicability) = 0;
  159. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE SetObjectReplicability(
  160. /* [in] */ BSTR objectName,
  161. /* [in] */ BSTR objectType,
  162. /* [in] */ VARIANT_BOOL replicability) = 0;
  163. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE MakeReplicable(
  164. /* [defaultvalue][in] */ BSTR connectionString = L"",
  165. /* [defaultvalue][in] */ VARIANT_BOOL columnTracking = -1) = 0;
  166. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE PopulatePartial(
  167. /* [in] */ BSTR FullReplica) = 0;
  168. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Synchronize(
  169. /* [in] */ BSTR target,
  170. /* [defaultvalue][in] */ SyncTypeEnum syncType = jrSyncTypeImpExp,
  171. /* [defaultvalue][in] */ SyncModeEnum syncMode = jrSyncModeIndirect) = 0;
  172. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Filters(
  173. /* [retval][out] */ Filters **ppFilters) = 0;
  174. };
  175. #else /* C style interface */
  176. typedef struct IReplicaVtbl
  177. {
  178. BEGIN_INTERFACE
  179. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  180. IReplica * This,
  181. /* [in] */ REFIID riid,
  182. /* [iid_is][out] */ void **ppvObject);
  183. ULONG ( STDMETHODCALLTYPE *AddRef )(
  184. IReplica * This);
  185. ULONG ( STDMETHODCALLTYPE *Release )(
  186. IReplica * This);
  187. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  188. IReplica * This,
  189. /* [out] */ UINT *pctinfo);
  190. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  191. IReplica * This,
  192. /* [in] */ UINT iTInfo,
  193. /* [in] */ LCID lcid,
  194. /* [out] */ ITypeInfo **ppTInfo);
  195. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  196. IReplica * This,
  197. /* [in] */ REFIID riid,
  198. /* [size_is][in] */ LPOLESTR *rgszNames,
  199. /* [in] */ UINT cNames,
  200. /* [in] */ LCID lcid,
  201. /* [size_is][out] */ DISPID *rgDispId);
  202. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  203. IReplica * This,
  204. /* [in] */ DISPID dispIdMember,
  205. /* [in] */ REFIID riid,
  206. /* [in] */ LCID lcid,
  207. /* [in] */ WORD wFlags,
  208. /* [out][in] */ DISPPARAMS *pDispParams,
  209. /* [out] */ VARIANT *pVarResult,
  210. /* [out] */ EXCEPINFO *pExcepInfo,
  211. /* [out] */ UINT *puArgErr);
  212. /* [helpcontext][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveConnection )(
  213. IReplica * This,
  214. /* [in] */ IDispatch *pconn);
  215. /* [helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
  216. IReplica * This,
  217. /* [in] */ VARIANT vConn);
  218. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  219. IReplica * This,
  220. /* [retval][out] */ IDispatch **ppconn);
  221. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConflictFunction )(
  222. IReplica * This,
  223. /* [retval][out] */ BSTR *pbstr);
  224. /* [helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ConflictFunction )(
  225. IReplica * This,
  226. /* [in] */ BSTR bstr);
  227. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConflictTables )(
  228. IReplica * This,
  229. /* [retval][out] */ /* external definition not present */ _Recordset **pprset);
  230. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DesignMasterId )(
  231. IReplica * This,
  232. /* [retval][out] */ VARIANT *pvar);
  233. /* [helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DesignMasterId )(
  234. IReplica * This,
  235. /* [in] */ VARIANT var);
  236. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )(
  237. IReplica * This,
  238. /* [retval][out] */ long *pl);
  239. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReplicaId )(
  240. IReplica * This,
  241. /* [retval][out] */ VARIANT *pvar);
  242. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReplicaType )(
  243. IReplica * This,
  244. /* [retval][out] */ ReplicaTypeEnum *pl);
  245. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RetentionPeriod )(
  246. IReplica * This,
  247. /* [retval][out] */ long *pl);
  248. /* [helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RetentionPeriod )(
  249. IReplica * This,
  250. /* [in] */ long l);
  251. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Visibility )(
  252. IReplica * This,
  253. /* [retval][out] */ VisibilityEnum *pl);
  254. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *CreateReplica )(
  255. IReplica * This,
  256. /* [in] */ BSTR replicaName,
  257. /* [in] */ BSTR description,
  258. /* [defaultvalue][in] */ ReplicaTypeEnum replicaType,
  259. /* [defaultvalue][in] */ VisibilityEnum visibility,
  260. /* [defaultvalue][in] */ long priority,
  261. /* [defaultvalue][in] */ UpdatabilityEnum updatability);
  262. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *GetObjectReplicability )(
  263. IReplica * This,
  264. /* [in] */ BSTR objectName,
  265. /* [in] */ BSTR objectType,
  266. /* [retval][out] */ VARIANT_BOOL *replicability);
  267. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *SetObjectReplicability )(
  268. IReplica * This,
  269. /* [in] */ BSTR objectName,
  270. /* [in] */ BSTR objectType,
  271. /* [in] */ VARIANT_BOOL replicability);
  272. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *MakeReplicable )(
  273. IReplica * This,
  274. /* [defaultvalue][in] */ BSTR connectionString,
  275. /* [defaultvalue][in] */ VARIANT_BOOL columnTracking);
  276. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *PopulatePartial )(
  277. IReplica * This,
  278. /* [in] */ BSTR FullReplica);
  279. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Synchronize )(
  280. IReplica * This,
  281. /* [in] */ BSTR target,
  282. /* [defaultvalue][in] */ SyncTypeEnum syncType,
  283. /* [defaultvalue][in] */ SyncModeEnum syncMode);
  284. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Filters )(
  285. IReplica * This,
  286. /* [retval][out] */ Filters **ppFilters);
  287. END_INTERFACE
  288. } IReplicaVtbl;
  289. interface IReplica
  290. {
  291. CONST_VTBL struct IReplicaVtbl *lpVtbl;
  292. };
  293. #ifdef COBJMACROS
  294. #define IReplica_QueryInterface(This,riid,ppvObject) \
  295. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  296. #define IReplica_AddRef(This) \
  297. (This)->lpVtbl -> AddRef(This)
  298. #define IReplica_Release(This) \
  299. (This)->lpVtbl -> Release(This)
  300. #define IReplica_GetTypeInfoCount(This,pctinfo) \
  301. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  302. #define IReplica_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  303. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  304. #define IReplica_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  305. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  306. #define IReplica_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  307. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  308. #define IReplica_putref_ActiveConnection(This,pconn) \
  309. (This)->lpVtbl -> putref_ActiveConnection(This,pconn)
  310. #define IReplica_put_ActiveConnection(This,vConn) \
  311. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  312. #define IReplica_get_ActiveConnection(This,ppconn) \
  313. (This)->lpVtbl -> get_ActiveConnection(This,ppconn)
  314. #define IReplica_get_ConflictFunction(This,pbstr) \
  315. (This)->lpVtbl -> get_ConflictFunction(This,pbstr)
  316. #define IReplica_put_ConflictFunction(This,bstr) \
  317. (This)->lpVtbl -> put_ConflictFunction(This,bstr)
  318. #define IReplica_get_ConflictTables(This,pprset) \
  319. (This)->lpVtbl -> get_ConflictTables(This,pprset)
  320. #define IReplica_get_DesignMasterId(This,pvar) \
  321. (This)->lpVtbl -> get_DesignMasterId(This,pvar)
  322. #define IReplica_put_DesignMasterId(This,var) \
  323. (This)->lpVtbl -> put_DesignMasterId(This,var)
  324. #define IReplica_get_Priority(This,pl) \
  325. (This)->lpVtbl -> get_Priority(This,pl)
  326. #define IReplica_get_ReplicaId(This,pvar) \
  327. (This)->lpVtbl -> get_ReplicaId(This,pvar)
  328. #define IReplica_get_ReplicaType(This,pl) \
  329. (This)->lpVtbl -> get_ReplicaType(This,pl)
  330. #define IReplica_get_RetentionPeriod(This,pl) \
  331. (This)->lpVtbl -> get_RetentionPeriod(This,pl)
  332. #define IReplica_put_RetentionPeriod(This,l) \
  333. (This)->lpVtbl -> put_RetentionPeriod(This,l)
  334. #define IReplica_get_Visibility(This,pl) \
  335. (This)->lpVtbl -> get_Visibility(This,pl)
  336. #define IReplica_CreateReplica(This,replicaName,description,replicaType,visibility,priority,updatability) \
  337. (This)->lpVtbl -> CreateReplica(This,replicaName,description,replicaType,visibility,priority,updatability)
  338. #define IReplica_GetObjectReplicability(This,objectName,objectType,replicability) \
  339. (This)->lpVtbl -> GetObjectReplicability(This,objectName,objectType,replicability)
  340. #define IReplica_SetObjectReplicability(This,objectName,objectType,replicability) \
  341. (This)->lpVtbl -> SetObjectReplicability(This,objectName,objectType,replicability)
  342. #define IReplica_MakeReplicable(This,connectionString,columnTracking) \
  343. (This)->lpVtbl -> MakeReplicable(This,connectionString,columnTracking)
  344. #define IReplica_PopulatePartial(This,FullReplica) \
  345. (This)->lpVtbl -> PopulatePartial(This,FullReplica)
  346. #define IReplica_Synchronize(This,target,syncType,syncMode) \
  347. (This)->lpVtbl -> Synchronize(This,target,syncType,syncMode)
  348. #define IReplica_get_Filters(This,ppFilters) \
  349. (This)->lpVtbl -> get_Filters(This,ppFilters)
  350. #endif /* COBJMACROS */
  351. #endif /* C style interface */
  352. /* [helpcontext][propputref] */ HRESULT STDMETHODCALLTYPE IReplica_putref_ActiveConnection_Proxy(
  353. IReplica * This,
  354. /* [in] */ IDispatch *pconn);
  355. void __RPC_STUB IReplica_putref_ActiveConnection_Stub(
  356. IRpcStubBuffer *This,
  357. IRpcChannelBuffer *_pRpcChannelBuffer,
  358. PRPC_MESSAGE _pRpcMessage,
  359. DWORD *_pdwStubPhase);
  360. /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE IReplica_put_ActiveConnection_Proxy(
  361. IReplica * This,
  362. /* [in] */ VARIANT vConn);
  363. void __RPC_STUB IReplica_put_ActiveConnection_Stub(
  364. IRpcStubBuffer *This,
  365. IRpcChannelBuffer *_pRpcChannelBuffer,
  366. PRPC_MESSAGE _pRpcMessage,
  367. DWORD *_pdwStubPhase);
  368. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ActiveConnection_Proxy(
  369. IReplica * This,
  370. /* [retval][out] */ IDispatch **ppconn);
  371. void __RPC_STUB IReplica_get_ActiveConnection_Stub(
  372. IRpcStubBuffer *This,
  373. IRpcChannelBuffer *_pRpcChannelBuffer,
  374. PRPC_MESSAGE _pRpcMessage,
  375. DWORD *_pdwStubPhase);
  376. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ConflictFunction_Proxy(
  377. IReplica * This,
  378. /* [retval][out] */ BSTR *pbstr);
  379. void __RPC_STUB IReplica_get_ConflictFunction_Stub(
  380. IRpcStubBuffer *This,
  381. IRpcChannelBuffer *_pRpcChannelBuffer,
  382. PRPC_MESSAGE _pRpcMessage,
  383. DWORD *_pdwStubPhase);
  384. /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE IReplica_put_ConflictFunction_Proxy(
  385. IReplica * This,
  386. /* [in] */ BSTR bstr);
  387. void __RPC_STUB IReplica_put_ConflictFunction_Stub(
  388. IRpcStubBuffer *This,
  389. IRpcChannelBuffer *_pRpcChannelBuffer,
  390. PRPC_MESSAGE _pRpcMessage,
  391. DWORD *_pdwStubPhase);
  392. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ConflictTables_Proxy(
  393. IReplica * This,
  394. /* [retval][out] */ /* external definition not present */ _Recordset **pprset);
  395. void __RPC_STUB IReplica_get_ConflictTables_Stub(
  396. IRpcStubBuffer *This,
  397. IRpcChannelBuffer *_pRpcChannelBuffer,
  398. PRPC_MESSAGE _pRpcMessage,
  399. DWORD *_pdwStubPhase);
  400. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_DesignMasterId_Proxy(
  401. IReplica * This,
  402. /* [retval][out] */ VARIANT *pvar);
  403. void __RPC_STUB IReplica_get_DesignMasterId_Stub(
  404. IRpcStubBuffer *This,
  405. IRpcChannelBuffer *_pRpcChannelBuffer,
  406. PRPC_MESSAGE _pRpcMessage,
  407. DWORD *_pdwStubPhase);
  408. /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE IReplica_put_DesignMasterId_Proxy(
  409. IReplica * This,
  410. /* [in] */ VARIANT var);
  411. void __RPC_STUB IReplica_put_DesignMasterId_Stub(
  412. IRpcStubBuffer *This,
  413. IRpcChannelBuffer *_pRpcChannelBuffer,
  414. PRPC_MESSAGE _pRpcMessage,
  415. DWORD *_pdwStubPhase);
  416. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_Priority_Proxy(
  417. IReplica * This,
  418. /* [retval][out] */ long *pl);
  419. void __RPC_STUB IReplica_get_Priority_Stub(
  420. IRpcStubBuffer *This,
  421. IRpcChannelBuffer *_pRpcChannelBuffer,
  422. PRPC_MESSAGE _pRpcMessage,
  423. DWORD *_pdwStubPhase);
  424. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ReplicaId_Proxy(
  425. IReplica * This,
  426. /* [retval][out] */ VARIANT *pvar);
  427. void __RPC_STUB IReplica_get_ReplicaId_Stub(
  428. IRpcStubBuffer *This,
  429. IRpcChannelBuffer *_pRpcChannelBuffer,
  430. PRPC_MESSAGE _pRpcMessage,
  431. DWORD *_pdwStubPhase);
  432. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ReplicaType_Proxy(
  433. IReplica * This,
  434. /* [retval][out] */ ReplicaTypeEnum *pl);
  435. void __RPC_STUB IReplica_get_ReplicaType_Stub(
  436. IRpcStubBuffer *This,
  437. IRpcChannelBuffer *_pRpcChannelBuffer,
  438. PRPC_MESSAGE _pRpcMessage,
  439. DWORD *_pdwStubPhase);
  440. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_RetentionPeriod_Proxy(
  441. IReplica * This,
  442. /* [retval][out] */ long *pl);
  443. void __RPC_STUB IReplica_get_RetentionPeriod_Stub(
  444. IRpcStubBuffer *This,
  445. IRpcChannelBuffer *_pRpcChannelBuffer,
  446. PRPC_MESSAGE _pRpcMessage,
  447. DWORD *_pdwStubPhase);
  448. /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE IReplica_put_RetentionPeriod_Proxy(
  449. IReplica * This,
  450. /* [in] */ long l);
  451. void __RPC_STUB IReplica_put_RetentionPeriod_Stub(
  452. IRpcStubBuffer *This,
  453. IRpcChannelBuffer *_pRpcChannelBuffer,
  454. PRPC_MESSAGE _pRpcMessage,
  455. DWORD *_pdwStubPhase);
  456. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_Visibility_Proxy(
  457. IReplica * This,
  458. /* [retval][out] */ VisibilityEnum *pl);
  459. void __RPC_STUB IReplica_get_Visibility_Stub(
  460. IRpcStubBuffer *This,
  461. IRpcChannelBuffer *_pRpcChannelBuffer,
  462. PRPC_MESSAGE _pRpcMessage,
  463. DWORD *_pdwStubPhase);
  464. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_CreateReplica_Proxy(
  465. IReplica * This,
  466. /* [in] */ BSTR replicaName,
  467. /* [in] */ BSTR description,
  468. /* [defaultvalue][in] */ ReplicaTypeEnum replicaType,
  469. /* [defaultvalue][in] */ VisibilityEnum visibility,
  470. /* [defaultvalue][in] */ long priority,
  471. /* [defaultvalue][in] */ UpdatabilityEnum updatability);
  472. void __RPC_STUB IReplica_CreateReplica_Stub(
  473. IRpcStubBuffer *This,
  474. IRpcChannelBuffer *_pRpcChannelBuffer,
  475. PRPC_MESSAGE _pRpcMessage,
  476. DWORD *_pdwStubPhase);
  477. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_GetObjectReplicability_Proxy(
  478. IReplica * This,
  479. /* [in] */ BSTR objectName,
  480. /* [in] */ BSTR objectType,
  481. /* [retval][out] */ VARIANT_BOOL *replicability);
  482. void __RPC_STUB IReplica_GetObjectReplicability_Stub(
  483. IRpcStubBuffer *This,
  484. IRpcChannelBuffer *_pRpcChannelBuffer,
  485. PRPC_MESSAGE _pRpcMessage,
  486. DWORD *_pdwStubPhase);
  487. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_SetObjectReplicability_Proxy(
  488. IReplica * This,
  489. /* [in] */ BSTR objectName,
  490. /* [in] */ BSTR objectType,
  491. /* [in] */ VARIANT_BOOL replicability);
  492. void __RPC_STUB IReplica_SetObjectReplicability_Stub(
  493. IRpcStubBuffer *This,
  494. IRpcChannelBuffer *_pRpcChannelBuffer,
  495. PRPC_MESSAGE _pRpcMessage,
  496. DWORD *_pdwStubPhase);
  497. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_MakeReplicable_Proxy(
  498. IReplica * This,
  499. /* [defaultvalue][in] */ BSTR connectionString,
  500. /* [defaultvalue][in] */ VARIANT_BOOL columnTracking);
  501. void __RPC_STUB IReplica_MakeReplicable_Stub(
  502. IRpcStubBuffer *This,
  503. IRpcChannelBuffer *_pRpcChannelBuffer,
  504. PRPC_MESSAGE _pRpcMessage,
  505. DWORD *_pdwStubPhase);
  506. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_PopulatePartial_Proxy(
  507. IReplica * This,
  508. /* [in] */ BSTR FullReplica);
  509. void __RPC_STUB IReplica_PopulatePartial_Stub(
  510. IRpcStubBuffer *This,
  511. IRpcChannelBuffer *_pRpcChannelBuffer,
  512. PRPC_MESSAGE _pRpcMessage,
  513. DWORD *_pdwStubPhase);
  514. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_Synchronize_Proxy(
  515. IReplica * This,
  516. /* [in] */ BSTR target,
  517. /* [defaultvalue][in] */ SyncTypeEnum syncType,
  518. /* [defaultvalue][in] */ SyncModeEnum syncMode);
  519. void __RPC_STUB IReplica_Synchronize_Stub(
  520. IRpcStubBuffer *This,
  521. IRpcChannelBuffer *_pRpcChannelBuffer,
  522. PRPC_MESSAGE _pRpcMessage,
  523. DWORD *_pdwStubPhase);
  524. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_Filters_Proxy(
  525. IReplica * This,
  526. /* [retval][out] */ Filters **ppFilters);
  527. void __RPC_STUB IReplica_get_Filters_Stub(
  528. IRpcStubBuffer *This,
  529. IRpcChannelBuffer *_pRpcChannelBuffer,
  530. PRPC_MESSAGE _pRpcMessage,
  531. DWORD *_pdwStubPhase);
  532. #endif /* __IReplica_INTERFACE_DEFINED__ */
  533. #ifndef __Filter_INTERFACE_DEFINED__
  534. #define __Filter_INTERFACE_DEFINED__
  535. /* interface Filter */
  536. /* [unique][helpstring][dual][uuid][object] */
  537. EXTERN_C const IID IID_Filter;
  538. #if defined(__cplusplus) && !defined(CINTERFACE)
  539. MIDL_INTERFACE("D2D139E1-B6CA-11d1-9F31-00C04FC29D52")
  540. Filter : public IDispatch
  541. {
  542. public:
  543. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_TableName(
  544. /* [retval][out] */ BSTR *pbstr) = 0;
  545. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_FilterType(
  546. /* [retval][out] */ FilterTypeEnum *ptype) = 0;
  547. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_FilterCriteria(
  548. /* [retval][out] */ BSTR *pbstr) = 0;
  549. };
  550. #else /* C style interface */
  551. typedef struct FilterVtbl
  552. {
  553. BEGIN_INTERFACE
  554. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  555. Filter * This,
  556. /* [in] */ REFIID riid,
  557. /* [iid_is][out] */ void **ppvObject);
  558. ULONG ( STDMETHODCALLTYPE *AddRef )(
  559. Filter * This);
  560. ULONG ( STDMETHODCALLTYPE *Release )(
  561. Filter * This);
  562. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  563. Filter * This,
  564. /* [out] */ UINT *pctinfo);
  565. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  566. Filter * This,
  567. /* [in] */ UINT iTInfo,
  568. /* [in] */ LCID lcid,
  569. /* [out] */ ITypeInfo **ppTInfo);
  570. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  571. Filter * This,
  572. /* [in] */ REFIID riid,
  573. /* [size_is][in] */ LPOLESTR *rgszNames,
  574. /* [in] */ UINT cNames,
  575. /* [in] */ LCID lcid,
  576. /* [size_is][out] */ DISPID *rgDispId);
  577. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  578. Filter * This,
  579. /* [in] */ DISPID dispIdMember,
  580. /* [in] */ REFIID riid,
  581. /* [in] */ LCID lcid,
  582. /* [in] */ WORD wFlags,
  583. /* [out][in] */ DISPPARAMS *pDispParams,
  584. /* [out] */ VARIANT *pVarResult,
  585. /* [out] */ EXCEPINFO *pExcepInfo,
  586. /* [out] */ UINT *puArgErr);
  587. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TableName )(
  588. Filter * This,
  589. /* [retval][out] */ BSTR *pbstr);
  590. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FilterType )(
  591. Filter * This,
  592. /* [retval][out] */ FilterTypeEnum *ptype);
  593. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FilterCriteria )(
  594. Filter * This,
  595. /* [retval][out] */ BSTR *pbstr);
  596. END_INTERFACE
  597. } FilterVtbl;
  598. interface Filter
  599. {
  600. CONST_VTBL struct FilterVtbl *lpVtbl;
  601. };
  602. #ifdef COBJMACROS
  603. #define Filter_QueryInterface(This,riid,ppvObject) \
  604. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  605. #define Filter_AddRef(This) \
  606. (This)->lpVtbl -> AddRef(This)
  607. #define Filter_Release(This) \
  608. (This)->lpVtbl -> Release(This)
  609. #define Filter_GetTypeInfoCount(This,pctinfo) \
  610. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  611. #define Filter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  612. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  613. #define Filter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  614. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  615. #define Filter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  616. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  617. #define Filter_get_TableName(This,pbstr) \
  618. (This)->lpVtbl -> get_TableName(This,pbstr)
  619. #define Filter_get_FilterType(This,ptype) \
  620. (This)->lpVtbl -> get_FilterType(This,ptype)
  621. #define Filter_get_FilterCriteria(This,pbstr) \
  622. (This)->lpVtbl -> get_FilterCriteria(This,pbstr)
  623. #endif /* COBJMACROS */
  624. #endif /* C style interface */
  625. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filter_get_TableName_Proxy(
  626. Filter * This,
  627. /* [retval][out] */ BSTR *pbstr);
  628. void __RPC_STUB Filter_get_TableName_Stub(
  629. IRpcStubBuffer *This,
  630. IRpcChannelBuffer *_pRpcChannelBuffer,
  631. PRPC_MESSAGE _pRpcMessage,
  632. DWORD *_pdwStubPhase);
  633. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filter_get_FilterType_Proxy(
  634. Filter * This,
  635. /* [retval][out] */ FilterTypeEnum *ptype);
  636. void __RPC_STUB Filter_get_FilterType_Stub(
  637. IRpcStubBuffer *This,
  638. IRpcChannelBuffer *_pRpcChannelBuffer,
  639. PRPC_MESSAGE _pRpcMessage,
  640. DWORD *_pdwStubPhase);
  641. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filter_get_FilterCriteria_Proxy(
  642. Filter * This,
  643. /* [retval][out] */ BSTR *pbstr);
  644. void __RPC_STUB Filter_get_FilterCriteria_Stub(
  645. IRpcStubBuffer *This,
  646. IRpcChannelBuffer *_pRpcChannelBuffer,
  647. PRPC_MESSAGE _pRpcMessage,
  648. DWORD *_pdwStubPhase);
  649. #endif /* __Filter_INTERFACE_DEFINED__ */
  650. #ifndef __Filters_INTERFACE_DEFINED__
  651. #define __Filters_INTERFACE_DEFINED__
  652. /* interface Filters */
  653. /* [unique][helpstring][dual][uuid][object] */
  654. EXTERN_C const IID IID_Filters;
  655. #if defined(__cplusplus) && !defined(CINTERFACE)
  656. MIDL_INTERFACE("D2D139E2-B6CA-11d1-9F31-00C04FC29D52")
  657. Filters : public IDispatch
  658. {
  659. public:
  660. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  661. virtual /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _NewEnum(
  662. /* [retval][out] */ IUnknown **ppvObject) = 0;
  663. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  664. /* [retval][out] */ long *c) = 0;
  665. virtual /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  666. /* [in] */ VARIANT Index,
  667. /* [retval][out] */ Filter **ppvObject) = 0;
  668. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Append(
  669. /* [in] */ BSTR tableName,
  670. /* [in] */ FilterTypeEnum filterType,
  671. /* [in] */ BSTR filterCriteria) = 0;
  672. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Delete(
  673. /* [in] */ VARIANT Index) = 0;
  674. };
  675. #else /* C style interface */
  676. typedef struct FiltersVtbl
  677. {
  678. BEGIN_INTERFACE
  679. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  680. Filters * This,
  681. /* [in] */ REFIID riid,
  682. /* [iid_is][out] */ void **ppvObject);
  683. ULONG ( STDMETHODCALLTYPE *AddRef )(
  684. Filters * This);
  685. ULONG ( STDMETHODCALLTYPE *Release )(
  686. Filters * This);
  687. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  688. Filters * This,
  689. /* [out] */ UINT *pctinfo);
  690. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  691. Filters * This,
  692. /* [in] */ UINT iTInfo,
  693. /* [in] */ LCID lcid,
  694. /* [out] */ ITypeInfo **ppTInfo);
  695. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  696. Filters * This,
  697. /* [in] */ REFIID riid,
  698. /* [size_is][in] */ LPOLESTR *rgszNames,
  699. /* [in] */ UINT cNames,
  700. /* [in] */ LCID lcid,
  701. /* [size_is][out] */ DISPID *rgDispId);
  702. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  703. Filters * This,
  704. /* [in] */ DISPID dispIdMember,
  705. /* [in] */ REFIID riid,
  706. /* [in] */ LCID lcid,
  707. /* [in] */ WORD wFlags,
  708. /* [out][in] */ DISPPARAMS *pDispParams,
  709. /* [out] */ VARIANT *pVarResult,
  710. /* [out] */ EXCEPINFO *pExcepInfo,
  711. /* [out] */ UINT *puArgErr);
  712. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  713. Filters * This);
  714. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
  715. Filters * This,
  716. /* [retval][out] */ IUnknown **ppvObject);
  717. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  718. Filters * This,
  719. /* [retval][out] */ long *c);
  720. /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  721. Filters * This,
  722. /* [in] */ VARIANT Index,
  723. /* [retval][out] */ Filter **ppvObject);
  724. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Append )(
  725. Filters * This,
  726. /* [in] */ BSTR tableName,
  727. /* [in] */ FilterTypeEnum filterType,
  728. /* [in] */ BSTR filterCriteria);
  729. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  730. Filters * This,
  731. /* [in] */ VARIANT Index);
  732. END_INTERFACE
  733. } FiltersVtbl;
  734. interface Filters
  735. {
  736. CONST_VTBL struct FiltersVtbl *lpVtbl;
  737. };
  738. #ifdef COBJMACROS
  739. #define Filters_QueryInterface(This,riid,ppvObject) \
  740. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  741. #define Filters_AddRef(This) \
  742. (This)->lpVtbl -> AddRef(This)
  743. #define Filters_Release(This) \
  744. (This)->lpVtbl -> Release(This)
  745. #define Filters_GetTypeInfoCount(This,pctinfo) \
  746. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  747. #define Filters_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  748. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  749. #define Filters_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  750. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  751. #define Filters_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  752. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  753. #define Filters_Refresh(This) \
  754. (This)->lpVtbl -> Refresh(This)
  755. #define Filters__NewEnum(This,ppvObject) \
  756. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  757. #define Filters_get_Count(This,c) \
  758. (This)->lpVtbl -> get_Count(This,c)
  759. #define Filters_get_Item(This,Index,ppvObject) \
  760. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  761. #define Filters_Append(This,tableName,filterType,filterCriteria) \
  762. (This)->lpVtbl -> Append(This,tableName,filterType,filterCriteria)
  763. #define Filters_Delete(This,Index) \
  764. (This)->lpVtbl -> Delete(This,Index)
  765. #endif /* COBJMACROS */
  766. #endif /* C style interface */
  767. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Filters_Refresh_Proxy(
  768. Filters * This);
  769. void __RPC_STUB Filters_Refresh_Stub(
  770. IRpcStubBuffer *This,
  771. IRpcChannelBuffer *_pRpcChannelBuffer,
  772. PRPC_MESSAGE _pRpcMessage,
  773. DWORD *_pdwStubPhase);
  774. /* [id][restricted] */ HRESULT STDMETHODCALLTYPE Filters__NewEnum_Proxy(
  775. Filters * This,
  776. /* [retval][out] */ IUnknown **ppvObject);
  777. void __RPC_STUB Filters__NewEnum_Stub(
  778. IRpcStubBuffer *This,
  779. IRpcChannelBuffer *_pRpcChannelBuffer,
  780. PRPC_MESSAGE _pRpcMessage,
  781. DWORD *_pdwStubPhase);
  782. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filters_get_Count_Proxy(
  783. Filters * This,
  784. /* [retval][out] */ long *c);
  785. void __RPC_STUB Filters_get_Count_Stub(
  786. IRpcStubBuffer *This,
  787. IRpcChannelBuffer *_pRpcChannelBuffer,
  788. PRPC_MESSAGE _pRpcMessage,
  789. DWORD *_pdwStubPhase);
  790. /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filters_get_Item_Proxy(
  791. Filters * This,
  792. /* [in] */ VARIANT Index,
  793. /* [retval][out] */ Filter **ppvObject);
  794. void __RPC_STUB Filters_get_Item_Stub(
  795. IRpcStubBuffer *This,
  796. IRpcChannelBuffer *_pRpcChannelBuffer,
  797. PRPC_MESSAGE _pRpcMessage,
  798. DWORD *_pdwStubPhase);
  799. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Filters_Append_Proxy(
  800. Filters * This,
  801. /* [in] */ BSTR tableName,
  802. /* [in] */ FilterTypeEnum filterType,
  803. /* [in] */ BSTR filterCriteria);
  804. void __RPC_STUB Filters_Append_Stub(
  805. IRpcStubBuffer *This,
  806. IRpcChannelBuffer *_pRpcChannelBuffer,
  807. PRPC_MESSAGE _pRpcMessage,
  808. DWORD *_pdwStubPhase);
  809. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Filters_Delete_Proxy(
  810. Filters * This,
  811. /* [in] */ VARIANT Index);
  812. void __RPC_STUB Filters_Delete_Stub(
  813. IRpcStubBuffer *This,
  814. IRpcChannelBuffer *_pRpcChannelBuffer,
  815. PRPC_MESSAGE _pRpcMessage,
  816. DWORD *_pdwStubPhase);
  817. #endif /* __Filters_INTERFACE_DEFINED__ */
  818. #ifndef __IJetEngine_INTERFACE_DEFINED__
  819. #define __IJetEngine_INTERFACE_DEFINED__
  820. /* interface IJetEngine */
  821. /* [unique][helpstring][dual][uuid][object] */
  822. EXTERN_C const IID IID_IJetEngine;
  823. #if defined(__cplusplus) && !defined(CINTERFACE)
  824. MIDL_INTERFACE("9F63D980-FF25-11D1-BB6F-00C04FAE22DA")
  825. IJetEngine : public IDispatch
  826. {
  827. public:
  828. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE CompactDatabase(
  829. /* [in] */ BSTR SourceConnection,
  830. /* [in] */ BSTR Destconnection) = 0;
  831. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE RefreshCache(
  832. /* [in] */ /* external definition not present */ _Connection *Connection) = 0;
  833. };
  834. #else /* C style interface */
  835. typedef struct IJetEngineVtbl
  836. {
  837. BEGIN_INTERFACE
  838. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  839. IJetEngine * This,
  840. /* [in] */ REFIID riid,
  841. /* [iid_is][out] */ void **ppvObject);
  842. ULONG ( STDMETHODCALLTYPE *AddRef )(
  843. IJetEngine * This);
  844. ULONG ( STDMETHODCALLTYPE *Release )(
  845. IJetEngine * This);
  846. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  847. IJetEngine * This,
  848. /* [out] */ UINT *pctinfo);
  849. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  850. IJetEngine * This,
  851. /* [in] */ UINT iTInfo,
  852. /* [in] */ LCID lcid,
  853. /* [out] */ ITypeInfo **ppTInfo);
  854. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  855. IJetEngine * This,
  856. /* [in] */ REFIID riid,
  857. /* [size_is][in] */ LPOLESTR *rgszNames,
  858. /* [in] */ UINT cNames,
  859. /* [in] */ LCID lcid,
  860. /* [size_is][out] */ DISPID *rgDispId);
  861. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  862. IJetEngine * This,
  863. /* [in] */ DISPID dispIdMember,
  864. /* [in] */ REFIID riid,
  865. /* [in] */ LCID lcid,
  866. /* [in] */ WORD wFlags,
  867. /* [out][in] */ DISPPARAMS *pDispParams,
  868. /* [out] */ VARIANT *pVarResult,
  869. /* [out] */ EXCEPINFO *pExcepInfo,
  870. /* [out] */ UINT *puArgErr);
  871. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *CompactDatabase )(
  872. IJetEngine * This,
  873. /* [in] */ BSTR SourceConnection,
  874. /* [in] */ BSTR Destconnection);
  875. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *RefreshCache )(
  876. IJetEngine * This,
  877. /* [in] */ /* external definition not present */ _Connection *Connection);
  878. END_INTERFACE
  879. } IJetEngineVtbl;
  880. interface IJetEngine
  881. {
  882. CONST_VTBL struct IJetEngineVtbl *lpVtbl;
  883. };
  884. #ifdef COBJMACROS
  885. #define IJetEngine_QueryInterface(This,riid,ppvObject) \
  886. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  887. #define IJetEngine_AddRef(This) \
  888. (This)->lpVtbl -> AddRef(This)
  889. #define IJetEngine_Release(This) \
  890. (This)->lpVtbl -> Release(This)
  891. #define IJetEngine_GetTypeInfoCount(This,pctinfo) \
  892. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  893. #define IJetEngine_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  894. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  895. #define IJetEngine_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  896. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  897. #define IJetEngine_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  898. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  899. #define IJetEngine_CompactDatabase(This,SourceConnection,Destconnection) \
  900. (This)->lpVtbl -> CompactDatabase(This,SourceConnection,Destconnection)
  901. #define IJetEngine_RefreshCache(This,Connection) \
  902. (This)->lpVtbl -> RefreshCache(This,Connection)
  903. #endif /* COBJMACROS */
  904. #endif /* C style interface */
  905. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IJetEngine_CompactDatabase_Proxy(
  906. IJetEngine * This,
  907. /* [in] */ BSTR SourceConnection,
  908. /* [in] */ BSTR Destconnection);
  909. void __RPC_STUB IJetEngine_CompactDatabase_Stub(
  910. IRpcStubBuffer *This,
  911. IRpcChannelBuffer *_pRpcChannelBuffer,
  912. PRPC_MESSAGE _pRpcMessage,
  913. DWORD *_pdwStubPhase);
  914. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IJetEngine_RefreshCache_Proxy(
  915. IJetEngine * This,
  916. /* [in] */ /* external definition not present */ _Connection *Connection);
  917. void __RPC_STUB IJetEngine_RefreshCache_Stub(
  918. IRpcStubBuffer *This,
  919. IRpcChannelBuffer *_pRpcChannelBuffer,
  920. PRPC_MESSAGE _pRpcMessage,
  921. DWORD *_pdwStubPhase);
  922. #endif /* __IJetEngine_INTERFACE_DEFINED__ */
  923. EXTERN_C const CLSID CLSID_Replica;
  924. #ifdef __cplusplus
  925. class DECLSPEC_UUID("D2D139E3-B6CA-11d1-9F31-00C04FC29D52")
  926. Replica;
  927. #endif
  928. EXTERN_C const CLSID CLSID_JetEngine;
  929. #ifdef __cplusplus
  930. class DECLSPEC_UUID("DE88C160-FF2C-11D1-BB6F-00C04FAE22DA")
  931. JetEngine;
  932. #endif
  933. #endif /* __JRO_LIBRARY_DEFINED__ */
  934. /* Additional Prototypes for ALL interfaces */
  935. /* end of Additional Prototypes */
  936. #ifdef __cplusplus
  937. }
  938. #endif
  939. #endif