home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / adojet.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  45.5 KB  |  1,373 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2.  
  3. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  4.  
  5. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  6.  
  7.  
  8.  /* File created by MIDL compiler version 5.03.0266 */
  9. /* at Mon May 24 01:27:22 1999
  10.  */
  11. /* Compiler settings for adojet.idl:
  12.     Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  13.     error checks: allocation ref bounds_check enum stub_data 
  14.     VC __declspec() decoration level: 
  15.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  16.          DECLSPEC_UUID(), MIDL_INTERFACE()
  17. */
  18. //@@MIDL_FILE_HEADING(  )
  19.  
  20.  
  21. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  22. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  23. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  24. #endif
  25.  
  26. #include "rpc.h"
  27. #include "rpcndr.h"
  28.  
  29. #ifndef __adojet_h__
  30. #define __adojet_h__
  31.  
  32. /* Forward Declarations */ 
  33.  
  34. #ifndef __IReplica_FWD_DEFINED__
  35. #define __IReplica_FWD_DEFINED__
  36. typedef interface IReplica IReplica;
  37. #endif     /* __IReplica_FWD_DEFINED__ */
  38.  
  39.  
  40. #ifndef __Filter_FWD_DEFINED__
  41. #define __Filter_FWD_DEFINED__
  42. typedef interface Filter Filter;
  43. #endif     /* __Filter_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __Filters_FWD_DEFINED__
  47. #define __Filters_FWD_DEFINED__
  48. typedef interface Filters Filters;
  49. #endif     /* __Filters_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __IJetEngine_FWD_DEFINED__
  53. #define __IJetEngine_FWD_DEFINED__
  54. typedef interface IJetEngine IJetEngine;
  55. #endif     /* __IJetEngine_FWD_DEFINED__ */
  56.  
  57.  
  58. #ifndef __Replica_FWD_DEFINED__
  59. #define __Replica_FWD_DEFINED__
  60.  
  61. #ifdef __cplusplus
  62. typedef class Replica Replica;
  63. #else
  64. typedef struct Replica Replica;
  65. #endif /* __cplusplus */
  66.  
  67. #endif     /* __Replica_FWD_DEFINED__ */
  68.  
  69.  
  70. #ifndef __JetEngine_FWD_DEFINED__
  71. #define __JetEngine_FWD_DEFINED__
  72.  
  73. #ifdef __cplusplus
  74. typedef class JetEngine JetEngine;
  75. #else
  76. typedef struct JetEngine JetEngine;
  77. #endif /* __cplusplus */
  78.  
  79. #endif     /* __JetEngine_FWD_DEFINED__ */
  80.  
  81.  
  82. #ifdef __cplusplus
  83. extern "C"{
  84. #endif 
  85.  
  86. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  87. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  88.  
  89. /* interface __MIDL_itf_adojet_0000 */
  90. /* [local] */ 
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98. #define TARGET_IS_NT40_OR_LATER   1
  99.  
  100.  
  101. extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_v0_0_c_ifspec;
  102. extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_v0_0_s_ifspec;
  103.  
  104.  
  105. #ifndef __JRO_LIBRARY_DEFINED__
  106. #define __JRO_LIBRARY_DEFINED__
  107.  
  108. /* library JRO */
  109. /* [helpstring][helpfile][version][uuid] */ 
  110.  
  111. typedef /* [uuid] */  DECLSPEC_UUID("D2D139DF-B6CA-11d1-9F31-00C04FC29D52") 
  112. enum ReplicaTypeEnum
  113.     {    jrRepTypeNotReplicable    = 0,
  114.     jrRepTypeDesignMaster    = 0x1,
  115.     jrRepTypeFull    = 0x2,
  116.     jrRepTypePartial    = 0x3
  117.     }    ReplicaTypeEnum;
  118.  
  119. typedef /* [uuid] */  DECLSPEC_UUID("6877D21A-B6CE-11d1-9F31-00C04FC29D52") 
  120. enum VisibilityEnum
  121.     {    jrRepVisibilityGlobal    = 0x1,
  122.     jrRepVisibilityLocal    = 0x2,
  123.     jrRepVisibilityAnon    = 0x4
  124.     }    VisibilityEnum;
  125.  
  126. typedef /* [uuid] */  DECLSPEC_UUID("B42FBFF6-B6CF-11d1-9F31-00C04FC29D52") 
  127. enum UpdatabilityEnum
  128.     {    jrRepUpdFull    = 0,
  129.     jrRepUpdReadOnly    = 0x2
  130.     }    UpdatabilityEnum;
  131.  
  132. typedef /* [uuid] */  DECLSPEC_UUID("60C05416-B6D0-11d1-9F31-00C04FC29D52") 
  133. enum SyncTypeEnum
  134.     {    jrSyncTypeExport    = 0x1,
  135.     jrSyncTypeImport    = 0x2,
  136.     jrSyncTypeImpExp    = 0x3
  137.     }    SyncTypeEnum;
  138.  
  139. typedef /* [uuid] */  DECLSPEC_UUID("5EBA3970-061E-11d2-BB77-00C04FAE22DA") 
  140. enum SyncModeEnum
  141.     {    jrSyncModeIndirect    = 0x1,
  142.     jrSyncModeDirect    = 0x2,
  143.     jrSyncModeInternet    = 0x3
  144.     }    SyncModeEnum;
  145.  
  146. typedef /* [uuid] */  DECLSPEC_UUID("72769F94-BF78-11d1-AC4D-00C04FC29F8F") 
  147. enum FilterTypeEnum
  148.     {    jrFilterTypeTable    = 0x1,
  149.     jrFilterTypeRelationship    = 0x2
  150.     }    FilterTypeEnum;
  151.  
  152.  
  153. EXTERN_C const IID LIBID_JRO;
  154.  
  155. #ifndef __IReplica_INTERFACE_DEFINED__
  156. #define __IReplica_INTERFACE_DEFINED__
  157.  
  158. /* interface IReplica */
  159. /* [unique][helpstring][dual][uuid][object] */ 
  160.  
  161.  
  162. EXTERN_C const IID IID_IReplica;
  163.  
  164. #if defined(__cplusplus) && !defined(CINTERFACE)
  165.     
  166.     MIDL_INTERFACE("D2D139E0-B6CA-11d1-9F31-00C04FC29D52")
  167.     IReplica : public IDispatch
  168.     {
  169.     public:
  170.         virtual /* [helpcontext][propputref] */ HRESULT STDMETHODCALLTYPE putref_ActiveConnection( 
  171.             /* [in] */ IDispatch __RPC_FAR *pconn) = 0;
  172.         
  173.         virtual /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_ActiveConnection( 
  174.             /* [in] */ VARIANT vConn) = 0;
  175.         
  176.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection( 
  177.             /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppconn) = 0;
  178.         
  179.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ConflictFunction( 
  180.             /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  181.         
  182.         virtual /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_ConflictFunction( 
  183.             /* [in] */ BSTR bstr) = 0;
  184.         
  185.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ConflictTables( 
  186.             /* [retval][out] */ /* external definition not present */ _Recordset __RPC_FAR *__RPC_FAR *pprset) = 0;
  187.         
  188.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_DesignMasterId( 
  189.             /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  190.         
  191.         virtual /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_DesignMasterId( 
  192.             /* [in] */ VARIANT var) = 0;
  193.         
  194.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Priority( 
  195.             /* [retval][out] */ long __RPC_FAR *pl) = 0;
  196.         
  197.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ReplicaId( 
  198.             /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  199.         
  200.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_ReplicaType( 
  201.             /* [retval][out] */ ReplicaTypeEnum __RPC_FAR *pl) = 0;
  202.         
  203.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_RetentionPeriod( 
  204.             /* [retval][out] */ long __RPC_FAR *pl) = 0;
  205.         
  206.         virtual /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_RetentionPeriod( 
  207.             /* [in] */ long l) = 0;
  208.         
  209.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Visibility( 
  210.             /* [retval][out] */ VisibilityEnum __RPC_FAR *pl) = 0;
  211.         
  212.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE CreateReplica( 
  213.             /* [in] */ BSTR replicaName,
  214.             /* [in] */ BSTR description,
  215.             /* [defaultvalue][in] */ ReplicaTypeEnum replicaType = jrRepTypeFull,
  216.             /* [defaultvalue][in] */ VisibilityEnum visibility = jrRepVisibilityGlobal,
  217.             /* [defaultvalue][in] */ long priority = -1,
  218.             /* [defaultvalue][in] */ UpdatabilityEnum updatability = jrRepUpdFull) = 0;
  219.         
  220.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE GetObjectReplicability( 
  221.             /* [in] */ BSTR objectName,
  222.             /* [in] */ BSTR objectType,
  223.             /* [retval][out] */ VARIANT_BOOL __RPC_FAR *replicability) = 0;
  224.         
  225.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE SetObjectReplicability( 
  226.             /* [in] */ BSTR objectName,
  227.             /* [in] */ BSTR objectType,
  228.             /* [in] */ VARIANT_BOOL replicability) = 0;
  229.         
  230.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE MakeReplicable( 
  231.             /* [optional][in] */ BSTR connectionString,
  232.             /* [defaultvalue][in] */ VARIANT_BOOL columnTracking = -1) = 0;
  233.         
  234.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE PopulatePartial( 
  235.             /* [in] */ BSTR FullReplica) = 0;
  236.         
  237.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Synchronize( 
  238.             /* [in] */ BSTR target,
  239.             /* [defaultvalue][in] */ SyncTypeEnum syncType = jrSyncTypeImpExp,
  240.             /* [defaultvalue][in] */ SyncModeEnum syncMode = jrSyncModeIndirect) = 0;
  241.         
  242.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Filters( 
  243.             /* [retval][out] */ Filters __RPC_FAR *__RPC_FAR *ppFilters) = 0;
  244.         
  245.     };
  246.     
  247. #else     /* C style interface */
  248.  
  249.     typedef struct IReplicaVtbl
  250.     {
  251.         BEGIN_INTERFACE
  252.         
  253.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  254.             IReplica __RPC_FAR * This,
  255.             /* [in] */ REFIID riid,
  256.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  257.         
  258.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  259.             IReplica __RPC_FAR * This);
  260.         
  261.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  262.             IReplica __RPC_FAR * This);
  263.         
  264.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  265.             IReplica __RPC_FAR * This,
  266.             /* [out] */ UINT __RPC_FAR *pctinfo);
  267.         
  268.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  269.             IReplica __RPC_FAR * This,
  270.             /* [in] */ UINT iTInfo,
  271.             /* [in] */ LCID lcid,
  272.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  273.         
  274.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  275.             IReplica __RPC_FAR * This,
  276.             /* [in] */ REFIID riid,
  277.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  278.             /* [in] */ UINT cNames,
  279.             /* [in] */ LCID lcid,
  280.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  281.         
  282.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  283.             IReplica __RPC_FAR * This,
  284.             /* [in] */ DISPID dispIdMember,
  285.             /* [in] */ REFIID riid,
  286.             /* [in] */ LCID lcid,
  287.             /* [in] */ WORD wFlags,
  288.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  289.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  290.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  291.             /* [out] */ UINT __RPC_FAR *puArgErr);
  292.         
  293.         /* [helpcontext][propputref] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putref_ActiveConnection )( 
  294.             IReplica __RPC_FAR * This,
  295.             /* [in] */ IDispatch __RPC_FAR *pconn);
  296.         
  297.         /* [helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ActiveConnection )( 
  298.             IReplica __RPC_FAR * This,
  299.             /* [in] */ VARIANT vConn);
  300.         
  301.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ActiveConnection )( 
  302.             IReplica __RPC_FAR * This,
  303.             /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppconn);
  304.         
  305.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ConflictFunction )( 
  306.             IReplica __RPC_FAR * This,
  307.             /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  308.         
  309.         /* [helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ConflictFunction )( 
  310.             IReplica __RPC_FAR * This,
  311.             /* [in] */ BSTR bstr);
  312.         
  313.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ConflictTables )( 
  314.             IReplica __RPC_FAR * This,
  315.             /* [retval][out] */ /* external definition not present */ _Recordset __RPC_FAR *__RPC_FAR *pprset);
  316.         
  317.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DesignMasterId )( 
  318.             IReplica __RPC_FAR * This,
  319.             /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  320.         
  321.         /* [helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_DesignMasterId )( 
  322.             IReplica __RPC_FAR * This,
  323.             /* [in] */ VARIANT var);
  324.         
  325.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Priority )( 
  326.             IReplica __RPC_FAR * This,
  327.             /* [retval][out] */ long __RPC_FAR *pl);
  328.         
  329.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ReplicaId )( 
  330.             IReplica __RPC_FAR * This,
  331.             /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  332.         
  333.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ReplicaType )( 
  334.             IReplica __RPC_FAR * This,
  335.             /* [retval][out] */ ReplicaTypeEnum __RPC_FAR *pl);
  336.         
  337.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_RetentionPeriod )( 
  338.             IReplica __RPC_FAR * This,
  339.             /* [retval][out] */ long __RPC_FAR *pl);
  340.         
  341.         /* [helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_RetentionPeriod )( 
  342.             IReplica __RPC_FAR * This,
  343.             /* [in] */ long l);
  344.         
  345.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Visibility )( 
  346.             IReplica __RPC_FAR * This,
  347.             /* [retval][out] */ VisibilityEnum __RPC_FAR *pl);
  348.         
  349.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateReplica )( 
  350.             IReplica __RPC_FAR * This,
  351.             /* [in] */ BSTR replicaName,
  352.             /* [in] */ BSTR description,
  353.             /* [defaultvalue][in] */ ReplicaTypeEnum replicaType,
  354.             /* [defaultvalue][in] */ VisibilityEnum visibility,
  355.             /* [defaultvalue][in] */ long priority,
  356.             /* [defaultvalue][in] */ UpdatabilityEnum updatability);
  357.         
  358.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectReplicability )( 
  359.             IReplica __RPC_FAR * This,
  360.             /* [in] */ BSTR objectName,
  361.             /* [in] */ BSTR objectType,
  362.             /* [retval][out] */ VARIANT_BOOL __RPC_FAR *replicability);
  363.         
  364.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetObjectReplicability )( 
  365.             IReplica __RPC_FAR * This,
  366.             /* [in] */ BSTR objectName,
  367.             /* [in] */ BSTR objectType,
  368.             /* [in] */ VARIANT_BOOL replicability);
  369.         
  370.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MakeReplicable )( 
  371.             IReplica __RPC_FAR * This,
  372.             /* [optional][in] */ BSTR connectionString,
  373.             /* [defaultvalue][in] */ VARIANT_BOOL columnTracking);
  374.         
  375.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PopulatePartial )( 
  376.             IReplica __RPC_FAR * This,
  377.             /* [in] */ BSTR FullReplica);
  378.         
  379.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Synchronize )( 
  380.             IReplica __RPC_FAR * This,
  381.             /* [in] */ BSTR target,
  382.             /* [defaultvalue][in] */ SyncTypeEnum syncType,
  383.             /* [defaultvalue][in] */ SyncModeEnum syncMode);
  384.         
  385.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Filters )( 
  386.             IReplica __RPC_FAR * This,
  387.             /* [retval][out] */ Filters __RPC_FAR *__RPC_FAR *ppFilters);
  388.         
  389.         END_INTERFACE
  390.     } IReplicaVtbl;
  391.  
  392.     interface IReplica
  393.     {
  394.         CONST_VTBL struct IReplicaVtbl __RPC_FAR *lpVtbl;
  395.     };
  396.  
  397.     
  398.  
  399. #ifdef COBJMACROS
  400.  
  401.  
  402. #define IReplica_QueryInterface(This,riid,ppvObject)    \
  403.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  404.  
  405. #define IReplica_AddRef(This)    \
  406.     (This)->lpVtbl -> AddRef(This)
  407.  
  408. #define IReplica_Release(This)    \
  409.     (This)->lpVtbl -> Release(This)
  410.  
  411.  
  412. #define IReplica_GetTypeInfoCount(This,pctinfo)    \
  413.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  414.  
  415. #define IReplica_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  416.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  417.  
  418. #define IReplica_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  419.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  420.  
  421. #define IReplica_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  422.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  423.  
  424.  
  425. #define IReplica_putref_ActiveConnection(This,pconn)    \
  426.     (This)->lpVtbl -> putref_ActiveConnection(This,pconn)
  427.  
  428. #define IReplica_put_ActiveConnection(This,vConn)    \
  429.     (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  430.  
  431. #define IReplica_get_ActiveConnection(This,ppconn)    \
  432.     (This)->lpVtbl -> get_ActiveConnection(This,ppconn)
  433.  
  434. #define IReplica_get_ConflictFunction(This,pbstr)    \
  435.     (This)->lpVtbl -> get_ConflictFunction(This,pbstr)
  436.  
  437. #define IReplica_put_ConflictFunction(This,bstr)    \
  438.     (This)->lpVtbl -> put_ConflictFunction(This,bstr)
  439.  
  440. #define IReplica_get_ConflictTables(This,pprset)    \
  441.     (This)->lpVtbl -> get_ConflictTables(This,pprset)
  442.  
  443. #define IReplica_get_DesignMasterId(This,pvar)    \
  444.     (This)->lpVtbl -> get_DesignMasterId(This,pvar)
  445.  
  446. #define IReplica_put_DesignMasterId(This,var)    \
  447.     (This)->lpVtbl -> put_DesignMasterId(This,var)
  448.  
  449. #define IReplica_get_Priority(This,pl)    \
  450.     (This)->lpVtbl -> get_Priority(This,pl)
  451.  
  452. #define IReplica_get_ReplicaId(This,pvar)    \
  453.     (This)->lpVtbl -> get_ReplicaId(This,pvar)
  454.  
  455. #define IReplica_get_ReplicaType(This,pl)    \
  456.     (This)->lpVtbl -> get_ReplicaType(This,pl)
  457.  
  458. #define IReplica_get_RetentionPeriod(This,pl)    \
  459.     (This)->lpVtbl -> get_RetentionPeriod(This,pl)
  460.  
  461. #define IReplica_put_RetentionPeriod(This,l)    \
  462.     (This)->lpVtbl -> put_RetentionPeriod(This,l)
  463.  
  464. #define IReplica_get_Visibility(This,pl)    \
  465.     (This)->lpVtbl -> get_Visibility(This,pl)
  466.  
  467. #define IReplica_CreateReplica(This,replicaName,description,replicaType,visibility,priority,updatability)    \
  468.     (This)->lpVtbl -> CreateReplica(This,replicaName,description,replicaType,visibility,priority,updatability)
  469.  
  470. #define IReplica_GetObjectReplicability(This,objectName,objectType,replicability)    \
  471.     (This)->lpVtbl -> GetObjectReplicability(This,objectName,objectType,replicability)
  472.  
  473. #define IReplica_SetObjectReplicability(This,objectName,objectType,replicability)    \
  474.     (This)->lpVtbl -> SetObjectReplicability(This,objectName,objectType,replicability)
  475.  
  476. #define IReplica_MakeReplicable(This,connectionString,columnTracking)    \
  477.     (This)->lpVtbl -> MakeReplicable(This,connectionString,columnTracking)
  478.  
  479. #define IReplica_PopulatePartial(This,FullReplica)    \
  480.     (This)->lpVtbl -> PopulatePartial(This,FullReplica)
  481.  
  482. #define IReplica_Synchronize(This,target,syncType,syncMode)    \
  483.     (This)->lpVtbl -> Synchronize(This,target,syncType,syncMode)
  484.  
  485. #define IReplica_get_Filters(This,ppFilters)    \
  486.     (This)->lpVtbl -> get_Filters(This,ppFilters)
  487.  
  488. #endif /* COBJMACROS */
  489.  
  490.  
  491. #endif     /* C style interface */
  492.  
  493.  
  494.  
  495. /* [helpcontext][propputref] */ HRESULT STDMETHODCALLTYPE IReplica_putref_ActiveConnection_Proxy( 
  496.     IReplica __RPC_FAR * This,
  497.     /* [in] */ IDispatch __RPC_FAR *pconn);
  498.  
  499.  
  500. void __RPC_STUB IReplica_putref_ActiveConnection_Stub(
  501.     IRpcStubBuffer *This,
  502.     IRpcChannelBuffer *_pRpcChannelBuffer,
  503.     PRPC_MESSAGE _pRpcMessage,
  504.     DWORD *_pdwStubPhase);
  505.  
  506.  
  507. /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE IReplica_put_ActiveConnection_Proxy( 
  508.     IReplica __RPC_FAR * This,
  509.     /* [in] */ VARIANT vConn);
  510.  
  511.  
  512. void __RPC_STUB IReplica_put_ActiveConnection_Stub(
  513.     IRpcStubBuffer *This,
  514.     IRpcChannelBuffer *_pRpcChannelBuffer,
  515.     PRPC_MESSAGE _pRpcMessage,
  516.     DWORD *_pdwStubPhase);
  517.  
  518.  
  519. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ActiveConnection_Proxy( 
  520.     IReplica __RPC_FAR * This,
  521.     /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppconn);
  522.  
  523.  
  524. void __RPC_STUB IReplica_get_ActiveConnection_Stub(
  525.     IRpcStubBuffer *This,
  526.     IRpcChannelBuffer *_pRpcChannelBuffer,
  527.     PRPC_MESSAGE _pRpcMessage,
  528.     DWORD *_pdwStubPhase);
  529.  
  530.  
  531. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ConflictFunction_Proxy( 
  532.     IReplica __RPC_FAR * This,
  533.     /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  534.  
  535.  
  536. void __RPC_STUB IReplica_get_ConflictFunction_Stub(
  537.     IRpcStubBuffer *This,
  538.     IRpcChannelBuffer *_pRpcChannelBuffer,
  539.     PRPC_MESSAGE _pRpcMessage,
  540.     DWORD *_pdwStubPhase);
  541.  
  542.  
  543. /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE IReplica_put_ConflictFunction_Proxy( 
  544.     IReplica __RPC_FAR * This,
  545.     /* [in] */ BSTR bstr);
  546.  
  547.  
  548. void __RPC_STUB IReplica_put_ConflictFunction_Stub(
  549.     IRpcStubBuffer *This,
  550.     IRpcChannelBuffer *_pRpcChannelBuffer,
  551.     PRPC_MESSAGE _pRpcMessage,
  552.     DWORD *_pdwStubPhase);
  553.  
  554.  
  555. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ConflictTables_Proxy( 
  556.     IReplica __RPC_FAR * This,
  557.     /* [retval][out] */ /* external definition not present */ _Recordset __RPC_FAR *__RPC_FAR *pprset);
  558.  
  559.  
  560. void __RPC_STUB IReplica_get_ConflictTables_Stub(
  561.     IRpcStubBuffer *This,
  562.     IRpcChannelBuffer *_pRpcChannelBuffer,
  563.     PRPC_MESSAGE _pRpcMessage,
  564.     DWORD *_pdwStubPhase);
  565.  
  566.  
  567. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_DesignMasterId_Proxy( 
  568.     IReplica __RPC_FAR * This,
  569.     /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  570.  
  571.  
  572. void __RPC_STUB IReplica_get_DesignMasterId_Stub(
  573.     IRpcStubBuffer *This,
  574.     IRpcChannelBuffer *_pRpcChannelBuffer,
  575.     PRPC_MESSAGE _pRpcMessage,
  576.     DWORD *_pdwStubPhase);
  577.  
  578.  
  579. /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE IReplica_put_DesignMasterId_Proxy( 
  580.     IReplica __RPC_FAR * This,
  581.     /* [in] */ VARIANT var);
  582.  
  583.  
  584. void __RPC_STUB IReplica_put_DesignMasterId_Stub(
  585.     IRpcStubBuffer *This,
  586.     IRpcChannelBuffer *_pRpcChannelBuffer,
  587.     PRPC_MESSAGE _pRpcMessage,
  588.     DWORD *_pdwStubPhase);
  589.  
  590.  
  591. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_Priority_Proxy( 
  592.     IReplica __RPC_FAR * This,
  593.     /* [retval][out] */ long __RPC_FAR *pl);
  594.  
  595.  
  596. void __RPC_STUB IReplica_get_Priority_Stub(
  597.     IRpcStubBuffer *This,
  598.     IRpcChannelBuffer *_pRpcChannelBuffer,
  599.     PRPC_MESSAGE _pRpcMessage,
  600.     DWORD *_pdwStubPhase);
  601.  
  602.  
  603. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ReplicaId_Proxy( 
  604.     IReplica __RPC_FAR * This,
  605.     /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  606.  
  607.  
  608. void __RPC_STUB IReplica_get_ReplicaId_Stub(
  609.     IRpcStubBuffer *This,
  610.     IRpcChannelBuffer *_pRpcChannelBuffer,
  611.     PRPC_MESSAGE _pRpcMessage,
  612.     DWORD *_pdwStubPhase);
  613.  
  614.  
  615. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_ReplicaType_Proxy( 
  616.     IReplica __RPC_FAR * This,
  617.     /* [retval][out] */ ReplicaTypeEnum __RPC_FAR *pl);
  618.  
  619.  
  620. void __RPC_STUB IReplica_get_ReplicaType_Stub(
  621.     IRpcStubBuffer *This,
  622.     IRpcChannelBuffer *_pRpcChannelBuffer,
  623.     PRPC_MESSAGE _pRpcMessage,
  624.     DWORD *_pdwStubPhase);
  625.  
  626.  
  627. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_RetentionPeriod_Proxy( 
  628.     IReplica __RPC_FAR * This,
  629.     /* [retval][out] */ long __RPC_FAR *pl);
  630.  
  631.  
  632. void __RPC_STUB IReplica_get_RetentionPeriod_Stub(
  633.     IRpcStubBuffer *This,
  634.     IRpcChannelBuffer *_pRpcChannelBuffer,
  635.     PRPC_MESSAGE _pRpcMessage,
  636.     DWORD *_pdwStubPhase);
  637.  
  638.  
  639. /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE IReplica_put_RetentionPeriod_Proxy( 
  640.     IReplica __RPC_FAR * This,
  641.     /* [in] */ long l);
  642.  
  643.  
  644. void __RPC_STUB IReplica_put_RetentionPeriod_Stub(
  645.     IRpcStubBuffer *This,
  646.     IRpcChannelBuffer *_pRpcChannelBuffer,
  647.     PRPC_MESSAGE _pRpcMessage,
  648.     DWORD *_pdwStubPhase);
  649.  
  650.  
  651. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_Visibility_Proxy( 
  652.     IReplica __RPC_FAR * This,
  653.     /* [retval][out] */ VisibilityEnum __RPC_FAR *pl);
  654.  
  655.  
  656. void __RPC_STUB IReplica_get_Visibility_Stub(
  657.     IRpcStubBuffer *This,
  658.     IRpcChannelBuffer *_pRpcChannelBuffer,
  659.     PRPC_MESSAGE _pRpcMessage,
  660.     DWORD *_pdwStubPhase);
  661.  
  662.  
  663. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_CreateReplica_Proxy( 
  664.     IReplica __RPC_FAR * This,
  665.     /* [in] */ BSTR replicaName,
  666.     /* [in] */ BSTR description,
  667.     /* [defaultvalue][in] */ ReplicaTypeEnum replicaType,
  668.     /* [defaultvalue][in] */ VisibilityEnum visibility,
  669.     /* [defaultvalue][in] */ long priority,
  670.     /* [defaultvalue][in] */ UpdatabilityEnum updatability);
  671.  
  672.  
  673. void __RPC_STUB IReplica_CreateReplica_Stub(
  674.     IRpcStubBuffer *This,
  675.     IRpcChannelBuffer *_pRpcChannelBuffer,
  676.     PRPC_MESSAGE _pRpcMessage,
  677.     DWORD *_pdwStubPhase);
  678.  
  679.  
  680. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_GetObjectReplicability_Proxy( 
  681.     IReplica __RPC_FAR * This,
  682.     /* [in] */ BSTR objectName,
  683.     /* [in] */ BSTR objectType,
  684.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *replicability);
  685.  
  686.  
  687. void __RPC_STUB IReplica_GetObjectReplicability_Stub(
  688.     IRpcStubBuffer *This,
  689.     IRpcChannelBuffer *_pRpcChannelBuffer,
  690.     PRPC_MESSAGE _pRpcMessage,
  691.     DWORD *_pdwStubPhase);
  692.  
  693.  
  694. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_SetObjectReplicability_Proxy( 
  695.     IReplica __RPC_FAR * This,
  696.     /* [in] */ BSTR objectName,
  697.     /* [in] */ BSTR objectType,
  698.     /* [in] */ VARIANT_BOOL replicability);
  699.  
  700.  
  701. void __RPC_STUB IReplica_SetObjectReplicability_Stub(
  702.     IRpcStubBuffer *This,
  703.     IRpcChannelBuffer *_pRpcChannelBuffer,
  704.     PRPC_MESSAGE _pRpcMessage,
  705.     DWORD *_pdwStubPhase);
  706.  
  707.  
  708. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_MakeReplicable_Proxy( 
  709.     IReplica __RPC_FAR * This,
  710.     /* [optional][in] */ BSTR connectionString,
  711.     /* [defaultvalue][in] */ VARIANT_BOOL columnTracking);
  712.  
  713.  
  714. void __RPC_STUB IReplica_MakeReplicable_Stub(
  715.     IRpcStubBuffer *This,
  716.     IRpcChannelBuffer *_pRpcChannelBuffer,
  717.     PRPC_MESSAGE _pRpcMessage,
  718.     DWORD *_pdwStubPhase);
  719.  
  720.  
  721. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_PopulatePartial_Proxy( 
  722.     IReplica __RPC_FAR * This,
  723.     /* [in] */ BSTR FullReplica);
  724.  
  725.  
  726. void __RPC_STUB IReplica_PopulatePartial_Stub(
  727.     IRpcStubBuffer *This,
  728.     IRpcChannelBuffer *_pRpcChannelBuffer,
  729.     PRPC_MESSAGE _pRpcMessage,
  730.     DWORD *_pdwStubPhase);
  731.  
  732.  
  733. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IReplica_Synchronize_Proxy( 
  734.     IReplica __RPC_FAR * This,
  735.     /* [in] */ BSTR target,
  736.     /* [defaultvalue][in] */ SyncTypeEnum syncType,
  737.     /* [defaultvalue][in] */ SyncModeEnum syncMode);
  738.  
  739.  
  740. void __RPC_STUB IReplica_Synchronize_Stub(
  741.     IRpcStubBuffer *This,
  742.     IRpcChannelBuffer *_pRpcChannelBuffer,
  743.     PRPC_MESSAGE _pRpcMessage,
  744.     DWORD *_pdwStubPhase);
  745.  
  746.  
  747. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE IReplica_get_Filters_Proxy( 
  748.     IReplica __RPC_FAR * This,
  749.     /* [retval][out] */ Filters __RPC_FAR *__RPC_FAR *ppFilters);
  750.  
  751.  
  752. void __RPC_STUB IReplica_get_Filters_Stub(
  753.     IRpcStubBuffer *This,
  754.     IRpcChannelBuffer *_pRpcChannelBuffer,
  755.     PRPC_MESSAGE _pRpcMessage,
  756.     DWORD *_pdwStubPhase);
  757.  
  758.  
  759.  
  760. #endif     /* __IReplica_INTERFACE_DEFINED__ */
  761.  
  762.  
  763. #ifndef __Filter_INTERFACE_DEFINED__
  764. #define __Filter_INTERFACE_DEFINED__
  765.  
  766. /* interface Filter */
  767. /* [unique][helpstring][dual][uuid][object] */ 
  768.  
  769.  
  770. EXTERN_C const IID IID_Filter;
  771.  
  772. #if defined(__cplusplus) && !defined(CINTERFACE)
  773.     
  774.     MIDL_INTERFACE("D2D139E1-B6CA-11d1-9F31-00C04FC29D52")
  775.     Filter : public IDispatch
  776.     {
  777.     public:
  778.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_TableName( 
  779.             /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  780.         
  781.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_FilterType( 
  782.             /* [retval][out] */ FilterTypeEnum __RPC_FAR *ptype) = 0;
  783.         
  784.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_FilterCriteria( 
  785.             /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  786.         
  787.     };
  788.     
  789. #else     /* C style interface */
  790.  
  791.     typedef struct FilterVtbl
  792.     {
  793.         BEGIN_INTERFACE
  794.         
  795.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  796.             Filter __RPC_FAR * This,
  797.             /* [in] */ REFIID riid,
  798.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  799.         
  800.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  801.             Filter __RPC_FAR * This);
  802.         
  803.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  804.             Filter __RPC_FAR * This);
  805.         
  806.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  807.             Filter __RPC_FAR * This,
  808.             /* [out] */ UINT __RPC_FAR *pctinfo);
  809.         
  810.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  811.             Filter __RPC_FAR * This,
  812.             /* [in] */ UINT iTInfo,
  813.             /* [in] */ LCID lcid,
  814.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  815.         
  816.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  817.             Filter __RPC_FAR * This,
  818.             /* [in] */ REFIID riid,
  819.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  820.             /* [in] */ UINT cNames,
  821.             /* [in] */ LCID lcid,
  822.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  823.         
  824.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  825.             Filter __RPC_FAR * This,
  826.             /* [in] */ DISPID dispIdMember,
  827.             /* [in] */ REFIID riid,
  828.             /* [in] */ LCID lcid,
  829.             /* [in] */ WORD wFlags,
  830.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  831.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  832.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  833.             /* [out] */ UINT __RPC_FAR *puArgErr);
  834.         
  835.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TableName )( 
  836.             Filter __RPC_FAR * This,
  837.             /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  838.         
  839.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FilterType )( 
  840.             Filter __RPC_FAR * This,
  841.             /* [retval][out] */ FilterTypeEnum __RPC_FAR *ptype);
  842.         
  843.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FilterCriteria )( 
  844.             Filter __RPC_FAR * This,
  845.             /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  846.         
  847.         END_INTERFACE
  848.     } FilterVtbl;
  849.  
  850.     interface Filter
  851.     {
  852.         CONST_VTBL struct FilterVtbl __RPC_FAR *lpVtbl;
  853.     };
  854.  
  855.     
  856.  
  857. #ifdef COBJMACROS
  858.  
  859.  
  860. #define Filter_QueryInterface(This,riid,ppvObject)    \
  861.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  862.  
  863. #define Filter_AddRef(This)    \
  864.     (This)->lpVtbl -> AddRef(This)
  865.  
  866. #define Filter_Release(This)    \
  867.     (This)->lpVtbl -> Release(This)
  868.  
  869.  
  870. #define Filter_GetTypeInfoCount(This,pctinfo)    \
  871.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  872.  
  873. #define Filter_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  874.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  875.  
  876. #define Filter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  877.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  878.  
  879. #define Filter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  880.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  881.  
  882.  
  883. #define Filter_get_TableName(This,pbstr)    \
  884.     (This)->lpVtbl -> get_TableName(This,pbstr)
  885.  
  886. #define Filter_get_FilterType(This,ptype)    \
  887.     (This)->lpVtbl -> get_FilterType(This,ptype)
  888.  
  889. #define Filter_get_FilterCriteria(This,pbstr)    \
  890.     (This)->lpVtbl -> get_FilterCriteria(This,pbstr)
  891.  
  892. #endif /* COBJMACROS */
  893.  
  894.  
  895. #endif     /* C style interface */
  896.  
  897.  
  898.  
  899. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filter_get_TableName_Proxy( 
  900.     Filter __RPC_FAR * This,
  901.     /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  902.  
  903.  
  904. void __RPC_STUB Filter_get_TableName_Stub(
  905.     IRpcStubBuffer *This,
  906.     IRpcChannelBuffer *_pRpcChannelBuffer,
  907.     PRPC_MESSAGE _pRpcMessage,
  908.     DWORD *_pdwStubPhase);
  909.  
  910.  
  911. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filter_get_FilterType_Proxy( 
  912.     Filter __RPC_FAR * This,
  913.     /* [retval][out] */ FilterTypeEnum __RPC_FAR *ptype);
  914.  
  915.  
  916. void __RPC_STUB Filter_get_FilterType_Stub(
  917.     IRpcStubBuffer *This,
  918.     IRpcChannelBuffer *_pRpcChannelBuffer,
  919.     PRPC_MESSAGE _pRpcMessage,
  920.     DWORD *_pdwStubPhase);
  921.  
  922.  
  923. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filter_get_FilterCriteria_Proxy( 
  924.     Filter __RPC_FAR * This,
  925.     /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  926.  
  927.  
  928. void __RPC_STUB Filter_get_FilterCriteria_Stub(
  929.     IRpcStubBuffer *This,
  930.     IRpcChannelBuffer *_pRpcChannelBuffer,
  931.     PRPC_MESSAGE _pRpcMessage,
  932.     DWORD *_pdwStubPhase);
  933.  
  934.  
  935.  
  936. #endif     /* __Filter_INTERFACE_DEFINED__ */
  937.  
  938.  
  939. #ifndef __Filters_INTERFACE_DEFINED__
  940. #define __Filters_INTERFACE_DEFINED__
  941.  
  942. /* interface Filters */
  943. /* [unique][helpstring][dual][uuid][object] */ 
  944.  
  945.  
  946. EXTERN_C const IID IID_Filters;
  947.  
  948. #if defined(__cplusplus) && !defined(CINTERFACE)
  949.     
  950.     MIDL_INTERFACE("D2D139E2-B6CA-11d1-9F31-00C04FC29D52")
  951.     Filters : public IDispatch
  952.     {
  953.     public:
  954.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  955.         
  956.         virtual /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _NewEnum( 
  957.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  958.         
  959.         virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  960.             /* [retval][out] */ long __RPC_FAR *c) = 0;
  961.         
  962.         virtual /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Item( 
  963.             /* [in] */ VARIANT Index,
  964.             /* [retval][out] */ Filter __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  965.         
  966.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Append( 
  967.             /* [in] */ BSTR tableName,
  968.             /* [in] */ FilterTypeEnum filterType,
  969.             /* [in] */ BSTR filterCriteria) = 0;
  970.         
  971.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Delete( 
  972.             /* [in] */ VARIANT Index) = 0;
  973.         
  974.     };
  975.     
  976. #else     /* C style interface */
  977.  
  978.     typedef struct FiltersVtbl
  979.     {
  980.         BEGIN_INTERFACE
  981.         
  982.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  983.             Filters __RPC_FAR * This,
  984.             /* [in] */ REFIID riid,
  985.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  986.         
  987.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  988.             Filters __RPC_FAR * This);
  989.         
  990.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  991.             Filters __RPC_FAR * This);
  992.         
  993.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  994.             Filters __RPC_FAR * This,
  995.             /* [out] */ UINT __RPC_FAR *pctinfo);
  996.         
  997.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  998.             Filters __RPC_FAR * This,
  999.             /* [in] */ UINT iTInfo,
  1000.             /* [in] */ LCID lcid,
  1001.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1002.         
  1003.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1004.             Filters __RPC_FAR * This,
  1005.             /* [in] */ REFIID riid,
  1006.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1007.             /* [in] */ UINT cNames,
  1008.             /* [in] */ LCID lcid,
  1009.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1010.         
  1011.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1012.             Filters __RPC_FAR * This,
  1013.             /* [in] */ DISPID dispIdMember,
  1014.             /* [in] */ REFIID riid,
  1015.             /* [in] */ LCID lcid,
  1016.             /* [in] */ WORD wFlags,
  1017.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1018.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1019.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1020.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1021.         
  1022.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )( 
  1023.             Filters __RPC_FAR * This);
  1024.         
  1025.         /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )( 
  1026.             Filters __RPC_FAR * This,
  1027.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  1028.         
  1029.         /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )( 
  1030.             Filters __RPC_FAR * This,
  1031.             /* [retval][out] */ long __RPC_FAR *c);
  1032.         
  1033.         /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )( 
  1034.             Filters __RPC_FAR * This,
  1035.             /* [in] */ VARIANT Index,
  1036.             /* [retval][out] */ Filter __RPC_FAR *__RPC_FAR *ppvObject);
  1037.         
  1038.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Append )( 
  1039.             Filters __RPC_FAR * This,
  1040.             /* [in] */ BSTR tableName,
  1041.             /* [in] */ FilterTypeEnum filterType,
  1042.             /* [in] */ BSTR filterCriteria);
  1043.         
  1044.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )( 
  1045.             Filters __RPC_FAR * This,
  1046.             /* [in] */ VARIANT Index);
  1047.         
  1048.         END_INTERFACE
  1049.     } FiltersVtbl;
  1050.  
  1051.     interface Filters
  1052.     {
  1053.         CONST_VTBL struct FiltersVtbl __RPC_FAR *lpVtbl;
  1054.     };
  1055.  
  1056.     
  1057.  
  1058. #ifdef COBJMACROS
  1059.  
  1060.  
  1061. #define Filters_QueryInterface(This,riid,ppvObject)    \
  1062.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1063.  
  1064. #define Filters_AddRef(This)    \
  1065.     (This)->lpVtbl -> AddRef(This)
  1066.  
  1067. #define Filters_Release(This)    \
  1068.     (This)->lpVtbl -> Release(This)
  1069.  
  1070.  
  1071. #define Filters_GetTypeInfoCount(This,pctinfo)    \
  1072.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1073.  
  1074. #define Filters_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1075.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1076.  
  1077. #define Filters_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1078.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1079.  
  1080. #define Filters_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1081.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1082.  
  1083.  
  1084. #define Filters_Refresh(This)    \
  1085.     (This)->lpVtbl -> Refresh(This)
  1086.  
  1087. #define Filters__NewEnum(This,ppvObject)    \
  1088.     (This)->lpVtbl -> _NewEnum(This,ppvObject)
  1089.  
  1090. #define Filters_get_Count(This,c)    \
  1091.     (This)->lpVtbl -> get_Count(This,c)
  1092.  
  1093. #define Filters_get_Item(This,Index,ppvObject)    \
  1094.     (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  1095.  
  1096. #define Filters_Append(This,tableName,filterType,filterCriteria)    \
  1097.     (This)->lpVtbl -> Append(This,tableName,filterType,filterCriteria)
  1098.  
  1099. #define Filters_Delete(This,Index)    \
  1100.     (This)->lpVtbl -> Delete(This,Index)
  1101.  
  1102. #endif /* COBJMACROS */
  1103.  
  1104.  
  1105. #endif     /* C style interface */
  1106.  
  1107.  
  1108.  
  1109. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Filters_Refresh_Proxy( 
  1110.     Filters __RPC_FAR * This);
  1111.  
  1112.  
  1113. void __RPC_STUB Filters_Refresh_Stub(
  1114.     IRpcStubBuffer *This,
  1115.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1116.     PRPC_MESSAGE _pRpcMessage,
  1117.     DWORD *_pdwStubPhase);
  1118.  
  1119.  
  1120. /* [id][restricted] */ HRESULT STDMETHODCALLTYPE Filters__NewEnum_Proxy( 
  1121.     Filters __RPC_FAR * This,
  1122.     /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  1123.  
  1124.  
  1125. void __RPC_STUB Filters__NewEnum_Stub(
  1126.     IRpcStubBuffer *This,
  1127.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1128.     PRPC_MESSAGE _pRpcMessage,
  1129.     DWORD *_pdwStubPhase);
  1130.  
  1131.  
  1132. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filters_get_Count_Proxy( 
  1133.     Filters __RPC_FAR * This,
  1134.     /* [retval][out] */ long __RPC_FAR *c);
  1135.  
  1136.  
  1137. void __RPC_STUB Filters_get_Count_Stub(
  1138.     IRpcStubBuffer *This,
  1139.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1140.     PRPC_MESSAGE _pRpcMessage,
  1141.     DWORD *_pdwStubPhase);
  1142.  
  1143.  
  1144. /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Filters_get_Item_Proxy( 
  1145.     Filters __RPC_FAR * This,
  1146.     /* [in] */ VARIANT Index,
  1147.     /* [retval][out] */ Filter __RPC_FAR *__RPC_FAR *ppvObject);
  1148.  
  1149.  
  1150. void __RPC_STUB Filters_get_Item_Stub(
  1151.     IRpcStubBuffer *This,
  1152.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1153.     PRPC_MESSAGE _pRpcMessage,
  1154.     DWORD *_pdwStubPhase);
  1155.  
  1156.  
  1157. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Filters_Append_Proxy( 
  1158.     Filters __RPC_FAR * This,
  1159.     /* [in] */ BSTR tableName,
  1160.     /* [in] */ FilterTypeEnum filterType,
  1161.     /* [in] */ BSTR filterCriteria);
  1162.  
  1163.  
  1164. void __RPC_STUB Filters_Append_Stub(
  1165.     IRpcStubBuffer *This,
  1166.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1167.     PRPC_MESSAGE _pRpcMessage,
  1168.     DWORD *_pdwStubPhase);
  1169.  
  1170.  
  1171. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Filters_Delete_Proxy( 
  1172.     Filters __RPC_FAR * This,
  1173.     /* [in] */ VARIANT Index);
  1174.  
  1175.  
  1176. void __RPC_STUB Filters_Delete_Stub(
  1177.     IRpcStubBuffer *This,
  1178.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1179.     PRPC_MESSAGE _pRpcMessage,
  1180.     DWORD *_pdwStubPhase);
  1181.  
  1182.  
  1183.  
  1184. #endif     /* __Filters_INTERFACE_DEFINED__ */
  1185.  
  1186.  
  1187. #ifndef __IJetEngine_INTERFACE_DEFINED__
  1188. #define __IJetEngine_INTERFACE_DEFINED__
  1189.  
  1190. /* interface IJetEngine */
  1191. /* [unique][helpstring][dual][uuid][object] */ 
  1192.  
  1193.  
  1194. EXTERN_C const IID IID_IJetEngine;
  1195.  
  1196. #if defined(__cplusplus) && !defined(CINTERFACE)
  1197.     
  1198.     MIDL_INTERFACE("9F63D980-FF25-11D1-BB6F-00C04FAE22DA")
  1199.     IJetEngine : public IDispatch
  1200.     {
  1201.     public:
  1202.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE CompactDatabase( 
  1203.             /* [in] */ BSTR SourceConnection,
  1204.             /* [in] */ BSTR Destconnection) = 0;
  1205.         
  1206.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE RefreshCache( 
  1207.             /* [in] */ /* external definition not present */ _Connection __RPC_FAR *Connection) = 0;
  1208.         
  1209.     };
  1210.     
  1211. #else     /* C style interface */
  1212.  
  1213.     typedef struct IJetEngineVtbl
  1214.     {
  1215.         BEGIN_INTERFACE
  1216.         
  1217.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1218.             IJetEngine __RPC_FAR * This,
  1219.             /* [in] */ REFIID riid,
  1220.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1221.         
  1222.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1223.             IJetEngine __RPC_FAR * This);
  1224.         
  1225.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1226.             IJetEngine __RPC_FAR * This);
  1227.         
  1228.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1229.             IJetEngine __RPC_FAR * This,
  1230.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1231.         
  1232.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1233.             IJetEngine __RPC_FAR * This,
  1234.             /* [in] */ UINT iTInfo,
  1235.             /* [in] */ LCID lcid,
  1236.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1237.         
  1238.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1239.             IJetEngine __RPC_FAR * This,
  1240.             /* [in] */ REFIID riid,
  1241.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1242.             /* [in] */ UINT cNames,
  1243.             /* [in] */ LCID lcid,
  1244.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1245.         
  1246.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1247.             IJetEngine __RPC_FAR * This,
  1248.             /* [in] */ DISPID dispIdMember,
  1249.             /* [in] */ REFIID riid,
  1250.             /* [in] */ LCID lcid,
  1251.             /* [in] */ WORD wFlags,
  1252.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1253.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1254.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1255.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1256.         
  1257.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CompactDatabase )( 
  1258.             IJetEngine __RPC_FAR * This,
  1259.             /* [in] */ BSTR SourceConnection,
  1260.             /* [in] */ BSTR Destconnection);
  1261.         
  1262.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RefreshCache )( 
  1263.             IJetEngine __RPC_FAR * This,
  1264.             /* [in] */ /* external definition not present */ _Connection __RPC_FAR *Connection);
  1265.         
  1266.         END_INTERFACE
  1267.     } IJetEngineVtbl;
  1268.  
  1269.     interface IJetEngine
  1270.     {
  1271.         CONST_VTBL struct IJetEngineVtbl __RPC_FAR *lpVtbl;
  1272.     };
  1273.  
  1274.     
  1275.  
  1276. #ifdef COBJMACROS
  1277.  
  1278.  
  1279. #define IJetEngine_QueryInterface(This,riid,ppvObject)    \
  1280.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1281.  
  1282. #define IJetEngine_AddRef(This)    \
  1283.     (This)->lpVtbl -> AddRef(This)
  1284.  
  1285. #define IJetEngine_Release(This)    \
  1286.     (This)->lpVtbl -> Release(This)
  1287.  
  1288.  
  1289. #define IJetEngine_GetTypeInfoCount(This,pctinfo)    \
  1290.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1291.  
  1292. #define IJetEngine_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1293.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1294.  
  1295. #define IJetEngine_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1296.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1297.  
  1298. #define IJetEngine_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1299.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1300.  
  1301.  
  1302. #define IJetEngine_CompactDatabase(This,SourceConnection,Destconnection)    \
  1303.     (This)->lpVtbl -> CompactDatabase(This,SourceConnection,Destconnection)
  1304.  
  1305. #define IJetEngine_RefreshCache(This,Connection)    \
  1306.     (This)->lpVtbl -> RefreshCache(This,Connection)
  1307.  
  1308. #endif /* COBJMACROS */
  1309.  
  1310.  
  1311. #endif     /* C style interface */
  1312.  
  1313.  
  1314.  
  1315. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IJetEngine_CompactDatabase_Proxy( 
  1316.     IJetEngine __RPC_FAR * This,
  1317.     /* [in] */ BSTR SourceConnection,
  1318.     /* [in] */ BSTR Destconnection);
  1319.  
  1320.  
  1321. void __RPC_STUB IJetEngine_CompactDatabase_Stub(
  1322.     IRpcStubBuffer *This,
  1323.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1324.     PRPC_MESSAGE _pRpcMessage,
  1325.     DWORD *_pdwStubPhase);
  1326.  
  1327.  
  1328. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE IJetEngine_RefreshCache_Proxy( 
  1329.     IJetEngine __RPC_FAR * This,
  1330.     /* [in] */ /* external definition not present */ _Connection __RPC_FAR *Connection);
  1331.  
  1332.  
  1333. void __RPC_STUB IJetEngine_RefreshCache_Stub(
  1334.     IRpcStubBuffer *This,
  1335.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1336.     PRPC_MESSAGE _pRpcMessage,
  1337.     DWORD *_pdwStubPhase);
  1338.  
  1339.  
  1340.  
  1341. #endif     /* __IJetEngine_INTERFACE_DEFINED__ */
  1342.  
  1343.  
  1344. EXTERN_C const CLSID CLSID_Replica;
  1345.  
  1346. #ifdef __cplusplus
  1347.  
  1348. class DECLSPEC_UUID("D2D139E3-B6CA-11d1-9F31-00C04FC29D52")
  1349. Replica;
  1350. #endif
  1351.  
  1352. EXTERN_C const CLSID CLSID_JetEngine;
  1353.  
  1354. #ifdef __cplusplus
  1355.  
  1356. class DECLSPEC_UUID("DE88C160-FF2C-11D1-BB6F-00C04FAE22DA")
  1357. JetEngine;
  1358. #endif
  1359. #endif /* __JRO_LIBRARY_DEFINED__ */
  1360.  
  1361. /* Additional Prototypes for ALL interfaces */
  1362.  
  1363. /* end of Additional Prototypes */
  1364.  
  1365. #ifdef __cplusplus
  1366. }
  1367. #endif
  1368.  
  1369. #endif
  1370.  
  1371.  
  1372. #pragma option pop /*P_O_Pop*/
  1373.