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

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  
  4.  
  5. /* File created by MIDL compiler version 3.01.75 */
  6. /* at Thu Apr 23 13:48:22 1998
  7.  */
  8. /* Compiler settings for crssink.idl:
  9.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  10.     error checks: none
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13. #include "rpc.h"
  14. #include "rpcndr.h"
  15. #ifndef COM_NO_WINDOWS_H
  16. #include "windows.h"
  17. #include "ole2.h"
  18. #endif /*COM_NO_WINDOWS_H*/
  19.  
  20. #ifndef __crssink_h__
  21. #define __crssink_h__
  22.  
  23. #ifdef __cplusplus
  24. extern "C"{
  25. #endif 
  26.  
  27. /* Forward Declarations */ 
  28.  
  29. #ifndef __IReplicationEventSink_FWD_DEFINED__
  30. #define __IReplicationEventSink_FWD_DEFINED__
  31. typedef interface IReplicationEventSink IReplicationEventSink;
  32. #endif     /* __IReplicationEventSink_FWD_DEFINED__ */
  33.  
  34.  
  35. #ifndef __SiteServerEventSink_FWD_DEFINED__
  36. #define __SiteServerEventSink_FWD_DEFINED__
  37.  
  38. #ifdef __cplusplus
  39. typedef class SiteServerEventSink SiteServerEventSink;
  40. #else
  41. typedef struct SiteServerEventSink SiteServerEventSink;
  42. #endif /* __cplusplus */
  43.  
  44. #endif     /* __SiteServerEventSink_FWD_DEFINED__ */
  45.  
  46.  
  47. /* header files for imported files */
  48. #include "oaidl.h"
  49. #include "ocidl.h"
  50.  
  51. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  52. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  53.  
  54. #ifndef __IReplicationEventSink_INTERFACE_DEFINED__
  55. #define __IReplicationEventSink_INTERFACE_DEFINED__
  56.  
  57. /****************************************
  58.  * Generated header for interface: IReplicationEventSink
  59.  * at Thu Apr 23 13:48:22 1998
  60.  * using MIDL 3.01.75
  61.  ****************************************/
  62. /* [unique][helpstring][dual][uuid][object] */ 
  63.  
  64.  
  65.  
  66. EXTERN_C const IID IID_IReplicationEventSink;
  67.  
  68. #if defined(__cplusplus) && !defined(CINTERFACE)
  69.     
  70.     interface DECLSPEC_UUID("8072C46F-C89A-11D0-BAF5-00C04FD7082F")
  71.     IReplicationEventSink : public IDispatch
  72.     {
  73.     public:
  74.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize( 
  75.             /* [string][in] */ BSTR szName) = 0;
  76.         
  77.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  78.         
  79.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnEvent( 
  80.             /* [in] */ VARIANT __RPC_FAR *pvEvent) = 0;
  81.         
  82.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  83.         
  84.     };
  85.     
  86. #else     /* C style interface */
  87.  
  88.     typedef struct IReplicationEventSinkVtbl
  89.     {
  90.         BEGIN_INTERFACE
  91.         
  92.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  93.             IReplicationEventSink __RPC_FAR * This,
  94.             /* [in] */ REFIID riid,
  95.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  96.         
  97.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  98.             IReplicationEventSink __RPC_FAR * This);
  99.         
  100.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  101.             IReplicationEventSink __RPC_FAR * This);
  102.         
  103.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  104.             IReplicationEventSink __RPC_FAR * This,
  105.             /* [out] */ UINT __RPC_FAR *pctinfo);
  106.         
  107.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  108.             IReplicationEventSink __RPC_FAR * This,
  109.             /* [in] */ UINT iTInfo,
  110.             /* [in] */ LCID lcid,
  111.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  112.         
  113.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  114.             IReplicationEventSink __RPC_FAR * This,
  115.             /* [in] */ REFIID riid,
  116.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  117.             /* [in] */ UINT cNames,
  118.             /* [in] */ LCID lcid,
  119.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  120.         
  121.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  122.             IReplicationEventSink __RPC_FAR * This,
  123.             /* [in] */ DISPID dispIdMember,
  124.             /* [in] */ REFIID riid,
  125.             /* [in] */ LCID lcid,
  126.             /* [in] */ WORD wFlags,
  127.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  128.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  129.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  130.             /* [out] */ UINT __RPC_FAR *puArgErr);
  131.         
  132.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Initialize )( 
  133.             IReplicationEventSink __RPC_FAR * This,
  134.             /* [string][in] */ BSTR szName);
  135.         
  136.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Shutdown )( 
  137.             IReplicationEventSink __RPC_FAR * This);
  138.         
  139.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnEvent )( 
  140.             IReplicationEventSink __RPC_FAR * This,
  141.             /* [in] */ VARIANT __RPC_FAR *pvEvent);
  142.         
  143.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clear )( 
  144.             IReplicationEventSink __RPC_FAR * This);
  145.         
  146.         END_INTERFACE
  147.     } IReplicationEventSinkVtbl;
  148.  
  149.     interface IReplicationEventSink
  150.     {
  151.         CONST_VTBL struct IReplicationEventSinkVtbl __RPC_FAR *lpVtbl;
  152.     };
  153.  
  154.     
  155.  
  156. #ifdef COBJMACROS
  157.  
  158.  
  159. #define IReplicationEventSink_QueryInterface(This,riid,ppvObject)    \
  160.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  161.  
  162. #define IReplicationEventSink_AddRef(This)    \
  163.     (This)->lpVtbl -> AddRef(This)
  164.  
  165. #define IReplicationEventSink_Release(This)    \
  166.     (This)->lpVtbl -> Release(This)
  167.  
  168.  
  169. #define IReplicationEventSink_GetTypeInfoCount(This,pctinfo)    \
  170.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  171.  
  172. #define IReplicationEventSink_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  173.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  174.  
  175. #define IReplicationEventSink_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  176.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  177.  
  178. #define IReplicationEventSink_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  179.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  180.  
  181.  
  182. #define IReplicationEventSink_Initialize(This,szName)    \
  183.     (This)->lpVtbl -> Initialize(This,szName)
  184.  
  185. #define IReplicationEventSink_Shutdown(This)    \
  186.     (This)->lpVtbl -> Shutdown(This)
  187.  
  188. #define IReplicationEventSink_OnEvent(This,pvEvent)    \
  189.     (This)->lpVtbl -> OnEvent(This,pvEvent)
  190.  
  191. #define IReplicationEventSink_Clear(This)    \
  192.     (This)->lpVtbl -> Clear(This)
  193.  
  194. #endif /* COBJMACROS */
  195.  
  196.  
  197. #endif     /* C style interface */
  198.  
  199.  
  200.  
  201. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IReplicationEventSink_Initialize_Proxy( 
  202.     IReplicationEventSink __RPC_FAR * This,
  203.     /* [string][in] */ BSTR szName);
  204.  
  205.  
  206. void __RPC_STUB IReplicationEventSink_Initialize_Stub(
  207.     IRpcStubBuffer *This,
  208.     IRpcChannelBuffer *_pRpcChannelBuffer,
  209.     PRPC_MESSAGE _pRpcMessage,
  210.     DWORD *_pdwStubPhase);
  211.  
  212.  
  213. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IReplicationEventSink_Shutdown_Proxy( 
  214.     IReplicationEventSink __RPC_FAR * This);
  215.  
  216.  
  217. void __RPC_STUB IReplicationEventSink_Shutdown_Stub(
  218.     IRpcStubBuffer *This,
  219.     IRpcChannelBuffer *_pRpcChannelBuffer,
  220.     PRPC_MESSAGE _pRpcMessage,
  221.     DWORD *_pdwStubPhase);
  222.  
  223.  
  224. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IReplicationEventSink_OnEvent_Proxy( 
  225.     IReplicationEventSink __RPC_FAR * This,
  226.     /* [in] */ VARIANT __RPC_FAR *pvEvent);
  227.  
  228.  
  229. void __RPC_STUB IReplicationEventSink_OnEvent_Stub(
  230.     IRpcStubBuffer *This,
  231.     IRpcChannelBuffer *_pRpcChannelBuffer,
  232.     PRPC_MESSAGE _pRpcMessage,
  233.     DWORD *_pdwStubPhase);
  234.  
  235.  
  236. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IReplicationEventSink_Clear_Proxy( 
  237.     IReplicationEventSink __RPC_FAR * This);
  238.  
  239.  
  240. void __RPC_STUB IReplicationEventSink_Clear_Stub(
  241.     IRpcStubBuffer *This,
  242.     IRpcChannelBuffer *_pRpcChannelBuffer,
  243.     PRPC_MESSAGE _pRpcMessage,
  244.     DWORD *_pdwStubPhase);
  245.  
  246.  
  247.  
  248. #endif     /* __IReplicationEventSink_INTERFACE_DEFINED__ */
  249.  
  250.  
  251.  
  252. #ifndef __SiteServerEventSinkLib_LIBRARY_DEFINED__
  253. #define __SiteServerEventSinkLib_LIBRARY_DEFINED__
  254.  
  255. /****************************************
  256.  * Generated header for library: SiteServerEventSinkLib
  257.  * at Thu Apr 23 13:48:22 1998
  258.  * using MIDL 3.01.75
  259.  ****************************************/
  260. /* [helpstring][version][uuid] */ 
  261.  
  262.  
  263.  
  264. EXTERN_C const IID LIBID_SiteServerEventSinkLib;
  265.  
  266. #ifdef __cplusplus
  267. EXTERN_C const CLSID CLSID_SiteServerEventSink;
  268.  
  269. class DECLSPEC_UUID("F03E09B6-CCAC-11D0-BAF6-00C04FD7082F")
  270. SiteServerEventSink;
  271. #endif
  272. #endif /* __SiteServerEventSinkLib_LIBRARY_DEFINED__ */
  273.  
  274. /* Additional Prototypes for ALL interfaces */
  275.  
  276. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  277. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  278. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  279. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  280.  
  281. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , VARIANT __RPC_FAR * ); 
  282. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  283. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  284. void                      __RPC_USER  VARIANT_UserFree(     unsigned long __RPC_FAR *, VARIANT __RPC_FAR * ); 
  285.  
  286. /* end of Additional Prototypes */
  287.  
  288. #ifdef __cplusplus
  289. }
  290. #endif
  291.  
  292. #endif
  293. #pragma option pop /*P_O_Pop*/
  294.