EventSys.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:152k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for eventsys.idl:
  5.     Oicf, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext, robust
  7.     error checks: allocation ref bounds_check enum stub_data 
  8.     VC __declspec() decoration level: 
  9.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10.          DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __eventsys_h__
  27. #define __eventsys_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */ 
  32. #ifndef __IEventSystem_FWD_DEFINED__
  33. #define __IEventSystem_FWD_DEFINED__
  34. typedef interface IEventSystem IEventSystem;
  35. #endif  /* __IEventSystem_FWD_DEFINED__ */
  36. #ifndef __IEventPublisher_FWD_DEFINED__
  37. #define __IEventPublisher_FWD_DEFINED__
  38. typedef interface IEventPublisher IEventPublisher;
  39. #endif  /* __IEventPublisher_FWD_DEFINED__ */
  40. #ifndef __IEventClass_FWD_DEFINED__
  41. #define __IEventClass_FWD_DEFINED__
  42. typedef interface IEventClass IEventClass;
  43. #endif  /* __IEventClass_FWD_DEFINED__ */
  44. #ifndef __IEventClass2_FWD_DEFINED__
  45. #define __IEventClass2_FWD_DEFINED__
  46. typedef interface IEventClass2 IEventClass2;
  47. #endif  /* __IEventClass2_FWD_DEFINED__ */
  48. #ifndef __IEventSubscription_FWD_DEFINED__
  49. #define __IEventSubscription_FWD_DEFINED__
  50. typedef interface IEventSubscription IEventSubscription;
  51. #endif  /* __IEventSubscription_FWD_DEFINED__ */
  52. #ifndef __IFiringControl_FWD_DEFINED__
  53. #define __IFiringControl_FWD_DEFINED__
  54. typedef interface IFiringControl IFiringControl;
  55. #endif  /* __IFiringControl_FWD_DEFINED__ */
  56. #ifndef __IPublisherFilter_FWD_DEFINED__
  57. #define __IPublisherFilter_FWD_DEFINED__
  58. typedef interface IPublisherFilter IPublisherFilter;
  59. #endif  /* __IPublisherFilter_FWD_DEFINED__ */
  60. #ifndef __IMultiInterfacePublisherFilter_FWD_DEFINED__
  61. #define __IMultiInterfacePublisherFilter_FWD_DEFINED__
  62. typedef interface IMultiInterfacePublisherFilter IMultiInterfacePublisherFilter;
  63. #endif  /* __IMultiInterfacePublisherFilter_FWD_DEFINED__ */
  64. #ifndef __IEventObjectChange_FWD_DEFINED__
  65. #define __IEventObjectChange_FWD_DEFINED__
  66. typedef interface IEventObjectChange IEventObjectChange;
  67. #endif  /* __IEventObjectChange_FWD_DEFINED__ */
  68. #ifndef __IEventObjectChange2_FWD_DEFINED__
  69. #define __IEventObjectChange2_FWD_DEFINED__
  70. typedef interface IEventObjectChange2 IEventObjectChange2;
  71. #endif  /* __IEventObjectChange2_FWD_DEFINED__ */
  72. #ifndef __IEnumEventObject_FWD_DEFINED__
  73. #define __IEnumEventObject_FWD_DEFINED__
  74. typedef interface IEnumEventObject IEnumEventObject;
  75. #endif  /* __IEnumEventObject_FWD_DEFINED__ */
  76. #ifndef __IEventObjectCollection_FWD_DEFINED__
  77. #define __IEventObjectCollection_FWD_DEFINED__
  78. typedef interface IEventObjectCollection IEventObjectCollection;
  79. #endif  /* __IEventObjectCollection_FWD_DEFINED__ */
  80. #ifndef __IEventProperty_FWD_DEFINED__
  81. #define __IEventProperty_FWD_DEFINED__
  82. typedef interface IEventProperty IEventProperty;
  83. #endif  /* __IEventProperty_FWD_DEFINED__ */
  84. #ifndef __IEventControl_FWD_DEFINED__
  85. #define __IEventControl_FWD_DEFINED__
  86. typedef interface IEventControl IEventControl;
  87. #endif  /* __IEventControl_FWD_DEFINED__ */
  88. #ifndef __IMultiInterfaceEventControl_FWD_DEFINED__
  89. #define __IMultiInterfaceEventControl_FWD_DEFINED__
  90. typedef interface IMultiInterfaceEventControl IMultiInterfaceEventControl;
  91. #endif  /* __IMultiInterfaceEventControl_FWD_DEFINED__ */
  92. #ifndef __CEventSystem_FWD_DEFINED__
  93. #define __CEventSystem_FWD_DEFINED__
  94. #ifdef __cplusplus
  95. typedef class CEventSystem CEventSystem;
  96. #else
  97. typedef struct CEventSystem CEventSystem;
  98. #endif /* __cplusplus */
  99. #endif  /* __CEventSystem_FWD_DEFINED__ */
  100. #ifndef __CEventPublisher_FWD_DEFINED__
  101. #define __CEventPublisher_FWD_DEFINED__
  102. #ifdef __cplusplus
  103. typedef class CEventPublisher CEventPublisher;
  104. #else
  105. typedef struct CEventPublisher CEventPublisher;
  106. #endif /* __cplusplus */
  107. #endif  /* __CEventPublisher_FWD_DEFINED__ */
  108. #ifndef __CEventClass_FWD_DEFINED__
  109. #define __CEventClass_FWD_DEFINED__
  110. #ifdef __cplusplus
  111. typedef class CEventClass CEventClass;
  112. #else
  113. typedef struct CEventClass CEventClass;
  114. #endif /* __cplusplus */
  115. #endif  /* __CEventClass_FWD_DEFINED__ */
  116. #ifndef __CEventSubscription_FWD_DEFINED__
  117. #define __CEventSubscription_FWD_DEFINED__
  118. #ifdef __cplusplus
  119. typedef class CEventSubscription CEventSubscription;
  120. #else
  121. typedef struct CEventSubscription CEventSubscription;
  122. #endif /* __cplusplus */
  123. #endif  /* __CEventSubscription_FWD_DEFINED__ */
  124. #ifndef __EventObjectChange_FWD_DEFINED__
  125. #define __EventObjectChange_FWD_DEFINED__
  126. #ifdef __cplusplus
  127. typedef class EventObjectChange EventObjectChange;
  128. #else
  129. typedef struct EventObjectChange EventObjectChange;
  130. #endif /* __cplusplus */
  131. #endif  /* __EventObjectChange_FWD_DEFINED__ */
  132. #ifndef __EventObjectChange2_FWD_DEFINED__
  133. #define __EventObjectChange2_FWD_DEFINED__
  134. #ifdef __cplusplus
  135. typedef class EventObjectChange2 EventObjectChange2;
  136. #else
  137. typedef struct EventObjectChange2 EventObjectChange2;
  138. #endif /* __cplusplus */
  139. #endif  /* __EventObjectChange2_FWD_DEFINED__ */
  140. /* header files for imported files */
  141. #include "oaidl.h"
  142. #include "ocidl.h"
  143. #ifdef __cplusplus
  144. extern "C"{
  145. #endif 
  146. void * __RPC_USER MIDL_user_allocate(size_t);
  147. void __RPC_USER MIDL_user_free( void * ); 
  148. /* interface __MIDL_itf_eventsys_0000 */
  149. /* [local] */ 
  150. #define PROGID_EventSystem OLESTR("EventSystem.EventSystem")
  151. #define PROGID_EventPublisher OLESTR("EventSystem.EventPublisher")
  152. #define PROGID_EventClass OLESTR("EventSystem.EventClass")
  153. #define PROGID_EventSubscription OLESTR("EventSystem.EventSubscription")
  154. #define PROGID_EventPublisherCollection OLESTR("EventSystem.EventPublisherCollection")
  155. #define PROGID_EventClassCollection OLESTR("EventSystem.EventClassCollection")
  156. #define PROGID_EventSubscriptionCollection OLESTR("EventSystem.EventSubscriptionCollection")
  157. #define PROGID_EventSubsystem OLESTR("EventSystem.EventSubsystem")
  158. #define EVENTSYSTEM_PUBLISHER_ID OLESTR("{d0564c30-9df4-11d1-a281-00c04fca0aa7}")
  159. #define EVENTSYSTEM_SUBSYSTEM_CLSID OLESTR("{503c1fd8-b605-11d2-a92d-006008c60e24}")
  160. extern RPC_IF_HANDLE __MIDL_itf_eventsys_0000_v0_0_c_ifspec;
  161. extern RPC_IF_HANDLE __MIDL_itf_eventsys_0000_v0_0_s_ifspec;
  162. #ifndef __IEventSystem_INTERFACE_DEFINED__
  163. #define __IEventSystem_INTERFACE_DEFINED__
  164. /* interface IEventSystem */
  165. /* [unique][helpstring][dual][uuid][object] */ 
  166. // *****************************************************************
  167. // This is a Deprecated interface - Use COMAdmin interfaces instead.
  168. // *****************************************************************
  169. EXTERN_C const IID IID_IEventSystem;
  170. #if defined(__cplusplus) && !defined(CINTERFACE)
  171.     
  172.     MIDL_INTERFACE("4E14FB9F-2E22-11D1-9964-00C04FBBB345")
  173.     IEventSystem : public IDispatch
  174.     {
  175.     public:
  176.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Query( 
  177.             /* [in] */ BSTR progID,
  178.             /* [in] */ BSTR queryCriteria,
  179.             /* [out] */ int *errorIndex,
  180.             /* [retval][out] */ IUnknown **ppInterface) = 0;
  181.         
  182.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Store( 
  183.             /* [in] */ BSTR ProgID,
  184.             /* [in] */ IUnknown *pInterface) = 0;
  185.         
  186.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( 
  187.             /* [in] */ BSTR progID,
  188.             /* [in] */ BSTR queryCriteria,
  189.             /* [out] */ int *errorIndex) = 0;
  190.         
  191.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_EventObjectChangeEventClassID( 
  192.             /* [retval][out] */ BSTR *pbstrEventClassID) = 0;
  193.         
  194.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryS( 
  195.             /* [in] */ BSTR progID,
  196.             /* [in] */ BSTR queryCriteria,
  197.             /* [retval][out] */ IUnknown **ppInterface) = 0;
  198.         
  199.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveS( 
  200.             /* [in] */ BSTR progID,
  201.             /* [in] */ BSTR queryCriteria) = 0;
  202.         
  203.     };
  204.     
  205. #else  /* C style interface */
  206.     typedef struct IEventSystemVtbl
  207.     {
  208.         BEGIN_INTERFACE
  209.         
  210.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  211.             IEventSystem * This,
  212.             /* [in] */ REFIID riid,
  213.             /* [iid_is][out] */ void **ppvObject);
  214.         
  215.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  216.             IEventSystem * This);
  217.         
  218.         ULONG ( STDMETHODCALLTYPE *Release )( 
  219.             IEventSystem * This);
  220.         
  221.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  222.             IEventSystem * This,
  223.             /* [out] */ UINT *pctinfo);
  224.         
  225.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  226.             IEventSystem * This,
  227.             /* [in] */ UINT iTInfo,
  228.             /* [in] */ LCID lcid,
  229.             /* [out] */ ITypeInfo **ppTInfo);
  230.         
  231.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  232.             IEventSystem * This,
  233.             /* [in] */ REFIID riid,
  234.             /* [size_is][in] */ LPOLESTR *rgszNames,
  235.             /* [in] */ UINT cNames,
  236.             /* [in] */ LCID lcid,
  237.             /* [size_is][out] */ DISPID *rgDispId);
  238.         
  239.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  240.             IEventSystem * This,
  241.             /* [in] */ DISPID dispIdMember,
  242.             /* [in] */ REFIID riid,
  243.             /* [in] */ LCID lcid,
  244.             /* [in] */ WORD wFlags,
  245.             /* [out][in] */ DISPPARAMS *pDispParams,
  246.             /* [out] */ VARIANT *pVarResult,
  247.             /* [out] */ EXCEPINFO *pExcepInfo,
  248.             /* [out] */ UINT *puArgErr);
  249.         
  250.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Query )( 
  251.             IEventSystem * This,
  252.             /* [in] */ BSTR progID,
  253.             /* [in] */ BSTR queryCriteria,
  254.             /* [out] */ int *errorIndex,
  255.             /* [retval][out] */ IUnknown **ppInterface);
  256.         
  257.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Store )( 
  258.             IEventSystem * This,
  259.             /* [in] */ BSTR ProgID,
  260.             /* [in] */ IUnknown *pInterface);
  261.         
  262.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( 
  263.             IEventSystem * This,
  264.             /* [in] */ BSTR progID,
  265.             /* [in] */ BSTR queryCriteria,
  266.             /* [out] */ int *errorIndex);
  267.         
  268.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EventObjectChangeEventClassID )( 
  269.             IEventSystem * This,
  270.             /* [retval][out] */ BSTR *pbstrEventClassID);
  271.         
  272.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryS )( 
  273.             IEventSystem * This,
  274.             /* [in] */ BSTR progID,
  275.             /* [in] */ BSTR queryCriteria,
  276.             /* [retval][out] */ IUnknown **ppInterface);
  277.         
  278.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveS )( 
  279.             IEventSystem * This,
  280.             /* [in] */ BSTR progID,
  281.             /* [in] */ BSTR queryCriteria);
  282.         
  283.         END_INTERFACE
  284.     } IEventSystemVtbl;
  285.     interface IEventSystem
  286.     {
  287.         CONST_VTBL struct IEventSystemVtbl *lpVtbl;
  288.     };
  289.     
  290. #ifdef COBJMACROS
  291. #define IEventSystem_QueryInterface(This,riid,ppvObject)
  292.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  293. #define IEventSystem_AddRef(This)
  294.     (This)->lpVtbl -> AddRef(This)
  295. #define IEventSystem_Release(This)
  296.     (This)->lpVtbl -> Release(This)
  297. #define IEventSystem_GetTypeInfoCount(This,pctinfo)
  298.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  299. #define IEventSystem_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  300.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  301. #define IEventSystem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  302.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  303. #define IEventSystem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  304.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  305. #define IEventSystem_Query(This,progID,queryCriteria,errorIndex,ppInterface)
  306.     (This)->lpVtbl -> Query(This,progID,queryCriteria,errorIndex,ppInterface)
  307. #define IEventSystem_Store(This,ProgID,pInterface)
  308.     (This)->lpVtbl -> Store(This,ProgID,pInterface)
  309. #define IEventSystem_Remove(This,progID,queryCriteria,errorIndex)
  310.     (This)->lpVtbl -> Remove(This,progID,queryCriteria,errorIndex)
  311. #define IEventSystem_get_EventObjectChangeEventClassID(This,pbstrEventClassID)
  312.     (This)->lpVtbl -> get_EventObjectChangeEventClassID(This,pbstrEventClassID)
  313. #define IEventSystem_QueryS(This,progID,queryCriteria,ppInterface)
  314.     (This)->lpVtbl -> QueryS(This,progID,queryCriteria,ppInterface)
  315. #define IEventSystem_RemoveS(This,progID,queryCriteria)
  316.     (This)->lpVtbl -> RemoveS(This,progID,queryCriteria)
  317. #endif /* COBJMACROS */
  318. #endif  /* C style interface */
  319. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventSystem_Query_Proxy( 
  320.     IEventSystem * This,
  321.     /* [in] */ BSTR progID,
  322.     /* [in] */ BSTR queryCriteria,
  323.     /* [out] */ int *errorIndex,
  324.     /* [retval][out] */ IUnknown **ppInterface);
  325. void __RPC_STUB IEventSystem_Query_Stub(
  326.     IRpcStubBuffer *This,
  327.     IRpcChannelBuffer *_pRpcChannelBuffer,
  328.     PRPC_MESSAGE _pRpcMessage,
  329.     DWORD *_pdwStubPhase);
  330. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventSystem_Store_Proxy( 
  331.     IEventSystem * This,
  332.     /* [in] */ BSTR ProgID,
  333.     /* [in] */ IUnknown *pInterface);
  334. void __RPC_STUB IEventSystem_Store_Stub(
  335.     IRpcStubBuffer *This,
  336.     IRpcChannelBuffer *_pRpcChannelBuffer,
  337.     PRPC_MESSAGE _pRpcMessage,
  338.     DWORD *_pdwStubPhase);
  339. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventSystem_Remove_Proxy( 
  340.     IEventSystem * This,
  341.     /* [in] */ BSTR progID,
  342.     /* [in] */ BSTR queryCriteria,
  343.     /* [out] */ int *errorIndex);
  344. void __RPC_STUB IEventSystem_Remove_Stub(
  345.     IRpcStubBuffer *This,
  346.     IRpcChannelBuffer *_pRpcChannelBuffer,
  347.     PRPC_MESSAGE _pRpcMessage,
  348.     DWORD *_pdwStubPhase);
  349. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IEventSystem_get_EventObjectChangeEventClassID_Proxy( 
  350.     IEventSystem * This,
  351.     /* [retval][out] */ BSTR *pbstrEventClassID);
  352. void __RPC_STUB IEventSystem_get_EventObjectChangeEventClassID_Stub(
  353.     IRpcStubBuffer *This,
  354.     IRpcChannelBuffer *_pRpcChannelBuffer,
  355.     PRPC_MESSAGE _pRpcMessage,
  356.     DWORD *_pdwStubPhase);
  357. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventSystem_QueryS_Proxy( 
  358.     IEventSystem * This,
  359.     /* [in] */ BSTR progID,
  360.     /* [in] */ BSTR queryCriteria,
  361.     /* [retval][out] */ IUnknown **ppInterface);
  362. void __RPC_STUB IEventSystem_QueryS_Stub(
  363.     IRpcStubBuffer *This,
  364.     IRpcChannelBuffer *_pRpcChannelBuffer,
  365.     PRPC_MESSAGE _pRpcMessage,
  366.     DWORD *_pdwStubPhase);
  367. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventSystem_RemoveS_Proxy( 
  368.     IEventSystem * This,
  369.     /* [in] */ BSTR progID,
  370.     /* [in] */ BSTR queryCriteria);
  371. void __RPC_STUB IEventSystem_RemoveS_Stub(
  372.     IRpcStubBuffer *This,
  373.     IRpcChannelBuffer *_pRpcChannelBuffer,
  374.     PRPC_MESSAGE _pRpcMessage,
  375.     DWORD *_pdwStubPhase);
  376. #endif  /* __IEventSystem_INTERFACE_DEFINED__ */
  377. #ifndef __IEventPublisher_INTERFACE_DEFINED__
  378. #define __IEventPublisher_INTERFACE_DEFINED__
  379. /* interface IEventPublisher */
  380. /* [unique][helpstring][dual][uuid][object] */ 
  381. // ********************************************
  382. // This is a Deprecated interface - Do Not Use.
  383. // ********************************************
  384. EXTERN_C const IID IID_IEventPublisher;
  385. #if defined(__cplusplus) && !defined(CINTERFACE)
  386.     
  387.     MIDL_INTERFACE("E341516B-2E32-11D1-9964-00C04FBBB345")
  388.     IEventPublisher : public IDispatch
  389.     {
  390.     public:
  391.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherID( 
  392.             /* [retval][out] */ BSTR *pbstrPublisherID) = 0;
  393.         
  394.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherID( 
  395.             /* [in] */ BSTR bstrPublisherID) = 0;
  396.         
  397.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherName( 
  398.             /* [retval][out] */ BSTR *pbstrPublisherName) = 0;
  399.         
  400.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherName( 
  401.             /* [in] */ BSTR bstrPublisherName) = 0;
  402.         
  403.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherType( 
  404.             /* [retval][out] */ BSTR *pbstrPublisherType) = 0;
  405.         
  406.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherType( 
  407.             /* [in] */ BSTR bstrPublisherType) = 0;
  408.         
  409.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OwnerSID( 
  410.             /* [retval][out] */ BSTR *pbstrOwnerSID) = 0;
  411.         
  412.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OwnerSID( 
  413.             /* [in] */ BSTR bstrOwnerSID) = 0;
  414.         
  415.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( 
  416.             /* [retval][out] */ BSTR *pbstrDescription) = 0;
  417.         
  418.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description( 
  419.             /* [in] */ BSTR bstrDescription) = 0;
  420.         
  421.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDefaultProperty( 
  422.             /* [in] */ BSTR bstrPropertyName,
  423.             /* [retval][out] */ VARIANT *propertyValue) = 0;
  424.         
  425.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutDefaultProperty( 
  426.             /* [in] */ BSTR bstrPropertyName,
  427.             /* [in] */ VARIANT *propertyValue) = 0;
  428.         
  429.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveDefaultProperty( 
  430.             /* [in] */ BSTR bstrPropertyName) = 0;
  431.         
  432.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDefaultPropertyCollection( 
  433.             /* [retval][out] */ IEventObjectCollection **collection) = 0;
  434.         
  435.     };
  436.     
  437. #else  /* C style interface */
  438.     typedef struct IEventPublisherVtbl
  439.     {
  440.         BEGIN_INTERFACE
  441.         
  442.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  443.             IEventPublisher * This,
  444.             /* [in] */ REFIID riid,
  445.             /* [iid_is][out] */ void **ppvObject);
  446.         
  447.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  448.             IEventPublisher * This);
  449.         
  450.         ULONG ( STDMETHODCALLTYPE *Release )( 
  451.             IEventPublisher * This);
  452.         
  453.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  454.             IEventPublisher * This,
  455.             /* [out] */ UINT *pctinfo);
  456.         
  457.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  458.             IEventPublisher * This,
  459.             /* [in] */ UINT iTInfo,
  460.             /* [in] */ LCID lcid,
  461.             /* [out] */ ITypeInfo **ppTInfo);
  462.         
  463.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  464.             IEventPublisher * This,
  465.             /* [in] */ REFIID riid,
  466.             /* [size_is][in] */ LPOLESTR *rgszNames,
  467.             /* [in] */ UINT cNames,
  468.             /* [in] */ LCID lcid,
  469.             /* [size_is][out] */ DISPID *rgDispId);
  470.         
  471.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  472.             IEventPublisher * This,
  473.             /* [in] */ DISPID dispIdMember,
  474.             /* [in] */ REFIID riid,
  475.             /* [in] */ LCID lcid,
  476.             /* [in] */ WORD wFlags,
  477.             /* [out][in] */ DISPPARAMS *pDispParams,
  478.             /* [out] */ VARIANT *pVarResult,
  479.             /* [out] */ EXCEPINFO *pExcepInfo,
  480.             /* [out] */ UINT *puArgErr);
  481.         
  482.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherID )( 
  483.             IEventPublisher * This,
  484.             /* [retval][out] */ BSTR *pbstrPublisherID);
  485.         
  486.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherID )( 
  487.             IEventPublisher * This,
  488.             /* [in] */ BSTR bstrPublisherID);
  489.         
  490.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherName )( 
  491.             IEventPublisher * This,
  492.             /* [retval][out] */ BSTR *pbstrPublisherName);
  493.         
  494.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherName )( 
  495.             IEventPublisher * This,
  496.             /* [in] */ BSTR bstrPublisherName);
  497.         
  498.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherType )( 
  499.             IEventPublisher * This,
  500.             /* [retval][out] */ BSTR *pbstrPublisherType);
  501.         
  502.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherType )( 
  503.             IEventPublisher * This,
  504.             /* [in] */ BSTR bstrPublisherType);
  505.         
  506.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSID )( 
  507.             IEventPublisher * This,
  508.             /* [retval][out] */ BSTR *pbstrOwnerSID);
  509.         
  510.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OwnerSID )( 
  511.             IEventPublisher * This,
  512.             /* [in] */ BSTR bstrOwnerSID);
  513.         
  514.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( 
  515.             IEventPublisher * This,
  516.             /* [retval][out] */ BSTR *pbstrDescription);
  517.         
  518.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( 
  519.             IEventPublisher * This,
  520.             /* [in] */ BSTR bstrDescription);
  521.         
  522.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDefaultProperty )( 
  523.             IEventPublisher * This,
  524.             /* [in] */ BSTR bstrPropertyName,
  525.             /* [retval][out] */ VARIANT *propertyValue);
  526.         
  527.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutDefaultProperty )( 
  528.             IEventPublisher * This,
  529.             /* [in] */ BSTR bstrPropertyName,
  530.             /* [in] */ VARIANT *propertyValue);
  531.         
  532.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveDefaultProperty )( 
  533.             IEventPublisher * This,
  534.             /* [in] */ BSTR bstrPropertyName);
  535.         
  536.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDefaultPropertyCollection )( 
  537.             IEventPublisher * This,
  538.             /* [retval][out] */ IEventObjectCollection **collection);
  539.         
  540.         END_INTERFACE
  541.     } IEventPublisherVtbl;
  542.     interface IEventPublisher
  543.     {
  544.         CONST_VTBL struct IEventPublisherVtbl *lpVtbl;
  545.     };
  546.     
  547. #ifdef COBJMACROS
  548. #define IEventPublisher_QueryInterface(This,riid,ppvObject)
  549.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  550. #define IEventPublisher_AddRef(This)
  551.     (This)->lpVtbl -> AddRef(This)
  552. #define IEventPublisher_Release(This)
  553.     (This)->lpVtbl -> Release(This)
  554. #define IEventPublisher_GetTypeInfoCount(This,pctinfo)
  555.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  556. #define IEventPublisher_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  557.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  558. #define IEventPublisher_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  559.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  560. #define IEventPublisher_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  561.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  562. #define IEventPublisher_get_PublisherID(This,pbstrPublisherID)
  563.     (This)->lpVtbl -> get_PublisherID(This,pbstrPublisherID)
  564. #define IEventPublisher_put_PublisherID(This,bstrPublisherID)
  565.     (This)->lpVtbl -> put_PublisherID(This,bstrPublisherID)
  566. #define IEventPublisher_get_PublisherName(This,pbstrPublisherName)
  567.     (This)->lpVtbl -> get_PublisherName(This,pbstrPublisherName)
  568. #define IEventPublisher_put_PublisherName(This,bstrPublisherName)
  569.     (This)->lpVtbl -> put_PublisherName(This,bstrPublisherName)
  570. #define IEventPublisher_get_PublisherType(This,pbstrPublisherType)
  571.     (This)->lpVtbl -> get_PublisherType(This,pbstrPublisherType)
  572. #define IEventPublisher_put_PublisherType(This,bstrPublisherType)
  573.     (This)->lpVtbl -> put_PublisherType(This,bstrPublisherType)
  574. #define IEventPublisher_get_OwnerSID(This,pbstrOwnerSID)
  575.     (This)->lpVtbl -> get_OwnerSID(This,pbstrOwnerSID)
  576. #define IEventPublisher_put_OwnerSID(This,bstrOwnerSID)
  577.     (This)->lpVtbl -> put_OwnerSID(This,bstrOwnerSID)
  578. #define IEventPublisher_get_Description(This,pbstrDescription)
  579.     (This)->lpVtbl -> get_Description(This,pbstrDescription)
  580. #define IEventPublisher_put_Description(This,bstrDescription)
  581.     (This)->lpVtbl -> put_Description(This,bstrDescription)
  582. #define IEventPublisher_GetDefaultProperty(This,bstrPropertyName,propertyValue)
  583.     (This)->lpVtbl -> GetDefaultProperty(This,bstrPropertyName,propertyValue)
  584. #define IEventPublisher_PutDefaultProperty(This,bstrPropertyName,propertyValue)
  585.     (This)->lpVtbl -> PutDefaultProperty(This,bstrPropertyName,propertyValue)
  586. #define IEventPublisher_RemoveDefaultProperty(This,bstrPropertyName)
  587.     (This)->lpVtbl -> RemoveDefaultProperty(This,bstrPropertyName)
  588. #define IEventPublisher_GetDefaultPropertyCollection(This,collection)
  589.     (This)->lpVtbl -> GetDefaultPropertyCollection(This,collection)
  590. #endif /* COBJMACROS */
  591. #endif  /* C style interface */
  592. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventPublisher_get_PublisherID_Proxy( 
  593.     IEventPublisher * This,
  594.     /* [retval][out] */ BSTR *pbstrPublisherID);
  595. void __RPC_STUB IEventPublisher_get_PublisherID_Stub(
  596.     IRpcStubBuffer *This,
  597.     IRpcChannelBuffer *_pRpcChannelBuffer,
  598.     PRPC_MESSAGE _pRpcMessage,
  599.     DWORD *_pdwStubPhase);
  600. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventPublisher_put_PublisherID_Proxy( 
  601.     IEventPublisher * This,
  602.     /* [in] */ BSTR bstrPublisherID);
  603. void __RPC_STUB IEventPublisher_put_PublisherID_Stub(
  604.     IRpcStubBuffer *This,
  605.     IRpcChannelBuffer *_pRpcChannelBuffer,
  606.     PRPC_MESSAGE _pRpcMessage,
  607.     DWORD *_pdwStubPhase);
  608. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventPublisher_get_PublisherName_Proxy( 
  609.     IEventPublisher * This,
  610.     /* [retval][out] */ BSTR *pbstrPublisherName);
  611. void __RPC_STUB IEventPublisher_get_PublisherName_Stub(
  612.     IRpcStubBuffer *This,
  613.     IRpcChannelBuffer *_pRpcChannelBuffer,
  614.     PRPC_MESSAGE _pRpcMessage,
  615.     DWORD *_pdwStubPhase);
  616. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventPublisher_put_PublisherName_Proxy( 
  617.     IEventPublisher * This,
  618.     /* [in] */ BSTR bstrPublisherName);
  619. void __RPC_STUB IEventPublisher_put_PublisherName_Stub(
  620.     IRpcStubBuffer *This,
  621.     IRpcChannelBuffer *_pRpcChannelBuffer,
  622.     PRPC_MESSAGE _pRpcMessage,
  623.     DWORD *_pdwStubPhase);
  624. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventPublisher_get_PublisherType_Proxy( 
  625.     IEventPublisher * This,
  626.     /* [retval][out] */ BSTR *pbstrPublisherType);
  627. void __RPC_STUB IEventPublisher_get_PublisherType_Stub(
  628.     IRpcStubBuffer *This,
  629.     IRpcChannelBuffer *_pRpcChannelBuffer,
  630.     PRPC_MESSAGE _pRpcMessage,
  631.     DWORD *_pdwStubPhase);
  632. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventPublisher_put_PublisherType_Proxy( 
  633.     IEventPublisher * This,
  634.     /* [in] */ BSTR bstrPublisherType);
  635. void __RPC_STUB IEventPublisher_put_PublisherType_Stub(
  636.     IRpcStubBuffer *This,
  637.     IRpcChannelBuffer *_pRpcChannelBuffer,
  638.     PRPC_MESSAGE _pRpcMessage,
  639.     DWORD *_pdwStubPhase);
  640. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventPublisher_get_OwnerSID_Proxy( 
  641.     IEventPublisher * This,
  642.     /* [retval][out] */ BSTR *pbstrOwnerSID);
  643. void __RPC_STUB IEventPublisher_get_OwnerSID_Stub(
  644.     IRpcStubBuffer *This,
  645.     IRpcChannelBuffer *_pRpcChannelBuffer,
  646.     PRPC_MESSAGE _pRpcMessage,
  647.     DWORD *_pdwStubPhase);
  648. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventPublisher_put_OwnerSID_Proxy( 
  649.     IEventPublisher * This,
  650.     /* [in] */ BSTR bstrOwnerSID);
  651. void __RPC_STUB IEventPublisher_put_OwnerSID_Stub(
  652.     IRpcStubBuffer *This,
  653.     IRpcChannelBuffer *_pRpcChannelBuffer,
  654.     PRPC_MESSAGE _pRpcMessage,
  655.     DWORD *_pdwStubPhase);
  656. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventPublisher_get_Description_Proxy( 
  657.     IEventPublisher * This,
  658.     /* [retval][out] */ BSTR *pbstrDescription);
  659. void __RPC_STUB IEventPublisher_get_Description_Stub(
  660.     IRpcStubBuffer *This,
  661.     IRpcChannelBuffer *_pRpcChannelBuffer,
  662.     PRPC_MESSAGE _pRpcMessage,
  663.     DWORD *_pdwStubPhase);
  664. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventPublisher_put_Description_Proxy( 
  665.     IEventPublisher * This,
  666.     /* [in] */ BSTR bstrDescription);
  667. void __RPC_STUB IEventPublisher_put_Description_Stub(
  668.     IRpcStubBuffer *This,
  669.     IRpcChannelBuffer *_pRpcChannelBuffer,
  670.     PRPC_MESSAGE _pRpcMessage,
  671.     DWORD *_pdwStubPhase);
  672. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventPublisher_GetDefaultProperty_Proxy( 
  673.     IEventPublisher * This,
  674.     /* [in] */ BSTR bstrPropertyName,
  675.     /* [retval][out] */ VARIANT *propertyValue);
  676. void __RPC_STUB IEventPublisher_GetDefaultProperty_Stub(
  677.     IRpcStubBuffer *This,
  678.     IRpcChannelBuffer *_pRpcChannelBuffer,
  679.     PRPC_MESSAGE _pRpcMessage,
  680.     DWORD *_pdwStubPhase);
  681. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventPublisher_PutDefaultProperty_Proxy( 
  682.     IEventPublisher * This,
  683.     /* [in] */ BSTR bstrPropertyName,
  684.     /* [in] */ VARIANT *propertyValue);
  685. void __RPC_STUB IEventPublisher_PutDefaultProperty_Stub(
  686.     IRpcStubBuffer *This,
  687.     IRpcChannelBuffer *_pRpcChannelBuffer,
  688.     PRPC_MESSAGE _pRpcMessage,
  689.     DWORD *_pdwStubPhase);
  690. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventPublisher_RemoveDefaultProperty_Proxy( 
  691.     IEventPublisher * This,
  692.     /* [in] */ BSTR bstrPropertyName);
  693. void __RPC_STUB IEventPublisher_RemoveDefaultProperty_Stub(
  694.     IRpcStubBuffer *This,
  695.     IRpcChannelBuffer *_pRpcChannelBuffer,
  696.     PRPC_MESSAGE _pRpcMessage,
  697.     DWORD *_pdwStubPhase);
  698. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventPublisher_GetDefaultPropertyCollection_Proxy( 
  699.     IEventPublisher * This,
  700.     /* [retval][out] */ IEventObjectCollection **collection);
  701. void __RPC_STUB IEventPublisher_GetDefaultPropertyCollection_Stub(
  702.     IRpcStubBuffer *This,
  703.     IRpcChannelBuffer *_pRpcChannelBuffer,
  704.     PRPC_MESSAGE _pRpcMessage,
  705.     DWORD *_pdwStubPhase);
  706. #endif  /* __IEventPublisher_INTERFACE_DEFINED__ */
  707. #ifndef __IEventClass_INTERFACE_DEFINED__
  708. #define __IEventClass_INTERFACE_DEFINED__
  709. /* interface IEventClass */
  710. /* [unique][helpstring][dual][uuid][object] */ 
  711. EXTERN_C const IID IID_IEventClass;
  712. #if defined(__cplusplus) && !defined(CINTERFACE)
  713.     
  714.     MIDL_INTERFACE("fb2b72a0-7a68-11d1-88f9-0080c7d771bf")
  715.     IEventClass : public IDispatch
  716.     {
  717.     public:
  718.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventClassID( 
  719.             /* [retval][out] */ BSTR *pbstrEventClassID) = 0;
  720.         
  721.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventClassID( 
  722.             /* [in] */ BSTR bstrEventClassID) = 0;
  723.         
  724.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventClassName( 
  725.             /* [retval][out] */ BSTR *pbstrEventClassName) = 0;
  726.         
  727.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventClassName( 
  728.             /* [in] */ BSTR bstrEventClassName) = 0;
  729.         
  730.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OwnerSID( 
  731.             /* [retval][out] */ BSTR *pbstrOwnerSID) = 0;
  732.         
  733.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OwnerSID( 
  734.             /* [in] */ BSTR bstrOwnerSID) = 0;
  735.         
  736.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FiringInterfaceID( 
  737.             /* [retval][out] */ BSTR *pbstrFiringInterfaceID) = 0;
  738.         
  739.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FiringInterfaceID( 
  740.             /* [in] */ BSTR bstrFiringInterfaceID) = 0;
  741.         
  742.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( 
  743.             /* [retval][out] */ BSTR *pbstrDescription) = 0;
  744.         
  745.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description( 
  746.             /* [in] */ BSTR bstrDescription) = 0;
  747.         
  748.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CustomConfigCLSID( 
  749.             /* [retval][out] */ BSTR *pbstrCustomConfigCLSID) = 0;
  750.         
  751.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CustomConfigCLSID( 
  752.             /* [in] */ BSTR bstrCustomConfigCLSID) = 0;
  753.         
  754.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TypeLib( 
  755.             /* [retval][out] */ BSTR *pbstrTypeLib) = 0;
  756.         
  757.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TypeLib( 
  758.             /* [in] */ BSTR bstrTypeLib) = 0;
  759.         
  760.     };
  761.     
  762. #else  /* C style interface */
  763.     typedef struct IEventClassVtbl
  764.     {
  765.         BEGIN_INTERFACE
  766.         
  767.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  768.             IEventClass * This,
  769.             /* [in] */ REFIID riid,
  770.             /* [iid_is][out] */ void **ppvObject);
  771.         
  772.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  773.             IEventClass * This);
  774.         
  775.         ULONG ( STDMETHODCALLTYPE *Release )( 
  776.             IEventClass * This);
  777.         
  778.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  779.             IEventClass * This,
  780.             /* [out] */ UINT *pctinfo);
  781.         
  782.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  783.             IEventClass * This,
  784.             /* [in] */ UINT iTInfo,
  785.             /* [in] */ LCID lcid,
  786.             /* [out] */ ITypeInfo **ppTInfo);
  787.         
  788.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  789.             IEventClass * This,
  790.             /* [in] */ REFIID riid,
  791.             /* [size_is][in] */ LPOLESTR *rgszNames,
  792.             /* [in] */ UINT cNames,
  793.             /* [in] */ LCID lcid,
  794.             /* [size_is][out] */ DISPID *rgDispId);
  795.         
  796.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  797.             IEventClass * This,
  798.             /* [in] */ DISPID dispIdMember,
  799.             /* [in] */ REFIID riid,
  800.             /* [in] */ LCID lcid,
  801.             /* [in] */ WORD wFlags,
  802.             /* [out][in] */ DISPPARAMS *pDispParams,
  803.             /* [out] */ VARIANT *pVarResult,
  804.             /* [out] */ EXCEPINFO *pExcepInfo,
  805.             /* [out] */ UINT *puArgErr);
  806.         
  807.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassID )( 
  808.             IEventClass * This,
  809.             /* [retval][out] */ BSTR *pbstrEventClassID);
  810.         
  811.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassID )( 
  812.             IEventClass * This,
  813.             /* [in] */ BSTR bstrEventClassID);
  814.         
  815.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassName )( 
  816.             IEventClass * This,
  817.             /* [retval][out] */ BSTR *pbstrEventClassName);
  818.         
  819.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassName )( 
  820.             IEventClass * This,
  821.             /* [in] */ BSTR bstrEventClassName);
  822.         
  823.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSID )( 
  824.             IEventClass * This,
  825.             /* [retval][out] */ BSTR *pbstrOwnerSID);
  826.         
  827.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OwnerSID )( 
  828.             IEventClass * This,
  829.             /* [in] */ BSTR bstrOwnerSID);
  830.         
  831.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FiringInterfaceID )( 
  832.             IEventClass * This,
  833.             /* [retval][out] */ BSTR *pbstrFiringInterfaceID);
  834.         
  835.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FiringInterfaceID )( 
  836.             IEventClass * This,
  837.             /* [in] */ BSTR bstrFiringInterfaceID);
  838.         
  839.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( 
  840.             IEventClass * This,
  841.             /* [retval][out] */ BSTR *pbstrDescription);
  842.         
  843.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( 
  844.             IEventClass * This,
  845.             /* [in] */ BSTR bstrDescription);
  846.         
  847.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CustomConfigCLSID )( 
  848.             IEventClass * This,
  849.             /* [retval][out] */ BSTR *pbstrCustomConfigCLSID);
  850.         
  851.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CustomConfigCLSID )( 
  852.             IEventClass * This,
  853.             /* [in] */ BSTR bstrCustomConfigCLSID);
  854.         
  855.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TypeLib )( 
  856.             IEventClass * This,
  857.             /* [retval][out] */ BSTR *pbstrTypeLib);
  858.         
  859.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TypeLib )( 
  860.             IEventClass * This,
  861.             /* [in] */ BSTR bstrTypeLib);
  862.         
  863.         END_INTERFACE
  864.     } IEventClassVtbl;
  865.     interface IEventClass
  866.     {
  867.         CONST_VTBL struct IEventClassVtbl *lpVtbl;
  868.     };
  869.     
  870. #ifdef COBJMACROS
  871. #define IEventClass_QueryInterface(This,riid,ppvObject)
  872.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  873. #define IEventClass_AddRef(This)
  874.     (This)->lpVtbl -> AddRef(This)
  875. #define IEventClass_Release(This)
  876.     (This)->lpVtbl -> Release(This)
  877. #define IEventClass_GetTypeInfoCount(This,pctinfo)
  878.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  879. #define IEventClass_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  880.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  881. #define IEventClass_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  882.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  883. #define IEventClass_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  884.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  885. #define IEventClass_get_EventClassID(This,pbstrEventClassID)
  886.     (This)->lpVtbl -> get_EventClassID(This,pbstrEventClassID)
  887. #define IEventClass_put_EventClassID(This,bstrEventClassID)
  888.     (This)->lpVtbl -> put_EventClassID(This,bstrEventClassID)
  889. #define IEventClass_get_EventClassName(This,pbstrEventClassName)
  890.     (This)->lpVtbl -> get_EventClassName(This,pbstrEventClassName)
  891. #define IEventClass_put_EventClassName(This,bstrEventClassName)
  892.     (This)->lpVtbl -> put_EventClassName(This,bstrEventClassName)
  893. #define IEventClass_get_OwnerSID(This,pbstrOwnerSID)
  894.     (This)->lpVtbl -> get_OwnerSID(This,pbstrOwnerSID)
  895. #define IEventClass_put_OwnerSID(This,bstrOwnerSID)
  896.     (This)->lpVtbl -> put_OwnerSID(This,bstrOwnerSID)
  897. #define IEventClass_get_FiringInterfaceID(This,pbstrFiringInterfaceID)
  898.     (This)->lpVtbl -> get_FiringInterfaceID(This,pbstrFiringInterfaceID)
  899. #define IEventClass_put_FiringInterfaceID(This,bstrFiringInterfaceID)
  900.     (This)->lpVtbl -> put_FiringInterfaceID(This,bstrFiringInterfaceID)
  901. #define IEventClass_get_Description(This,pbstrDescription)
  902.     (This)->lpVtbl -> get_Description(This,pbstrDescription)
  903. #define IEventClass_put_Description(This,bstrDescription)
  904.     (This)->lpVtbl -> put_Description(This,bstrDescription)
  905. #define IEventClass_get_CustomConfigCLSID(This,pbstrCustomConfigCLSID)
  906.     (This)->lpVtbl -> get_CustomConfigCLSID(This,pbstrCustomConfigCLSID)
  907. #define IEventClass_put_CustomConfigCLSID(This,bstrCustomConfigCLSID)
  908.     (This)->lpVtbl -> put_CustomConfigCLSID(This,bstrCustomConfigCLSID)
  909. #define IEventClass_get_TypeLib(This,pbstrTypeLib)
  910.     (This)->lpVtbl -> get_TypeLib(This,pbstrTypeLib)
  911. #define IEventClass_put_TypeLib(This,bstrTypeLib)
  912.     (This)->lpVtbl -> put_TypeLib(This,bstrTypeLib)
  913. #endif /* COBJMACROS */
  914. #endif  /* C style interface */
  915. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventClass_get_EventClassID_Proxy( 
  916.     IEventClass * This,
  917.     /* [retval][out] */ BSTR *pbstrEventClassID);
  918. void __RPC_STUB IEventClass_get_EventClassID_Stub(
  919.     IRpcStubBuffer *This,
  920.     IRpcChannelBuffer *_pRpcChannelBuffer,
  921.     PRPC_MESSAGE _pRpcMessage,
  922.     DWORD *_pdwStubPhase);
  923. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventClass_put_EventClassID_Proxy( 
  924.     IEventClass * This,
  925.     /* [in] */ BSTR bstrEventClassID);
  926. void __RPC_STUB IEventClass_put_EventClassID_Stub(
  927.     IRpcStubBuffer *This,
  928.     IRpcChannelBuffer *_pRpcChannelBuffer,
  929.     PRPC_MESSAGE _pRpcMessage,
  930.     DWORD *_pdwStubPhase);
  931. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventClass_get_EventClassName_Proxy( 
  932.     IEventClass * This,
  933.     /* [retval][out] */ BSTR *pbstrEventClassName);
  934. void __RPC_STUB IEventClass_get_EventClassName_Stub(
  935.     IRpcStubBuffer *This,
  936.     IRpcChannelBuffer *_pRpcChannelBuffer,
  937.     PRPC_MESSAGE _pRpcMessage,
  938.     DWORD *_pdwStubPhase);
  939. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventClass_put_EventClassName_Proxy( 
  940.     IEventClass * This,
  941.     /* [in] */ BSTR bstrEventClassName);
  942. void __RPC_STUB IEventClass_put_EventClassName_Stub(
  943.     IRpcStubBuffer *This,
  944.     IRpcChannelBuffer *_pRpcChannelBuffer,
  945.     PRPC_MESSAGE _pRpcMessage,
  946.     DWORD *_pdwStubPhase);
  947. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventClass_get_OwnerSID_Proxy( 
  948.     IEventClass * This,
  949.     /* [retval][out] */ BSTR *pbstrOwnerSID);
  950. void __RPC_STUB IEventClass_get_OwnerSID_Stub(
  951.     IRpcStubBuffer *This,
  952.     IRpcChannelBuffer *_pRpcChannelBuffer,
  953.     PRPC_MESSAGE _pRpcMessage,
  954.     DWORD *_pdwStubPhase);
  955. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventClass_put_OwnerSID_Proxy( 
  956.     IEventClass * This,
  957.     /* [in] */ BSTR bstrOwnerSID);
  958. void __RPC_STUB IEventClass_put_OwnerSID_Stub(
  959.     IRpcStubBuffer *This,
  960.     IRpcChannelBuffer *_pRpcChannelBuffer,
  961.     PRPC_MESSAGE _pRpcMessage,
  962.     DWORD *_pdwStubPhase);
  963. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventClass_get_FiringInterfaceID_Proxy( 
  964.     IEventClass * This,
  965.     /* [retval][out] */ BSTR *pbstrFiringInterfaceID);
  966. void __RPC_STUB IEventClass_get_FiringInterfaceID_Stub(
  967.     IRpcStubBuffer *This,
  968.     IRpcChannelBuffer *_pRpcChannelBuffer,
  969.     PRPC_MESSAGE _pRpcMessage,
  970.     DWORD *_pdwStubPhase);
  971. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventClass_put_FiringInterfaceID_Proxy( 
  972.     IEventClass * This,
  973.     /* [in] */ BSTR bstrFiringInterfaceID);
  974. void __RPC_STUB IEventClass_put_FiringInterfaceID_Stub(
  975.     IRpcStubBuffer *This,
  976.     IRpcChannelBuffer *_pRpcChannelBuffer,
  977.     PRPC_MESSAGE _pRpcMessage,
  978.     DWORD *_pdwStubPhase);
  979. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventClass_get_Description_Proxy( 
  980.     IEventClass * This,
  981.     /* [retval][out] */ BSTR *pbstrDescription);
  982. void __RPC_STUB IEventClass_get_Description_Stub(
  983.     IRpcStubBuffer *This,
  984.     IRpcChannelBuffer *_pRpcChannelBuffer,
  985.     PRPC_MESSAGE _pRpcMessage,
  986.     DWORD *_pdwStubPhase);
  987. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventClass_put_Description_Proxy( 
  988.     IEventClass * This,
  989.     /* [in] */ BSTR bstrDescription);
  990. void __RPC_STUB IEventClass_put_Description_Stub(
  991.     IRpcStubBuffer *This,
  992.     IRpcChannelBuffer *_pRpcChannelBuffer,
  993.     PRPC_MESSAGE _pRpcMessage,
  994.     DWORD *_pdwStubPhase);
  995. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventClass_get_CustomConfigCLSID_Proxy( 
  996.     IEventClass * This,
  997.     /* [retval][out] */ BSTR *pbstrCustomConfigCLSID);
  998. void __RPC_STUB IEventClass_get_CustomConfigCLSID_Stub(
  999.     IRpcStubBuffer *This,
  1000.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1001.     PRPC_MESSAGE _pRpcMessage,
  1002.     DWORD *_pdwStubPhase);
  1003. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventClass_put_CustomConfigCLSID_Proxy( 
  1004.     IEventClass * This,
  1005.     /* [in] */ BSTR bstrCustomConfigCLSID);
  1006. void __RPC_STUB IEventClass_put_CustomConfigCLSID_Stub(
  1007.     IRpcStubBuffer *This,
  1008.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1009.     PRPC_MESSAGE _pRpcMessage,
  1010.     DWORD *_pdwStubPhase);
  1011. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventClass_get_TypeLib_Proxy( 
  1012.     IEventClass * This,
  1013.     /* [retval][out] */ BSTR *pbstrTypeLib);
  1014. void __RPC_STUB IEventClass_get_TypeLib_Stub(
  1015.     IRpcStubBuffer *This,
  1016.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1017.     PRPC_MESSAGE _pRpcMessage,
  1018.     DWORD *_pdwStubPhase);
  1019. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventClass_put_TypeLib_Proxy( 
  1020.     IEventClass * This,
  1021.     /* [in] */ BSTR bstrTypeLib);
  1022. void __RPC_STUB IEventClass_put_TypeLib_Stub(
  1023.     IRpcStubBuffer *This,
  1024.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1025.     PRPC_MESSAGE _pRpcMessage,
  1026.     DWORD *_pdwStubPhase);
  1027. #endif  /* __IEventClass_INTERFACE_DEFINED__ */
  1028. #ifndef __IEventClass2_INTERFACE_DEFINED__
  1029. #define __IEventClass2_INTERFACE_DEFINED__
  1030. /* interface IEventClass2 */
  1031. /* [unique][helpstring][dual][uuid][object] */ 
  1032. EXTERN_C const IID IID_IEventClass2;
  1033. #if defined(__cplusplus) && !defined(CINTERFACE)
  1034.     
  1035.     MIDL_INTERFACE("fb2b72a1-7a68-11d1-88f9-0080c7d771bf")
  1036.     IEventClass2 : public IEventClass
  1037.     {
  1038.     public:
  1039.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_PublisherID( 
  1040.             /* [retval][out] */ BSTR *pbstrPublisherID) = 0;
  1041.         
  1042.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_PublisherID( 
  1043.             /* [in] */ BSTR bstrPublisherID) = 0;
  1044.         
  1045.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MultiInterfacePublisherFilterCLSID( 
  1046.             /* [retval][out] */ BSTR *pbstrPubFilCLSID) = 0;
  1047.         
  1048.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_MultiInterfacePublisherFilterCLSID( 
  1049.             /* [in] */ BSTR bstrPubFilCLSID) = 0;
  1050.         
  1051.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowInprocActivation( 
  1052.             /* [retval][out] */ BOOL *pfAllowInprocActivation) = 0;
  1053.         
  1054.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowInprocActivation( 
  1055.             /* [in] */ BOOL fAllowInprocActivation) = 0;
  1056.         
  1057.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_FireInParallel( 
  1058.             /* [retval][out] */ BOOL *pfFireInParallel) = 0;
  1059.         
  1060.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_FireInParallel( 
  1061.             /* [in] */ BOOL fFireInParallel) = 0;
  1062.         
  1063.     };
  1064.     
  1065. #else  /* C style interface */
  1066.     typedef struct IEventClass2Vtbl
  1067.     {
  1068.         BEGIN_INTERFACE
  1069.         
  1070.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1071.             IEventClass2 * This,
  1072.             /* [in] */ REFIID riid,
  1073.             /* [iid_is][out] */ void **ppvObject);
  1074.         
  1075.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1076.             IEventClass2 * This);
  1077.         
  1078.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1079.             IEventClass2 * This);
  1080.         
  1081.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1082.             IEventClass2 * This,
  1083.             /* [out] */ UINT *pctinfo);
  1084.         
  1085.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1086.             IEventClass2 * This,
  1087.             /* [in] */ UINT iTInfo,
  1088.             /* [in] */ LCID lcid,
  1089.             /* [out] */ ITypeInfo **ppTInfo);
  1090.         
  1091.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1092.             IEventClass2 * This,
  1093.             /* [in] */ REFIID riid,
  1094.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1095.             /* [in] */ UINT cNames,
  1096.             /* [in] */ LCID lcid,
  1097.             /* [size_is][out] */ DISPID *rgDispId);
  1098.         
  1099.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1100.             IEventClass2 * This,
  1101.             /* [in] */ DISPID dispIdMember,
  1102.             /* [in] */ REFIID riid,
  1103.             /* [in] */ LCID lcid,
  1104.             /* [in] */ WORD wFlags,
  1105.             /* [out][in] */ DISPPARAMS *pDispParams,
  1106.             /* [out] */ VARIANT *pVarResult,
  1107.             /* [out] */ EXCEPINFO *pExcepInfo,
  1108.             /* [out] */ UINT *puArgErr);
  1109.         
  1110.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassID )( 
  1111.             IEventClass2 * This,
  1112.             /* [retval][out] */ BSTR *pbstrEventClassID);
  1113.         
  1114.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassID )( 
  1115.             IEventClass2 * This,
  1116.             /* [in] */ BSTR bstrEventClassID);
  1117.         
  1118.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassName )( 
  1119.             IEventClass2 * This,
  1120.             /* [retval][out] */ BSTR *pbstrEventClassName);
  1121.         
  1122.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassName )( 
  1123.             IEventClass2 * This,
  1124.             /* [in] */ BSTR bstrEventClassName);
  1125.         
  1126.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSID )( 
  1127.             IEventClass2 * This,
  1128.             /* [retval][out] */ BSTR *pbstrOwnerSID);
  1129.         
  1130.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OwnerSID )( 
  1131.             IEventClass2 * This,
  1132.             /* [in] */ BSTR bstrOwnerSID);
  1133.         
  1134.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FiringInterfaceID )( 
  1135.             IEventClass2 * This,
  1136.             /* [retval][out] */ BSTR *pbstrFiringInterfaceID);
  1137.         
  1138.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FiringInterfaceID )( 
  1139.             IEventClass2 * This,
  1140.             /* [in] */ BSTR bstrFiringInterfaceID);
  1141.         
  1142.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( 
  1143.             IEventClass2 * This,
  1144.             /* [retval][out] */ BSTR *pbstrDescription);
  1145.         
  1146.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( 
  1147.             IEventClass2 * This,
  1148.             /* [in] */ BSTR bstrDescription);
  1149.         
  1150.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CustomConfigCLSID )( 
  1151.             IEventClass2 * This,
  1152.             /* [retval][out] */ BSTR *pbstrCustomConfigCLSID);
  1153.         
  1154.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CustomConfigCLSID )( 
  1155.             IEventClass2 * This,
  1156.             /* [in] */ BSTR bstrCustomConfigCLSID);
  1157.         
  1158.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TypeLib )( 
  1159.             IEventClass2 * This,
  1160.             /* [retval][out] */ BSTR *pbstrTypeLib);
  1161.         
  1162.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TypeLib )( 
  1163.             IEventClass2 * This,
  1164.             /* [in] */ BSTR bstrTypeLib);
  1165.         
  1166.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherID )( 
  1167.             IEventClass2 * This,
  1168.             /* [retval][out] */ BSTR *pbstrPublisherID);
  1169.         
  1170.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherID )( 
  1171.             IEventClass2 * This,
  1172.             /* [in] */ BSTR bstrPublisherID);
  1173.         
  1174.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MultiInterfacePublisherFilterCLSID )( 
  1175.             IEventClass2 * This,
  1176.             /* [retval][out] */ BSTR *pbstrPubFilCLSID);
  1177.         
  1178.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MultiInterfacePublisherFilterCLSID )( 
  1179.             IEventClass2 * This,
  1180.             /* [in] */ BSTR bstrPubFilCLSID);
  1181.         
  1182.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowInprocActivation )( 
  1183.             IEventClass2 * This,
  1184.             /* [retval][out] */ BOOL *pfAllowInprocActivation);
  1185.         
  1186.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowInprocActivation )( 
  1187.             IEventClass2 * This,
  1188.             /* [in] */ BOOL fAllowInprocActivation);
  1189.         
  1190.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FireInParallel )( 
  1191.             IEventClass2 * This,
  1192.             /* [retval][out] */ BOOL *pfFireInParallel);
  1193.         
  1194.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_FireInParallel )( 
  1195.             IEventClass2 * This,
  1196.             /* [in] */ BOOL fFireInParallel);
  1197.         
  1198.         END_INTERFACE
  1199.     } IEventClass2Vtbl;
  1200.     interface IEventClass2
  1201.     {
  1202.         CONST_VTBL struct IEventClass2Vtbl *lpVtbl;
  1203.     };
  1204.     
  1205. #ifdef COBJMACROS
  1206. #define IEventClass2_QueryInterface(This,riid,ppvObject)
  1207.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1208. #define IEventClass2_AddRef(This)
  1209.     (This)->lpVtbl -> AddRef(This)
  1210. #define IEventClass2_Release(This)
  1211.     (This)->lpVtbl -> Release(This)
  1212. #define IEventClass2_GetTypeInfoCount(This,pctinfo)
  1213.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1214. #define IEventClass2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1215.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1216. #define IEventClass2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1217.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1218. #define IEventClass2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1219.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1220. #define IEventClass2_get_EventClassID(This,pbstrEventClassID)
  1221.     (This)->lpVtbl -> get_EventClassID(This,pbstrEventClassID)
  1222. #define IEventClass2_put_EventClassID(This,bstrEventClassID)
  1223.     (This)->lpVtbl -> put_EventClassID(This,bstrEventClassID)
  1224. #define IEventClass2_get_EventClassName(This,pbstrEventClassName)
  1225.     (This)->lpVtbl -> get_EventClassName(This,pbstrEventClassName)
  1226. #define IEventClass2_put_EventClassName(This,bstrEventClassName)
  1227.     (This)->lpVtbl -> put_EventClassName(This,bstrEventClassName)
  1228. #define IEventClass2_get_OwnerSID(This,pbstrOwnerSID)
  1229.     (This)->lpVtbl -> get_OwnerSID(This,pbstrOwnerSID)
  1230. #define IEventClass2_put_OwnerSID(This,bstrOwnerSID)
  1231.     (This)->lpVtbl -> put_OwnerSID(This,bstrOwnerSID)
  1232. #define IEventClass2_get_FiringInterfaceID(This,pbstrFiringInterfaceID)
  1233.     (This)->lpVtbl -> get_FiringInterfaceID(This,pbstrFiringInterfaceID)
  1234. #define IEventClass2_put_FiringInterfaceID(This,bstrFiringInterfaceID)
  1235.     (This)->lpVtbl -> put_FiringInterfaceID(This,bstrFiringInterfaceID)
  1236. #define IEventClass2_get_Description(This,pbstrDescription)
  1237.     (This)->lpVtbl -> get_Description(This,pbstrDescription)
  1238. #define IEventClass2_put_Description(This,bstrDescription)
  1239.     (This)->lpVtbl -> put_Description(This,bstrDescription)
  1240. #define IEventClass2_get_CustomConfigCLSID(This,pbstrCustomConfigCLSID)
  1241.     (This)->lpVtbl -> get_CustomConfigCLSID(This,pbstrCustomConfigCLSID)
  1242. #define IEventClass2_put_CustomConfigCLSID(This,bstrCustomConfigCLSID)
  1243.     (This)->lpVtbl -> put_CustomConfigCLSID(This,bstrCustomConfigCLSID)
  1244. #define IEventClass2_get_TypeLib(This,pbstrTypeLib)
  1245.     (This)->lpVtbl -> get_TypeLib(This,pbstrTypeLib)
  1246. #define IEventClass2_put_TypeLib(This,bstrTypeLib)
  1247.     (This)->lpVtbl -> put_TypeLib(This,bstrTypeLib)
  1248. #define IEventClass2_get_PublisherID(This,pbstrPublisherID)
  1249.     (This)->lpVtbl -> get_PublisherID(This,pbstrPublisherID)
  1250. #define IEventClass2_put_PublisherID(This,bstrPublisherID)
  1251.     (This)->lpVtbl -> put_PublisherID(This,bstrPublisherID)
  1252. #define IEventClass2_get_MultiInterfacePublisherFilterCLSID(This,pbstrPubFilCLSID)
  1253.     (This)->lpVtbl -> get_MultiInterfacePublisherFilterCLSID(This,pbstrPubFilCLSID)
  1254. #define IEventClass2_put_MultiInterfacePublisherFilterCLSID(This,bstrPubFilCLSID)
  1255.     (This)->lpVtbl -> put_MultiInterfacePublisherFilterCLSID(This,bstrPubFilCLSID)
  1256. #define IEventClass2_get_AllowInprocActivation(This,pfAllowInprocActivation)
  1257.     (This)->lpVtbl -> get_AllowInprocActivation(This,pfAllowInprocActivation)
  1258. #define IEventClass2_put_AllowInprocActivation(This,fAllowInprocActivation)
  1259.     (This)->lpVtbl -> put_AllowInprocActivation(This,fAllowInprocActivation)
  1260. #define IEventClass2_get_FireInParallel(This,pfFireInParallel)
  1261.     (This)->lpVtbl -> get_FireInParallel(This,pfFireInParallel)
  1262. #define IEventClass2_put_FireInParallel(This,fFireInParallel)
  1263.     (This)->lpVtbl -> put_FireInParallel(This,fFireInParallel)
  1264. #endif /* COBJMACROS */
  1265. #endif  /* C style interface */
  1266. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IEventClass2_get_PublisherID_Proxy( 
  1267.     IEventClass2 * This,
  1268.     /* [retval][out] */ BSTR *pbstrPublisherID);
  1269. void __RPC_STUB IEventClass2_get_PublisherID_Stub(
  1270.     IRpcStubBuffer *This,
  1271.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1272.     PRPC_MESSAGE _pRpcMessage,
  1273.     DWORD *_pdwStubPhase);
  1274. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IEventClass2_put_PublisherID_Proxy( 
  1275.     IEventClass2 * This,
  1276.     /* [in] */ BSTR bstrPublisherID);
  1277. void __RPC_STUB IEventClass2_put_PublisherID_Stub(
  1278.     IRpcStubBuffer *This,
  1279.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1280.     PRPC_MESSAGE _pRpcMessage,
  1281.     DWORD *_pdwStubPhase);
  1282. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IEventClass2_get_MultiInterfacePublisherFilterCLSID_Proxy( 
  1283.     IEventClass2 * This,
  1284.     /* [retval][out] */ BSTR *pbstrPubFilCLSID);
  1285. void __RPC_STUB IEventClass2_get_MultiInterfacePublisherFilterCLSID_Stub(
  1286.     IRpcStubBuffer *This,
  1287.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1288.     PRPC_MESSAGE _pRpcMessage,
  1289.     DWORD *_pdwStubPhase);
  1290. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IEventClass2_put_MultiInterfacePublisherFilterCLSID_Proxy( 
  1291.     IEventClass2 * This,
  1292.     /* [in] */ BSTR bstrPubFilCLSID);
  1293. void __RPC_STUB IEventClass2_put_MultiInterfacePublisherFilterCLSID_Stub(
  1294.     IRpcStubBuffer *This,
  1295.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1296.     PRPC_MESSAGE _pRpcMessage,
  1297.     DWORD *_pdwStubPhase);
  1298. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IEventClass2_get_AllowInprocActivation_Proxy( 
  1299.     IEventClass2 * This,
  1300.     /* [retval][out] */ BOOL *pfAllowInprocActivation);
  1301. void __RPC_STUB IEventClass2_get_AllowInprocActivation_Stub(
  1302.     IRpcStubBuffer *This,
  1303.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1304.     PRPC_MESSAGE _pRpcMessage,
  1305.     DWORD *_pdwStubPhase);
  1306. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IEventClass2_put_AllowInprocActivation_Proxy( 
  1307.     IEventClass2 * This,
  1308.     /* [in] */ BOOL fAllowInprocActivation);
  1309. void __RPC_STUB IEventClass2_put_AllowInprocActivation_Stub(
  1310.     IRpcStubBuffer *This,
  1311.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1312.     PRPC_MESSAGE _pRpcMessage,
  1313.     DWORD *_pdwStubPhase);
  1314. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IEventClass2_get_FireInParallel_Proxy( 
  1315.     IEventClass2 * This,
  1316.     /* [retval][out] */ BOOL *pfFireInParallel);
  1317. void __RPC_STUB IEventClass2_get_FireInParallel_Stub(
  1318.     IRpcStubBuffer *This,
  1319.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1320.     PRPC_MESSAGE _pRpcMessage,
  1321.     DWORD *_pdwStubPhase);
  1322. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IEventClass2_put_FireInParallel_Proxy( 
  1323.     IEventClass2 * This,
  1324.     /* [in] */ BOOL fFireInParallel);
  1325. void __RPC_STUB IEventClass2_put_FireInParallel_Stub(
  1326.     IRpcStubBuffer *This,
  1327.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1328.     PRPC_MESSAGE _pRpcMessage,
  1329.     DWORD *_pdwStubPhase);
  1330. #endif  /* __IEventClass2_INTERFACE_DEFINED__ */
  1331. #ifndef __IEventSubscription_INTERFACE_DEFINED__
  1332. #define __IEventSubscription_INTERFACE_DEFINED__
  1333. /* interface IEventSubscription */
  1334. /* [unique][helpstring][dual][uuid][object] */ 
  1335. EXTERN_C const IID IID_IEventSubscription;
  1336. #if defined(__cplusplus) && !defined(CINTERFACE)
  1337.     
  1338.     MIDL_INTERFACE("4A6B0E15-2E38-11D1-9965-00C04FBBB345")
  1339.     IEventSubscription : public IDispatch
  1340.     {
  1341.     public:
  1342.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubscriptionID( 
  1343.             /* [retval][out] */ BSTR *pbstrSubscriptionID) = 0;
  1344.         
  1345.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SubscriptionID( 
  1346.             /* [in] */ BSTR bstrSubscriptionID) = 0;
  1347.         
  1348.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubscriptionName( 
  1349.             /* [retval][out] */ BSTR *pbstrSubscriptionName) = 0;
  1350.         
  1351.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SubscriptionName( 
  1352.             /* [in] */ BSTR bstrSubscriptionName) = 0;
  1353.         
  1354.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherID( 
  1355.             /* [retval][out] */ BSTR *pbstrPublisherID) = 0;
  1356.         
  1357.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherID( 
  1358.             /* [in] */ BSTR bstrPublisherID) = 0;
  1359.         
  1360.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventClassID( 
  1361.             /* [retval][out] */ BSTR *pbstrEventClassID) = 0;
  1362.         
  1363.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventClassID( 
  1364.             /* [in] */ BSTR bstrEventClassID) = 0;
  1365.         
  1366.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MethodName( 
  1367.             /* [retval][out] */ BSTR *pbstrMethodName) = 0;
  1368.         
  1369.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MethodName( 
  1370.             /* [in] */ BSTR bstrMethodName) = 0;
  1371.         
  1372.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubscriberCLSID( 
  1373.             /* [retval][out] */ BSTR *pbstrSubscriberCLSID) = 0;
  1374.         
  1375.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SubscriberCLSID( 
  1376.             /* [in] */ BSTR bstrSubscriberCLSID) = 0;
  1377.         
  1378.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubscriberInterface( 
  1379.             /* [retval][out] */ IUnknown **ppSubscriberInterface) = 0;
  1380.         
  1381.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SubscriberInterface( 
  1382.             /* [in] */ IUnknown *pSubscriberInterface) = 0;
  1383.         
  1384.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PerUser( 
  1385.             /* [retval][out] */ BOOL *pfPerUser) = 0;
  1386.         
  1387.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PerUser( 
  1388.             /* [in] */ BOOL fPerUser) = 0;
  1389.         
  1390.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OwnerSID( 
  1391.             /* [retval][out] */ BSTR *pbstrOwnerSID) = 0;
  1392.         
  1393.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OwnerSID( 
  1394.             /* [in] */ BSTR bstrOwnerSID) = 0;
  1395.         
  1396.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled( 
  1397.             /* [retval][out] */ BOOL *pfEnabled) = 0;
  1398.         
  1399.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Enabled( 
  1400.             /* [in] */ BOOL fEnabled) = 0;
  1401.         
  1402.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( 
  1403.             /* [retval][out] */ BSTR *pbstrDescription) = 0;
  1404.         
  1405.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description( 
  1406.             /* [in] */ BSTR bstrDescription) = 0;
  1407.         
  1408.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MachineName( 
  1409.             /* [retval][out] */ BSTR *pbstrMachineName) = 0;
  1410.         
  1411.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MachineName( 
  1412.             /* [in] */ BSTR bstrMachineName) = 0;
  1413.         
  1414.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPublisherProperty( 
  1415.             /* [in] */ BSTR bstrPropertyName,
  1416.             /* [retval][out] */ VARIANT *propertyValue) = 0;
  1417.         
  1418.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutPublisherProperty( 
  1419.             /* [in] */ BSTR bstrPropertyName,
  1420.             /* [in] */ VARIANT *propertyValue) = 0;
  1421.         
  1422.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemovePublisherProperty( 
  1423.             /* [in] */ BSTR bstrPropertyName) = 0;
  1424.         
  1425.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPublisherPropertyCollection( 
  1426.             /* [retval][out] */ IEventObjectCollection **collection) = 0;
  1427.         
  1428.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSubscriberProperty( 
  1429.             /* [in] */ BSTR bstrPropertyName,
  1430.             /* [retval][out] */ VARIANT *propertyValue) = 0;
  1431.         
  1432.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutSubscriberProperty( 
  1433.             /* [in] */ BSTR bstrPropertyName,
  1434.             /* [in] */ VARIANT *propertyValue) = 0;
  1435.         
  1436.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveSubscriberProperty( 
  1437.             /* [in] */ BSTR bstrPropertyName) = 0;
  1438.         
  1439.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSubscriberPropertyCollection( 
  1440.             /* [retval][out] */ IEventObjectCollection **collection) = 0;
  1441.         
  1442.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_InterfaceID( 
  1443.             /* [retval][out] */ BSTR *pbstrInterfaceID) = 0;
  1444.         
  1445.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_InterfaceID( 
  1446.             /* [in] */ BSTR bstrInterfaceID) = 0;
  1447.         
  1448.     };
  1449.     
  1450. #else  /* C style interface */
  1451.     typedef struct IEventSubscriptionVtbl
  1452.     {
  1453.         BEGIN_INTERFACE
  1454.         
  1455.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1456.             IEventSubscription * This,
  1457.             /* [in] */ REFIID riid,
  1458.             /* [iid_is][out] */ void **ppvObject);
  1459.         
  1460.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1461.             IEventSubscription * This);
  1462.         
  1463.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1464.             IEventSubscription * This);
  1465.         
  1466.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1467.             IEventSubscription * This,
  1468.             /* [out] */ UINT *pctinfo);
  1469.         
  1470.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1471.             IEventSubscription * This,
  1472.             /* [in] */ UINT iTInfo,
  1473.             /* [in] */ LCID lcid,
  1474.             /* [out] */ ITypeInfo **ppTInfo);
  1475.         
  1476.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1477.             IEventSubscription * This,
  1478.             /* [in] */ REFIID riid,
  1479.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1480.             /* [in] */ UINT cNames,
  1481.             /* [in] */ LCID lcid,
  1482.             /* [size_is][out] */ DISPID *rgDispId);
  1483.         
  1484.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1485.             IEventSubscription * This,
  1486.             /* [in] */ DISPID dispIdMember,
  1487.             /* [in] */ REFIID riid,
  1488.             /* [in] */ LCID lcid,
  1489.             /* [in] */ WORD wFlags,
  1490.             /* [out][in] */ DISPPARAMS *pDispParams,
  1491.             /* [out] */ VARIANT *pVarResult,
  1492.             /* [out] */ EXCEPINFO *pExcepInfo,
  1493.             /* [out] */ UINT *puArgErr);
  1494.         
  1495.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriptionID )( 
  1496.             IEventSubscription * This,
  1497.             /* [retval][out] */ BSTR *pbstrSubscriptionID);
  1498.         
  1499.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SubscriptionID )( 
  1500.             IEventSubscription * This,
  1501.             /* [in] */ BSTR bstrSubscriptionID);
  1502.         
  1503.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriptionName )( 
  1504.             IEventSubscription * This,
  1505.             /* [retval][out] */ BSTR *pbstrSubscriptionName);
  1506.         
  1507.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SubscriptionName )( 
  1508.             IEventSubscription * This,
  1509.             /* [in] */ BSTR bstrSubscriptionName);
  1510.         
  1511.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherID )( 
  1512.             IEventSubscription * This,
  1513.             /* [retval][out] */ BSTR *pbstrPublisherID);
  1514.         
  1515.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherID )( 
  1516.             IEventSubscription * This,
  1517.             /* [in] */ BSTR bstrPublisherID);
  1518.         
  1519.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassID )( 
  1520.             IEventSubscription * This,
  1521.             /* [retval][out] */ BSTR *pbstrEventClassID);
  1522.         
  1523.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassID )( 
  1524.             IEventSubscription * This,
  1525.             /* [in] */ BSTR bstrEventClassID);
  1526.         
  1527.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MethodName )( 
  1528.             IEventSubscription * This,
  1529.             /* [retval][out] */ BSTR *pbstrMethodName);
  1530.         
  1531.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MethodName )( 
  1532.             IEventSubscription * This,
  1533.             /* [in] */ BSTR bstrMethodName);
  1534.         
  1535.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriberCLSID )( 
  1536.             IEventSubscription * This,
  1537.             /* [retval][out] */ BSTR *pbstrSubscriberCLSID);
  1538.         
  1539.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SubscriberCLSID )( 
  1540.             IEventSubscription * This,
  1541.             /* [in] */ BSTR bstrSubscriberCLSID);
  1542.         
  1543.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriberInterface )( 
  1544.             IEventSubscription * This,
  1545.             /* [retval][out] */ IUnknown **ppSubscriberInterface);
  1546.         
  1547.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SubscriberInterface )( 
  1548.             IEventSubscription * This,
  1549.             /* [in] */ IUnknown *pSubscriberInterface);
  1550.         
  1551.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PerUser )( 
  1552.             IEventSubscription * This,
  1553.             /* [retval][out] */ BOOL *pfPerUser);
  1554.         
  1555.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PerUser )( 
  1556.             IEventSubscription * This,
  1557.             /* [in] */ BOOL fPerUser);
  1558.         
  1559.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSID )( 
  1560.             IEventSubscription * This,
  1561.             /* [retval][out] */ BSTR *pbstrOwnerSID);
  1562.         
  1563.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OwnerSID )( 
  1564.             IEventSubscription * This,
  1565.             /* [in] */ BSTR bstrOwnerSID);
  1566.         
  1567.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )( 
  1568.             IEventSubscription * This,
  1569.             /* [retval][out] */ BOOL *pfEnabled);
  1570.         
  1571.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )( 
  1572.             IEventSubscription * This,
  1573.             /* [in] */ BOOL fEnabled);
  1574.         
  1575.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( 
  1576.             IEventSubscription * This,
  1577.             /* [retval][out] */ BSTR *pbstrDescription);
  1578.         
  1579.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( 
  1580.             IEventSubscription * This,
  1581.             /* [in] */ BSTR bstrDescription);
  1582.         
  1583.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MachineName )( 
  1584.             IEventSubscription * This,
  1585.             /* [retval][out] */ BSTR *pbstrMachineName);
  1586.         
  1587.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MachineName )( 
  1588.             IEventSubscription * This,
  1589.             /* [in] */ BSTR bstrMachineName);
  1590.         
  1591.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPublisherProperty )( 
  1592.             IEventSubscription * This,
  1593.             /* [in] */ BSTR bstrPropertyName,
  1594.             /* [retval][out] */ VARIANT *propertyValue);
  1595.         
  1596.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutPublisherProperty )( 
  1597.             IEventSubscription * This,
  1598.             /* [in] */ BSTR bstrPropertyName,
  1599.             /* [in] */ VARIANT *propertyValue);
  1600.         
  1601.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemovePublisherProperty )( 
  1602.             IEventSubscription * This,
  1603.             /* [in] */ BSTR bstrPropertyName);
  1604.         
  1605.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPublisherPropertyCollection )( 
  1606.             IEventSubscription * This,
  1607.             /* [retval][out] */ IEventObjectCollection **collection);
  1608.         
  1609.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSubscriberProperty )( 
  1610.             IEventSubscription * This,
  1611.             /* [in] */ BSTR bstrPropertyName,
  1612.             /* [retval][out] */ VARIANT *propertyValue);
  1613.         
  1614.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutSubscriberProperty )( 
  1615.             IEventSubscription * This,
  1616.             /* [in] */ BSTR bstrPropertyName,
  1617.             /* [in] */ VARIANT *propertyValue);
  1618.         
  1619.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveSubscriberProperty )( 
  1620.             IEventSubscription * This,
  1621.             /* [in] */ BSTR bstrPropertyName);
  1622.         
  1623.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSubscriberPropertyCollection )( 
  1624.             IEventSubscription * This,
  1625.             /* [retval][out] */ IEventObjectCollection **collection);
  1626.         
  1627.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_InterfaceID )( 
  1628.             IEventSubscription * This,
  1629.             /* [retval][out] */ BSTR *pbstrInterfaceID);
  1630.         
  1631.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_InterfaceID )( 
  1632.             IEventSubscription * This,
  1633.             /* [in] */ BSTR bstrInterfaceID);
  1634.         
  1635.         END_INTERFACE
  1636.     } IEventSubscriptionVtbl;
  1637.     interface IEventSubscription
  1638.     {
  1639.         CONST_VTBL struct IEventSubscriptionVtbl *lpVtbl;
  1640.     };
  1641.     
  1642. #ifdef COBJMACROS
  1643. #define IEventSubscription_QueryInterface(This,riid,ppvObject)
  1644.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1645. #define IEventSubscription_AddRef(This)
  1646.     (This)->lpVtbl -> AddRef(This)
  1647. #define IEventSubscription_Release(This)
  1648.     (This)->lpVtbl -> Release(This)
  1649. #define IEventSubscription_GetTypeInfoCount(This,pctinfo)
  1650.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1651. #define IEventSubscription_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1652.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1653. #define IEventSubscription_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1654.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1655. #define IEventSubscription_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1656.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1657. #define IEventSubscription_get_SubscriptionID(This,pbstrSubscriptionID)
  1658.     (This)->lpVtbl -> get_SubscriptionID(This,pbstrSubscriptionID)
  1659. #define IEventSubscription_put_SubscriptionID(This,bstrSubscriptionID)
  1660.     (This)->lpVtbl -> put_SubscriptionID(This,bstrSubscriptionID)
  1661. #define IEventSubscription_get_SubscriptionName(This,pbstrSubscriptionName)
  1662.     (This)->lpVtbl -> get_SubscriptionName(This,pbstrSubscriptionName)
  1663. #define IEventSubscription_put_SubscriptionName(This,bstrSubscriptionName)
  1664.     (This)->lpVtbl -> put_SubscriptionName(This,bstrSubscriptionName)
  1665. #define IEventSubscription_get_PublisherID(This,pbstrPublisherID)
  1666.     (This)->lpVtbl -> get_PublisherID(This,pbstrPublisherID)
  1667. #define IEventSubscription_put_PublisherID(This,bstrPublisherID)
  1668.     (This)->lpVtbl -> put_PublisherID(This,bstrPublisherID)
  1669. #define IEventSubscription_get_EventClassID(This,pbstrEventClassID)
  1670.     (This)->lpVtbl -> get_EventClassID(This,pbstrEventClassID)
  1671. #define IEventSubscription_put_EventClassID(This,bstrEventClassID)
  1672.     (This)->lpVtbl -> put_EventClassID(This,bstrEventClassID)
  1673. #define IEventSubscription_get_MethodName(This,pbstrMethodName)
  1674.     (This)->lpVtbl -> get_MethodName(This,pbstrMethodName)
  1675. #define IEventSubscription_put_MethodName(This,bstrMethodName)
  1676.     (This)->lpVtbl -> put_MethodName(This,bstrMethodName)
  1677. #define IEventSubscription_get_SubscriberCLSID(This,pbstrSubscriberCLSID)
  1678.     (This)->lpVtbl -> get_SubscriberCLSID(This,pbstrSubscriberCLSID)
  1679. #define IEventSubscription_put_SubscriberCLSID(This,bstrSubscriberCLSID)
  1680.     (This)->lpVtbl -> put_SubscriberCLSID(This,bstrSubscriberCLSID)
  1681. #define IEventSubscription_get_SubscriberInterface(This,ppSubscriberInterface)
  1682.     (This)->lpVtbl -> get_SubscriberInterface(This,ppSubscriberInterface)
  1683. #define IEventSubscription_put_SubscriberInterface(This,pSubscriberInterface)
  1684.     (This)->lpVtbl -> put_SubscriberInterface(This,pSubscriberInterface)
  1685. #define IEventSubscription_get_PerUser(This,pfPerUser)
  1686.     (This)->lpVtbl -> get_PerUser(This,pfPerUser)
  1687. #define IEventSubscription_put_PerUser(This,fPerUser)
  1688.     (This)->lpVtbl -> put_PerUser(This,fPerUser)
  1689. #define IEventSubscription_get_OwnerSID(This,pbstrOwnerSID)
  1690.     (This)->lpVtbl -> get_OwnerSID(This,pbstrOwnerSID)
  1691. #define IEventSubscription_put_OwnerSID(This,bstrOwnerSID)
  1692.     (This)->lpVtbl -> put_OwnerSID(This,bstrOwnerSID)
  1693. #define IEventSubscription_get_Enabled(This,pfEnabled)
  1694.     (This)->lpVtbl -> get_Enabled(This,pfEnabled)
  1695. #define IEventSubscription_put_Enabled(This,fEnabled)
  1696.     (This)->lpVtbl -> put_Enabled(This,fEnabled)
  1697. #define IEventSubscription_get_Description(This,pbstrDescription)
  1698.     (This)->lpVtbl -> get_Description(This,pbstrDescription)
  1699. #define IEventSubscription_put_Description(This,bstrDescription)
  1700.     (This)->lpVtbl -> put_Description(This,bstrDescription)
  1701. #define IEventSubscription_get_MachineName(This,pbstrMachineName)
  1702.     (This)->lpVtbl -> get_MachineName(This,pbstrMachineName)
  1703. #define IEventSubscription_put_MachineName(This,bstrMachineName)
  1704.     (This)->lpVtbl -> put_MachineName(This,bstrMachineName)
  1705. #define IEventSubscription_GetPublisherProperty(This,bstrPropertyName,propertyValue)
  1706.     (This)->lpVtbl -> GetPublisherProperty(This,bstrPropertyName,propertyValue)
  1707. #define IEventSubscription_PutPublisherProperty(This,bstrPropertyName,propertyValue)
  1708.     (This)->lpVtbl -> PutPublisherProperty(This,bstrPropertyName,propertyValue)
  1709. #define IEventSubscription_RemovePublisherProperty(This,bstrPropertyName)
  1710.     (This)->lpVtbl -> RemovePublisherProperty(This,bstrPropertyName)
  1711. #define IEventSubscription_GetPublisherPropertyCollection(This,collection)
  1712.     (This)->lpVtbl -> GetPublisherPropertyCollection(This,collection)
  1713. #define IEventSubscription_GetSubscriberProperty(This,bstrPropertyName,propertyValue)
  1714.     (This)->lpVtbl -> GetSubscriberProperty(This,bstrPropertyName,propertyValue)
  1715. #define IEventSubscription_PutSubscriberProperty(This,bstrPropertyName,propertyValue)
  1716.     (This)->lpVtbl -> PutSubscriberProperty(This,bstrPropertyName,propertyValue)
  1717. #define IEventSubscription_RemoveSubscriberProperty(This,bstrPropertyName)
  1718.     (This)->lpVtbl -> RemoveSubscriberProperty(This,bstrPropertyName)
  1719. #define IEventSubscription_GetSubscriberPropertyCollection(This,collection)
  1720.     (This)->lpVtbl -> GetSubscriberPropertyCollection(This,collection)
  1721. #define IEventSubscription_get_InterfaceID(This,pbstrInterfaceID)
  1722.     (This)->lpVtbl -> get_InterfaceID(This,pbstrInterfaceID)
  1723. #define IEventSubscription_put_InterfaceID(This,bstrInterfaceID)
  1724.     (This)->lpVtbl -> put_InterfaceID(This,bstrInterfaceID)
  1725. #endif /* COBJMACROS */
  1726. #endif  /* C style interface */
  1727. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEventSubscription_get_SubscriptionID_Proxy( 
  1728.     IEventSubscription * This,
  1729.     /* [retval][out] */ BSTR *pbstrSubscriptionID);
  1730. void __RPC_STUB IEventSubscription_get_SubscriptionID_Stub(
  1731.     IRpcStubBuffer *This,
  1732.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1733.     PRPC_MESSAGE _pRpcMessage,
  1734.     DWORD *_pdwStubPhase);
  1735. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEventSubscription_put_SubscriptionID_Proxy( 
  1736.     IEventSubscription * This,
  1737.     /* [in] */ BSTR bstrSubscriptionID);
  1738. void __RPC_STUB IEventSubscription_put_SubscriptionID_Stub(
  1739.     IRpcStubBuffer *This,
  1740.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1741.     PRPC_MESSAGE _pRpcMessage,
  1742.     DWORD *_pdwStubPhase);