home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 September / VPR0009A.BIN / VS60SP4JPN / support / adojet.h < prev    next >
C/C++ Source or Header  |  1999-02-16  |  47KB  |  1,384 lines

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