home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / mtsevnts.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  30KB  |  924 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.01.75 */
  5. /* at Thu Sep 11 16:03:07 1997
  6.  */
  7. /* Compiler settings for mtsevents.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __mtsevents_h__
  20. #define __mtsevents_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __IMtsEvents_FWD_DEFINED__
  29. #define __IMtsEvents_FWD_DEFINED__
  30. typedef interface IMtsEvents IMtsEvents;
  31. #endif     /* __IMtsEvents_FWD_DEFINED__ */
  32.  
  33.  
  34. #ifndef __IMtsEventInfo_FWD_DEFINED__
  35. #define __IMtsEventInfo_FWD_DEFINED__
  36. typedef interface IMtsEventInfo IMtsEventInfo;
  37. #endif     /* __IMtsEventInfo_FWD_DEFINED__ */
  38.  
  39.  
  40. #ifndef __IEventMoniker_FWD_DEFINED__
  41. #define __IEventMoniker_FWD_DEFINED__
  42. typedef interface IEventMoniker IEventMoniker;
  43. #endif     /* __IEventMoniker_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __IMTSLocater_FWD_DEFINED__
  47. #define __IMTSLocater_FWD_DEFINED__
  48. typedef interface IMTSLocater IMTSLocater;
  49. #endif     /* __IMTSLocater_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __CoMTSEvents_FWD_DEFINED__
  53. #define __CoMTSEvents_FWD_DEFINED__
  54.  
  55. #ifdef __cplusplus
  56. typedef class CoMTSEvents CoMTSEvents;
  57. #else
  58. typedef struct CoMTSEvents CoMTSEvents;
  59. #endif /* __cplusplus */
  60.  
  61. #endif     /* __CoMTSEvents_FWD_DEFINED__ */
  62.  
  63.  
  64. #ifndef __EventMoniker_FWD_DEFINED__
  65. #define __EventMoniker_FWD_DEFINED__
  66.  
  67. #ifdef __cplusplus
  68. typedef class EventMoniker EventMoniker;
  69. #else
  70. typedef struct EventMoniker EventMoniker;
  71. #endif /* __cplusplus */
  72.  
  73. #endif     /* __EventMoniker_FWD_DEFINED__ */
  74.  
  75.  
  76. #ifndef __CoMTSLocater_FWD_DEFINED__
  77. #define __CoMTSLocater_FWD_DEFINED__
  78.  
  79. #ifdef __cplusplus
  80. typedef class CoMTSLocater CoMTSLocater;
  81. #else
  82. typedef struct CoMTSLocater CoMTSLocater;
  83. #endif /* __cplusplus */
  84.  
  85. #endif     /* __CoMTSLocater_FWD_DEFINED__ */
  86.  
  87.  
  88. /* header files for imported files */
  89. #include "oaidl.h"
  90. #include "eventcpts.h"
  91.  
  92. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  93. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  94.  
  95. #ifndef __IMtsEvents_INTERFACE_DEFINED__
  96. #define __IMtsEvents_INTERFACE_DEFINED__
  97.  
  98. /****************************************
  99.  * Generated header for interface: IMtsEvents
  100.  * at Thu Sep 11 16:03:07 1997
  101.  * using MIDL 3.01.75
  102.  ****************************************/
  103. /* [unique][helpstring][dual][uuid][object] */ 
  104.  
  105.  
  106.  
  107. EXTERN_C const IID IID_IMtsEvents;
  108.  
  109. #if defined(__cplusplus) && !defined(CINTERFACE)
  110.     
  111.     interface DECLSPEC_UUID("BACEDF4D-74AB-11D0-B162-00AA00BA3258")
  112.     IMtsEvents : public IDispatch
  113.     {
  114.     public:
  115.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PackageName( 
  116.             /* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
  117.         
  118.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PackageGuid( 
  119.             /* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
  120.         
  121.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PostEvent( 
  122.             /* [in] */ VARIANT __RPC_FAR *vEvent) = 0;
  123.         
  124.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FireEvents( 
  125.             /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
  126.         
  127.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetProcessID( 
  128.             /* [retval][out] */ long __RPC_FAR *id) = 0;
  129.         
  130.     };
  131.     
  132. #else     /* C style interface */
  133.  
  134.     typedef struct IMtsEventsVtbl
  135.     {
  136.         BEGIN_INTERFACE
  137.         
  138.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  139.             IMtsEvents __RPC_FAR * This,
  140.             /* [in] */ REFIID riid,
  141.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  142.         
  143.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  144.             IMtsEvents __RPC_FAR * This);
  145.         
  146.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  147.             IMtsEvents __RPC_FAR * This);
  148.         
  149.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  150.             IMtsEvents __RPC_FAR * This,
  151.             /* [out] */ UINT __RPC_FAR *pctinfo);
  152.         
  153.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  154.             IMtsEvents __RPC_FAR * This,
  155.             /* [in] */ UINT iTInfo,
  156.             /* [in] */ LCID lcid,
  157.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  158.         
  159.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  160.             IMtsEvents __RPC_FAR * This,
  161.             /* [in] */ REFIID riid,
  162.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  163.             /* [in] */ UINT cNames,
  164.             /* [in] */ LCID lcid,
  165.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  166.         
  167.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  168.             IMtsEvents __RPC_FAR * This,
  169.             /* [in] */ DISPID dispIdMember,
  170.             /* [in] */ REFIID riid,
  171.             /* [in] */ LCID lcid,
  172.             /* [in] */ WORD wFlags,
  173.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  174.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  175.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  176.             /* [out] */ UINT __RPC_FAR *puArgErr);
  177.         
  178.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PackageName )( 
  179.             IMtsEvents __RPC_FAR * This,
  180.             /* [retval][out] */ BSTR __RPC_FAR *pVal);
  181.         
  182.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PackageGuid )( 
  183.             IMtsEvents __RPC_FAR * This,
  184.             /* [retval][out] */ BSTR __RPC_FAR *pVal);
  185.         
  186.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PostEvent )( 
  187.             IMtsEvents __RPC_FAR * This,
  188.             /* [in] */ VARIANT __RPC_FAR *vEvent);
  189.         
  190.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FireEvents )( 
  191.             IMtsEvents __RPC_FAR * This,
  192.             /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  193.         
  194.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetProcessID )( 
  195.             IMtsEvents __RPC_FAR * This,
  196.             /* [retval][out] */ long __RPC_FAR *id);
  197.         
  198.         END_INTERFACE
  199.     } IMtsEventsVtbl;
  200.  
  201.     interface IMtsEvents
  202.     {
  203.         CONST_VTBL struct IMtsEventsVtbl __RPC_FAR *lpVtbl;
  204.     };
  205.  
  206.     
  207.  
  208. #ifdef COBJMACROS
  209.  
  210.  
  211. #define IMtsEvents_QueryInterface(This,riid,ppvObject)    \
  212.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  213.  
  214. #define IMtsEvents_AddRef(This)    \
  215.     (This)->lpVtbl -> AddRef(This)
  216.  
  217. #define IMtsEvents_Release(This)    \
  218.     (This)->lpVtbl -> Release(This)
  219.  
  220.  
  221. #define IMtsEvents_GetTypeInfoCount(This,pctinfo)    \
  222.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  223.  
  224. #define IMtsEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  225.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  226.  
  227. #define IMtsEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  228.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  229.  
  230. #define IMtsEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  231.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  232.  
  233.  
  234. #define IMtsEvents_get_PackageName(This,pVal)    \
  235.     (This)->lpVtbl -> get_PackageName(This,pVal)
  236.  
  237. #define IMtsEvents_get_PackageGuid(This,pVal)    \
  238.     (This)->lpVtbl -> get_PackageGuid(This,pVal)
  239.  
  240. #define IMtsEvents_PostEvent(This,vEvent)    \
  241.     (This)->lpVtbl -> PostEvent(This,vEvent)
  242.  
  243. #define IMtsEvents_get_FireEvents(This,pVal)    \
  244.     (This)->lpVtbl -> get_FireEvents(This,pVal)
  245.  
  246. #define IMtsEvents_GetProcessID(This,id)    \
  247.     (This)->lpVtbl -> GetProcessID(This,id)
  248.  
  249. #endif /* COBJMACROS */
  250.  
  251.  
  252. #endif     /* C style interface */
  253.  
  254.  
  255.  
  256. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsEvents_get_PackageName_Proxy( 
  257.     IMtsEvents __RPC_FAR * This,
  258.     /* [retval][out] */ BSTR __RPC_FAR *pVal);
  259.  
  260.  
  261. void __RPC_STUB IMtsEvents_get_PackageName_Stub(
  262.     IRpcStubBuffer *This,
  263.     IRpcChannelBuffer *_pRpcChannelBuffer,
  264.     PRPC_MESSAGE _pRpcMessage,
  265.     DWORD *_pdwStubPhase);
  266.  
  267.  
  268. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsEvents_get_PackageGuid_Proxy( 
  269.     IMtsEvents __RPC_FAR * This,
  270.     /* [retval][out] */ BSTR __RPC_FAR *pVal);
  271.  
  272.  
  273. void __RPC_STUB IMtsEvents_get_PackageGuid_Stub(
  274.     IRpcStubBuffer *This,
  275.     IRpcChannelBuffer *_pRpcChannelBuffer,
  276.     PRPC_MESSAGE _pRpcMessage,
  277.     DWORD *_pdwStubPhase);
  278.  
  279.  
  280. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMtsEvents_PostEvent_Proxy( 
  281.     IMtsEvents __RPC_FAR * This,
  282.     /* [in] */ VARIANT __RPC_FAR *vEvent);
  283.  
  284.  
  285. void __RPC_STUB IMtsEvents_PostEvent_Stub(
  286.     IRpcStubBuffer *This,
  287.     IRpcChannelBuffer *_pRpcChannelBuffer,
  288.     PRPC_MESSAGE _pRpcMessage,
  289.     DWORD *_pdwStubPhase);
  290.  
  291.  
  292. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsEvents_get_FireEvents_Proxy( 
  293.     IMtsEvents __RPC_FAR * This,
  294.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  295.  
  296.  
  297. void __RPC_STUB IMtsEvents_get_FireEvents_Stub(
  298.     IRpcStubBuffer *This,
  299.     IRpcChannelBuffer *_pRpcChannelBuffer,
  300.     PRPC_MESSAGE _pRpcMessage,
  301.     DWORD *_pdwStubPhase);
  302.  
  303.  
  304. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMtsEvents_GetProcessID_Proxy( 
  305.     IMtsEvents __RPC_FAR * This,
  306.     /* [retval][out] */ long __RPC_FAR *id);
  307.  
  308.  
  309. void __RPC_STUB IMtsEvents_GetProcessID_Stub(
  310.     IRpcStubBuffer *This,
  311.     IRpcChannelBuffer *_pRpcChannelBuffer,
  312.     PRPC_MESSAGE _pRpcMessage,
  313.     DWORD *_pdwStubPhase);
  314.  
  315.  
  316.  
  317. #endif     /* __IMtsEvents_INTERFACE_DEFINED__ */
  318.  
  319.  
  320. #ifndef __IMtsEventInfo_INTERFACE_DEFINED__
  321. #define __IMtsEventInfo_INTERFACE_DEFINED__
  322.  
  323. /****************************************
  324.  * Generated header for interface: IMtsEventInfo
  325.  * at Thu Sep 11 16:03:07 1997
  326.  * using MIDL 3.01.75
  327.  ****************************************/
  328. /* [unique][helpstring][dual][uuid][object] */ 
  329.  
  330.  
  331.  
  332. EXTERN_C const IID IID_IMtsEventInfo;
  333.  
  334. #if defined(__cplusplus) && !defined(CINTERFACE)
  335.     
  336.     interface DECLSPEC_UUID("D56C3DC1-8482-11d0-B170-00AA00BA3258")
  337.     IMtsEventInfo : public IDispatch
  338.     {
  339.     public:
  340.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Names( 
  341.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pUnk) = 0;
  342.         
  343.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayName( 
  344.             /* [retval][out] */ BSTR __RPC_FAR *sDisplayName) = 0;
  345.         
  346.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EventID( 
  347.             /* [retval][out] */ BSTR __RPC_FAR *sGuidEventID) = 0;
  348.         
  349.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  350.             /* [retval][out] */ long __RPC_FAR *lCount) = 0;
  351.         
  352.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Value( 
  353.             /* [in] */ BSTR sKey,
  354.             /* [retval][out] */ VARIANT __RPC_FAR *pVal) = 0;
  355.         
  356.     };
  357.     
  358. #else     /* C style interface */
  359.  
  360.     typedef struct IMtsEventInfoVtbl
  361.     {
  362.         BEGIN_INTERFACE
  363.         
  364.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  365.             IMtsEventInfo __RPC_FAR * This,
  366.             /* [in] */ REFIID riid,
  367.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  368.         
  369.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  370.             IMtsEventInfo __RPC_FAR * This);
  371.         
  372.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  373.             IMtsEventInfo __RPC_FAR * This);
  374.         
  375.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  376.             IMtsEventInfo __RPC_FAR * This,
  377.             /* [out] */ UINT __RPC_FAR *pctinfo);
  378.         
  379.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  380.             IMtsEventInfo __RPC_FAR * This,
  381.             /* [in] */ UINT iTInfo,
  382.             /* [in] */ LCID lcid,
  383.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  384.         
  385.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  386.             IMtsEventInfo __RPC_FAR * This,
  387.             /* [in] */ REFIID riid,
  388.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  389.             /* [in] */ UINT cNames,
  390.             /* [in] */ LCID lcid,
  391.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  392.         
  393.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  394.             IMtsEventInfo __RPC_FAR * This,
  395.             /* [in] */ DISPID dispIdMember,
  396.             /* [in] */ REFIID riid,
  397.             /* [in] */ LCID lcid,
  398.             /* [in] */ WORD wFlags,
  399.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  400.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  401.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  402.             /* [out] */ UINT __RPC_FAR *puArgErr);
  403.         
  404.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Names )( 
  405.             IMtsEventInfo __RPC_FAR * This,
  406.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pUnk);
  407.         
  408.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DisplayName )( 
  409.             IMtsEventInfo __RPC_FAR * This,
  410.             /* [retval][out] */ BSTR __RPC_FAR *sDisplayName);
  411.         
  412.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_EventID )( 
  413.             IMtsEventInfo __RPC_FAR * This,
  414.             /* [retval][out] */ BSTR __RPC_FAR *sGuidEventID);
  415.         
  416.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )( 
  417.             IMtsEventInfo __RPC_FAR * This,
  418.             /* [retval][out] */ long __RPC_FAR *lCount);
  419.         
  420.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Value )( 
  421.             IMtsEventInfo __RPC_FAR * This,
  422.             /* [in] */ BSTR sKey,
  423.             /* [retval][out] */ VARIANT __RPC_FAR *pVal);
  424.         
  425.         END_INTERFACE
  426.     } IMtsEventInfoVtbl;
  427.  
  428.     interface IMtsEventInfo
  429.     {
  430.         CONST_VTBL struct IMtsEventInfoVtbl __RPC_FAR *lpVtbl;
  431.     };
  432.  
  433.     
  434.  
  435. #ifdef COBJMACROS
  436.  
  437.  
  438. #define IMtsEventInfo_QueryInterface(This,riid,ppvObject)    \
  439.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  440.  
  441. #define IMtsEventInfo_AddRef(This)    \
  442.     (This)->lpVtbl -> AddRef(This)
  443.  
  444. #define IMtsEventInfo_Release(This)    \
  445.     (This)->lpVtbl -> Release(This)
  446.  
  447.  
  448. #define IMtsEventInfo_GetTypeInfoCount(This,pctinfo)    \
  449.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  450.  
  451. #define IMtsEventInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  452.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  453.  
  454. #define IMtsEventInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  455.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  456.  
  457. #define IMtsEventInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  458.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  459.  
  460.  
  461. #define IMtsEventInfo_get_Names(This,pUnk)    \
  462.     (This)->lpVtbl -> get_Names(This,pUnk)
  463.  
  464. #define IMtsEventInfo_get_DisplayName(This,sDisplayName)    \
  465.     (This)->lpVtbl -> get_DisplayName(This,sDisplayName)
  466.  
  467. #define IMtsEventInfo_get_EventID(This,sGuidEventID)    \
  468.     (This)->lpVtbl -> get_EventID(This,sGuidEventID)
  469.  
  470. #define IMtsEventInfo_get_Count(This,lCount)    \
  471.     (This)->lpVtbl -> get_Count(This,lCount)
  472.  
  473. #define IMtsEventInfo_get_Value(This,sKey,pVal)    \
  474.     (This)->lpVtbl -> get_Value(This,sKey,pVal)
  475.  
  476. #endif /* COBJMACROS */
  477.  
  478.  
  479. #endif     /* C style interface */
  480.  
  481.  
  482.  
  483. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_Names_Proxy( 
  484.     IMtsEventInfo __RPC_FAR * This,
  485.     /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pUnk);
  486.  
  487.  
  488. void __RPC_STUB IMtsEventInfo_get_Names_Stub(
  489.     IRpcStubBuffer *This,
  490.     IRpcChannelBuffer *_pRpcChannelBuffer,
  491.     PRPC_MESSAGE _pRpcMessage,
  492.     DWORD *_pdwStubPhase);
  493.  
  494.  
  495. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_DisplayName_Proxy( 
  496.     IMtsEventInfo __RPC_FAR * This,
  497.     /* [retval][out] */ BSTR __RPC_FAR *sDisplayName);
  498.  
  499.  
  500. void __RPC_STUB IMtsEventInfo_get_DisplayName_Stub(
  501.     IRpcStubBuffer *This,
  502.     IRpcChannelBuffer *_pRpcChannelBuffer,
  503.     PRPC_MESSAGE _pRpcMessage,
  504.     DWORD *_pdwStubPhase);
  505.  
  506.  
  507. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_EventID_Proxy( 
  508.     IMtsEventInfo __RPC_FAR * This,
  509.     /* [retval][out] */ BSTR __RPC_FAR *sGuidEventID);
  510.  
  511.  
  512. void __RPC_STUB IMtsEventInfo_get_EventID_Stub(
  513.     IRpcStubBuffer *This,
  514.     IRpcChannelBuffer *_pRpcChannelBuffer,
  515.     PRPC_MESSAGE _pRpcMessage,
  516.     DWORD *_pdwStubPhase);
  517.  
  518.  
  519. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_Count_Proxy( 
  520.     IMtsEventInfo __RPC_FAR * This,
  521.     /* [retval][out] */ long __RPC_FAR *lCount);
  522.  
  523.  
  524. void __RPC_STUB IMtsEventInfo_get_Count_Stub(
  525.     IRpcStubBuffer *This,
  526.     IRpcChannelBuffer *_pRpcChannelBuffer,
  527.     PRPC_MESSAGE _pRpcMessage,
  528.     DWORD *_pdwStubPhase);
  529.  
  530.  
  531. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_Value_Proxy( 
  532.     IMtsEventInfo __RPC_FAR * This,
  533.     /* [in] */ BSTR sKey,
  534.     /* [retval][out] */ VARIANT __RPC_FAR *pVal);
  535.  
  536.  
  537. void __RPC_STUB IMtsEventInfo_get_Value_Stub(
  538.     IRpcStubBuffer *This,
  539.     IRpcChannelBuffer *_pRpcChannelBuffer,
  540.     PRPC_MESSAGE _pRpcMessage,
  541.     DWORD *_pdwStubPhase);
  542.  
  543.  
  544.  
  545. #endif     /* __IMtsEventInfo_INTERFACE_DEFINED__ */
  546.  
  547.  
  548. #ifndef __IEventMoniker_INTERFACE_DEFINED__
  549. #define __IEventMoniker_INTERFACE_DEFINED__
  550.  
  551. /****************************************
  552.  * Generated header for interface: IEventMoniker
  553.  * at Thu Sep 11 16:03:07 1997
  554.  * using MIDL 3.01.75
  555.  ****************************************/
  556. /* [object][unique][helpstring][hidden][uuid] */ 
  557.  
  558.  
  559.  
  560. EXTERN_C const IID IID_IEventMoniker;
  561.  
  562. #if defined(__cplusplus) && !defined(CINTERFACE)
  563.     
  564.     interface DECLSPEC_UUID("C8CF32B3-7885-11D0-B169-00AA00BA3258")
  565.     IEventMoniker : public IUnknown
  566.     {
  567.     public:
  568.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
  569.             /* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
  570.         
  571.         virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Name( 
  572.             /* [in] */ BSTR newVal) = 0;
  573.         
  574.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ID( 
  575.             /* [retval][out] */ long __RPC_FAR *pVal) = 0;
  576.         
  577.         virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_ID( 
  578.             /* [in] */ long newVal) = 0;
  579.         
  580.         virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_EventObj( 
  581.             /* [in] */ IUnknown __RPC_FAR *newVal) = 0;
  582.         
  583.     };
  584.     
  585. #else     /* C style interface */
  586.  
  587.     typedef struct IEventMonikerVtbl
  588.     {
  589.         BEGIN_INTERFACE
  590.         
  591.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  592.             IEventMoniker __RPC_FAR * This,
  593.             /* [in] */ REFIID riid,
  594.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  595.         
  596.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  597.             IEventMoniker __RPC_FAR * This);
  598.         
  599.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  600.             IEventMoniker __RPC_FAR * This);
  601.         
  602.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )( 
  603.             IEventMoniker __RPC_FAR * This,
  604.             /* [retval][out] */ BSTR __RPC_FAR *pVal);
  605.         
  606.         /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )( 
  607.             IEventMoniker __RPC_FAR * This,
  608.             /* [in] */ BSTR newVal);
  609.         
  610.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ID )( 
  611.             IEventMoniker __RPC_FAR * This,
  612.             /* [retval][out] */ long __RPC_FAR *pVal);
  613.         
  614.         /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ID )( 
  615.             IEventMoniker __RPC_FAR * This,
  616.             /* [in] */ long newVal);
  617.         
  618.         /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_EventObj )( 
  619.             IEventMoniker __RPC_FAR * This,
  620.             /* [in] */ IUnknown __RPC_FAR *newVal);
  621.         
  622.         END_INTERFACE
  623.     } IEventMonikerVtbl;
  624.  
  625.     interface IEventMoniker
  626.     {
  627.         CONST_VTBL struct IEventMonikerVtbl __RPC_FAR *lpVtbl;
  628.     };
  629.  
  630.     
  631.  
  632. #ifdef COBJMACROS
  633.  
  634.  
  635. #define IEventMoniker_QueryInterface(This,riid,ppvObject)    \
  636.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  637.  
  638. #define IEventMoniker_AddRef(This)    \
  639.     (This)->lpVtbl -> AddRef(This)
  640.  
  641. #define IEventMoniker_Release(This)    \
  642.     (This)->lpVtbl -> Release(This)
  643.  
  644.  
  645. #define IEventMoniker_get_Name(This,pVal)    \
  646.     (This)->lpVtbl -> get_Name(This,pVal)
  647.  
  648. #define IEventMoniker_put_Name(This,newVal)    \
  649.     (This)->lpVtbl -> put_Name(This,newVal)
  650.  
  651. #define IEventMoniker_get_ID(This,pVal)    \
  652.     (This)->lpVtbl -> get_ID(This,pVal)
  653.  
  654. #define IEventMoniker_put_ID(This,newVal)    \
  655.     (This)->lpVtbl -> put_ID(This,newVal)
  656.  
  657. #define IEventMoniker_put_EventObj(This,newVal)    \
  658.     (This)->lpVtbl -> put_EventObj(This,newVal)
  659.  
  660. #endif /* COBJMACROS */
  661.  
  662.  
  663. #endif     /* C style interface */
  664.  
  665.  
  666.  
  667. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IEventMoniker_get_Name_Proxy( 
  668.     IEventMoniker __RPC_FAR * This,
  669.     /* [retval][out] */ BSTR __RPC_FAR *pVal);
  670.  
  671.  
  672. void __RPC_STUB IEventMoniker_get_Name_Stub(
  673.     IRpcStubBuffer *This,
  674.     IRpcChannelBuffer *_pRpcChannelBuffer,
  675.     PRPC_MESSAGE _pRpcMessage,
  676.     DWORD *_pdwStubPhase);
  677.  
  678.  
  679. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IEventMoniker_put_Name_Proxy( 
  680.     IEventMoniker __RPC_FAR * This,
  681.     /* [in] */ BSTR newVal);
  682.  
  683.  
  684. void __RPC_STUB IEventMoniker_put_Name_Stub(
  685.     IRpcStubBuffer *This,
  686.     IRpcChannelBuffer *_pRpcChannelBuffer,
  687.     PRPC_MESSAGE _pRpcMessage,
  688.     DWORD *_pdwStubPhase);
  689.  
  690.  
  691. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IEventMoniker_get_ID_Proxy( 
  692.     IEventMoniker __RPC_FAR * This,
  693.     /* [retval][out] */ long __RPC_FAR *pVal);
  694.  
  695.  
  696. void __RPC_STUB IEventMoniker_get_ID_Stub(
  697.     IRpcStubBuffer *This,
  698.     IRpcChannelBuffer *_pRpcChannelBuffer,
  699.     PRPC_MESSAGE _pRpcMessage,
  700.     DWORD *_pdwStubPhase);
  701.  
  702.  
  703. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IEventMoniker_put_ID_Proxy( 
  704.     IEventMoniker __RPC_FAR * This,
  705.     /* [in] */ long newVal);
  706.  
  707.  
  708. void __RPC_STUB IEventMoniker_put_ID_Stub(
  709.     IRpcStubBuffer *This,
  710.     IRpcChannelBuffer *_pRpcChannelBuffer,
  711.     PRPC_MESSAGE _pRpcMessage,
  712.     DWORD *_pdwStubPhase);
  713.  
  714.  
  715. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IEventMoniker_put_EventObj_Proxy( 
  716.     IEventMoniker __RPC_FAR * This,
  717.     /* [in] */ IUnknown __RPC_FAR *newVal);
  718.  
  719.  
  720. void __RPC_STUB IEventMoniker_put_EventObj_Stub(
  721.     IRpcStubBuffer *This,
  722.     IRpcChannelBuffer *_pRpcChannelBuffer,
  723.     PRPC_MESSAGE _pRpcMessage,
  724.     DWORD *_pdwStubPhase);
  725.  
  726.  
  727.  
  728. #endif     /* __IEventMoniker_INTERFACE_DEFINED__ */
  729.  
  730.  
  731. #ifndef __IMTSLocater_INTERFACE_DEFINED__
  732. #define __IMTSLocater_INTERFACE_DEFINED__
  733.  
  734. /****************************************
  735.  * Generated header for interface: IMTSLocater
  736.  * at Thu Sep 11 16:03:07 1997
  737.  * using MIDL 3.01.75
  738.  ****************************************/
  739. /* [unique][helpstring][dual][uuid][object] */ 
  740.  
  741.  
  742.  
  743. EXTERN_C const IID IID_IMTSLocater;
  744.  
  745. #if defined(__cplusplus) && !defined(CINTERFACE)
  746.     
  747.     interface DECLSPEC_UUID("D19B8BFD-7F88-11D0-B16E-00AA00BA3258")
  748.     IMTSLocater : public IDispatch
  749.     {
  750.     public:
  751.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetEventDispatcher( 
  752.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pUnk) = 0;
  753.         
  754.     };
  755.     
  756. #else     /* C style interface */
  757.  
  758.     typedef struct IMTSLocaterVtbl
  759.     {
  760.         BEGIN_INTERFACE
  761.         
  762.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  763.             IMTSLocater __RPC_FAR * This,
  764.             /* [in] */ REFIID riid,
  765.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  766.         
  767.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  768.             IMTSLocater __RPC_FAR * This);
  769.         
  770.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  771.             IMTSLocater __RPC_FAR * This);
  772.         
  773.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  774.             IMTSLocater __RPC_FAR * This,
  775.             /* [out] */ UINT __RPC_FAR *pctinfo);
  776.         
  777.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  778.             IMTSLocater __RPC_FAR * This,
  779.             /* [in] */ UINT iTInfo,
  780.             /* [in] */ LCID lcid,
  781.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  782.         
  783.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  784.             IMTSLocater __RPC_FAR * This,
  785.             /* [in] */ REFIID riid,
  786.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  787.             /* [in] */ UINT cNames,
  788.             /* [in] */ LCID lcid,
  789.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  790.         
  791.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  792.             IMTSLocater __RPC_FAR * This,
  793.             /* [in] */ DISPID dispIdMember,
  794.             /* [in] */ REFIID riid,
  795.             /* [in] */ LCID lcid,
  796.             /* [in] */ WORD wFlags,
  797.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  798.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  799.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  800.             /* [out] */ UINT __RPC_FAR *puArgErr);
  801.         
  802.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEventDispatcher )( 
  803.             IMTSLocater __RPC_FAR * This,
  804.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pUnk);
  805.         
  806.         END_INTERFACE
  807.     } IMTSLocaterVtbl;
  808.  
  809.     interface IMTSLocater
  810.     {
  811.         CONST_VTBL struct IMTSLocaterVtbl __RPC_FAR *lpVtbl;
  812.     };
  813.  
  814.     
  815.  
  816. #ifdef COBJMACROS
  817.  
  818.  
  819. #define IMTSLocater_QueryInterface(This,riid,ppvObject)    \
  820.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  821.  
  822. #define IMTSLocater_AddRef(This)    \
  823.     (This)->lpVtbl -> AddRef(This)
  824.  
  825. #define IMTSLocater_Release(This)    \
  826.     (This)->lpVtbl -> Release(This)
  827.  
  828.  
  829. #define IMTSLocater_GetTypeInfoCount(This,pctinfo)    \
  830.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  831.  
  832. #define IMTSLocater_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  833.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  834.  
  835. #define IMTSLocater_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  836.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  837.  
  838. #define IMTSLocater_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  839.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  840.  
  841.  
  842. #define IMTSLocater_GetEventDispatcher(This,pUnk)    \
  843.     (This)->lpVtbl -> GetEventDispatcher(This,pUnk)
  844.  
  845. #endif /* COBJMACROS */
  846.  
  847.  
  848. #endif     /* C style interface */
  849.  
  850.  
  851.  
  852. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMTSLocater_GetEventDispatcher_Proxy( 
  853.     IMTSLocater __RPC_FAR * This,
  854.     /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pUnk);
  855.  
  856.  
  857. void __RPC_STUB IMTSLocater_GetEventDispatcher_Stub(
  858.     IRpcStubBuffer *This,
  859.     IRpcChannelBuffer *_pRpcChannelBuffer,
  860.     PRPC_MESSAGE _pRpcMessage,
  861.     DWORD *_pdwStubPhase);
  862.  
  863.  
  864.  
  865. #endif     /* __IMTSLocater_INTERFACE_DEFINED__ */
  866.  
  867.  
  868.  
  869. #ifndef __MTSEVENTSLib_LIBRARY_DEFINED__
  870. #define __MTSEVENTSLib_LIBRARY_DEFINED__
  871.  
  872. /****************************************
  873.  * Generated header for library: MTSEVENTSLib
  874.  * at Thu Sep 11 16:03:07 1997
  875.  * using MIDL 3.01.75
  876.  ****************************************/
  877. /* [helpstring][version][uuid] */ 
  878.  
  879.  
  880.  
  881. EXTERN_C const IID LIBID_MTSEVENTSLib;
  882.  
  883. #ifdef __cplusplus
  884. EXTERN_C const CLSID CLSID_CoMTSEvents;
  885.  
  886. class DECLSPEC_UUID("BACEDF4E-74AB-11D0-B162-00AA00BA3258")
  887. CoMTSEvents;
  888. #endif
  889.  
  890. #ifdef __cplusplus
  891. EXTERN_C const CLSID CLSID_EventMoniker;
  892.  
  893. class DECLSPEC_UUID("C8CF32B4-7885-11D0-B169-00AA00BA3258")
  894. EventMoniker;
  895. #endif
  896.  
  897. #ifdef __cplusplus
  898. EXTERN_C const CLSID CLSID_CoMTSLocater;
  899.  
  900. class DECLSPEC_UUID("D19B8BFE-7F88-11D0-B16E-00AA00BA3258")
  901. CoMTSLocater;
  902. #endif
  903. #endif /* __MTSEVENTSLib_LIBRARY_DEFINED__ */
  904.  
  905. /* Additional Prototypes for ALL interfaces */
  906.  
  907. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  908. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  909. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  910. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  911.  
  912. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , VARIANT __RPC_FAR * ); 
  913. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  914. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  915. void                      __RPC_USER  VARIANT_UserFree(     unsigned long __RPC_FAR *, VARIANT __RPC_FAR * ); 
  916.  
  917. /* end of Additional Prototypes */
  918.  
  919. #ifdef __cplusplus
  920. }
  921. #endif
  922.  
  923. #endif
  924.