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

模拟服务器

开发平台:

C/C++

  1.             /* [out] */ TRACKING_COLL_TYPE *pType);
  2.         
  3.         HRESULT ( STDMETHODCALLTYPE *Count )( 
  4.             IComTrackingInfoCollection * This,
  5.             /* [out] */ ULONG *pCount);
  6.         
  7.         HRESULT ( STDMETHODCALLTYPE *Item )( 
  8.             IComTrackingInfoCollection * This,
  9.             /* [in] */ ULONG ulIndex,
  10.             /* [in] */ REFIID riid,
  11.             /* [iid_is][out] */ void **ppv);
  12.         
  13.         END_INTERFACE
  14.     } IComTrackingInfoCollectionVtbl;
  15.     interface IComTrackingInfoCollection
  16.     {
  17.         CONST_VTBL struct IComTrackingInfoCollectionVtbl *lpVtbl;
  18.     };
  19.     
  20. #ifdef COBJMACROS
  21. #define IComTrackingInfoCollection_QueryInterface(This,riid,ppvObject)
  22.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  23. #define IComTrackingInfoCollection_AddRef(This)
  24.     (This)->lpVtbl -> AddRef(This)
  25. #define IComTrackingInfoCollection_Release(This)
  26.     (This)->lpVtbl -> Release(This)
  27. #define IComTrackingInfoCollection_Type(This,pType)
  28.     (This)->lpVtbl -> Type(This,pType)
  29. #define IComTrackingInfoCollection_Count(This,pCount)
  30.     (This)->lpVtbl -> Count(This,pCount)
  31. #define IComTrackingInfoCollection_Item(This,ulIndex,riid,ppv)
  32.     (This)->lpVtbl -> Item(This,ulIndex,riid,ppv)
  33. #endif /* COBJMACROS */
  34. #endif  /* C style interface */
  35. HRESULT STDMETHODCALLTYPE IComTrackingInfoCollection_Type_Proxy( 
  36.     IComTrackingInfoCollection * This,
  37.     /* [out] */ TRACKING_COLL_TYPE *pType);
  38. void __RPC_STUB IComTrackingInfoCollection_Type_Stub(
  39.     IRpcStubBuffer *This,
  40.     IRpcChannelBuffer *_pRpcChannelBuffer,
  41.     PRPC_MESSAGE _pRpcMessage,
  42.     DWORD *_pdwStubPhase);
  43. HRESULT STDMETHODCALLTYPE IComTrackingInfoCollection_Count_Proxy( 
  44.     IComTrackingInfoCollection * This,
  45.     /* [out] */ ULONG *pCount);
  46. void __RPC_STUB IComTrackingInfoCollection_Count_Stub(
  47.     IRpcStubBuffer *This,
  48.     IRpcChannelBuffer *_pRpcChannelBuffer,
  49.     PRPC_MESSAGE _pRpcMessage,
  50.     DWORD *_pdwStubPhase);
  51. HRESULT STDMETHODCALLTYPE IComTrackingInfoCollection_Item_Proxy( 
  52.     IComTrackingInfoCollection * This,
  53.     /* [in] */ ULONG ulIndex,
  54.     /* [in] */ REFIID riid,
  55.     /* [iid_is][out] */ void **ppv);
  56. void __RPC_STUB IComTrackingInfoCollection_Item_Stub(
  57.     IRpcStubBuffer *This,
  58.     IRpcChannelBuffer *_pRpcChannelBuffer,
  59.     PRPC_MESSAGE _pRpcMessage,
  60.     DWORD *_pdwStubPhase);
  61. #endif  /* __IComTrackingInfoCollection_INTERFACE_DEFINED__ */
  62. #ifndef __IComTrackingInfoObject_INTERFACE_DEFINED__
  63. #define __IComTrackingInfoObject_INTERFACE_DEFINED__
  64. /* interface IComTrackingInfoObject */
  65. /* [uuid][hidden][object] */ 
  66. EXTERN_C const IID IID_IComTrackingInfoObject;
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68.     
  69.     MIDL_INTERFACE("116e42c5-d8b1-47bf-ab1e-c895ed3e2372")
  70.     IComTrackingInfoObject : public IUnknown
  71.     {
  72.     public:
  73.         virtual HRESULT STDMETHODCALLTYPE GetValue( 
  74.             /* [in] */ LPOLESTR szPropertyName,
  75.             /* [out] */ VARIANT *pvarOut) = 0;
  76.         
  77.     };
  78.     
  79. #else  /* C style interface */
  80.     typedef struct IComTrackingInfoObjectVtbl
  81.     {
  82.         BEGIN_INTERFACE
  83.         
  84.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  85.             IComTrackingInfoObject * This,
  86.             /* [in] */ REFIID riid,
  87.             /* [iid_is][out] */ void **ppvObject);
  88.         
  89.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  90.             IComTrackingInfoObject * This);
  91.         
  92.         ULONG ( STDMETHODCALLTYPE *Release )( 
  93.             IComTrackingInfoObject * This);
  94.         
  95.         HRESULT ( STDMETHODCALLTYPE *GetValue )( 
  96.             IComTrackingInfoObject * This,
  97.             /* [in] */ LPOLESTR szPropertyName,
  98.             /* [out] */ VARIANT *pvarOut);
  99.         
  100.         END_INTERFACE
  101.     } IComTrackingInfoObjectVtbl;
  102.     interface IComTrackingInfoObject
  103.     {
  104.         CONST_VTBL struct IComTrackingInfoObjectVtbl *lpVtbl;
  105.     };
  106.     
  107. #ifdef COBJMACROS
  108. #define IComTrackingInfoObject_QueryInterface(This,riid,ppvObject)
  109.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  110. #define IComTrackingInfoObject_AddRef(This)
  111.     (This)->lpVtbl -> AddRef(This)
  112. #define IComTrackingInfoObject_Release(This)
  113.     (This)->lpVtbl -> Release(This)
  114. #define IComTrackingInfoObject_GetValue(This,szPropertyName,pvarOut)
  115.     (This)->lpVtbl -> GetValue(This,szPropertyName,pvarOut)
  116. #endif /* COBJMACROS */
  117. #endif  /* C style interface */
  118. HRESULT STDMETHODCALLTYPE IComTrackingInfoObject_GetValue_Proxy( 
  119.     IComTrackingInfoObject * This,
  120.     /* [in] */ LPOLESTR szPropertyName,
  121.     /* [out] */ VARIANT *pvarOut);
  122. void __RPC_STUB IComTrackingInfoObject_GetValue_Stub(
  123.     IRpcStubBuffer *This,
  124.     IRpcChannelBuffer *_pRpcChannelBuffer,
  125.     PRPC_MESSAGE _pRpcMessage,
  126.     DWORD *_pdwStubPhase);
  127. #endif  /* __IComTrackingInfoObject_INTERFACE_DEFINED__ */
  128. #ifndef __IComTrackingInfoProperties_INTERFACE_DEFINED__
  129. #define __IComTrackingInfoProperties_INTERFACE_DEFINED__
  130. /* interface IComTrackingInfoProperties */
  131. /* [uuid][hidden][object] */ 
  132. EXTERN_C const IID IID_IComTrackingInfoProperties;
  133. #if defined(__cplusplus) && !defined(CINTERFACE)
  134.     
  135.     MIDL_INTERFACE("789b42be-6f6b-443a-898e-67abf390aa14")
  136.     IComTrackingInfoProperties : public IUnknown
  137.     {
  138.     public:
  139.         virtual HRESULT STDMETHODCALLTYPE PropCount( 
  140.             /* [out] */ ULONG *pCount) = 0;
  141.         
  142.         virtual HRESULT STDMETHODCALLTYPE GetPropName( 
  143.             /* [in] */ ULONG ulIndex,
  144.             /* [string][out] */ LPOLESTR *ppszPropName) = 0;
  145.         
  146.     };
  147.     
  148. #else  /* C style interface */
  149.     typedef struct IComTrackingInfoPropertiesVtbl
  150.     {
  151.         BEGIN_INTERFACE
  152.         
  153.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  154.             IComTrackingInfoProperties * This,
  155.             /* [in] */ REFIID riid,
  156.             /* [iid_is][out] */ void **ppvObject);
  157.         
  158.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  159.             IComTrackingInfoProperties * This);
  160.         
  161.         ULONG ( STDMETHODCALLTYPE *Release )( 
  162.             IComTrackingInfoProperties * This);
  163.         
  164.         HRESULT ( STDMETHODCALLTYPE *PropCount )( 
  165.             IComTrackingInfoProperties * This,
  166.             /* [out] */ ULONG *pCount);
  167.         
  168.         HRESULT ( STDMETHODCALLTYPE *GetPropName )( 
  169.             IComTrackingInfoProperties * This,
  170.             /* [in] */ ULONG ulIndex,
  171.             /* [string][out] */ LPOLESTR *ppszPropName);
  172.         
  173.         END_INTERFACE
  174.     } IComTrackingInfoPropertiesVtbl;
  175.     interface IComTrackingInfoProperties
  176.     {
  177.         CONST_VTBL struct IComTrackingInfoPropertiesVtbl *lpVtbl;
  178.     };
  179.     
  180. #ifdef COBJMACROS
  181. #define IComTrackingInfoProperties_QueryInterface(This,riid,ppvObject)
  182.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  183. #define IComTrackingInfoProperties_AddRef(This)
  184.     (This)->lpVtbl -> AddRef(This)
  185. #define IComTrackingInfoProperties_Release(This)
  186.     (This)->lpVtbl -> Release(This)
  187. #define IComTrackingInfoProperties_PropCount(This,pCount)
  188.     (This)->lpVtbl -> PropCount(This,pCount)
  189. #define IComTrackingInfoProperties_GetPropName(This,ulIndex,ppszPropName)
  190.     (This)->lpVtbl -> GetPropName(This,ulIndex,ppszPropName)
  191. #endif /* COBJMACROS */
  192. #endif  /* C style interface */
  193. HRESULT STDMETHODCALLTYPE IComTrackingInfoProperties_PropCount_Proxy( 
  194.     IComTrackingInfoProperties * This,
  195.     /* [out] */ ULONG *pCount);
  196. void __RPC_STUB IComTrackingInfoProperties_PropCount_Stub(
  197.     IRpcStubBuffer *This,
  198.     IRpcChannelBuffer *_pRpcChannelBuffer,
  199.     PRPC_MESSAGE _pRpcMessage,
  200.     DWORD *_pdwStubPhase);
  201. HRESULT STDMETHODCALLTYPE IComTrackingInfoProperties_GetPropName_Proxy( 
  202.     IComTrackingInfoProperties * This,
  203.     /* [in] */ ULONG ulIndex,
  204.     /* [string][out] */ LPOLESTR *ppszPropName);
  205. void __RPC_STUB IComTrackingInfoProperties_GetPropName_Stub(
  206.     IRpcStubBuffer *This,
  207.     IRpcChannelBuffer *_pRpcChannelBuffer,
  208.     PRPC_MESSAGE _pRpcMessage,
  209.     DWORD *_pdwStubPhase);
  210. #endif  /* __IComTrackingInfoProperties_INTERFACE_DEFINED__ */
  211. #ifndef __IComApp2Events_INTERFACE_DEFINED__
  212. #define __IComApp2Events_INTERFACE_DEFINED__
  213. /* interface IComApp2Events */
  214. /* [uuid][hidden][object] */ 
  215. EXTERN_C const IID IID_IComApp2Events;
  216. #if defined(__cplusplus) && !defined(CINTERFACE)
  217.     
  218.     MIDL_INTERFACE("1290BC1A-B219-418d-B078-5934DED08242")
  219.     IComApp2Events : public IUnknown
  220.     {
  221.     public:
  222.         virtual HRESULT STDMETHODCALLTYPE OnAppActivation2( 
  223.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  224.             /* [in] */ GUID guidApp,
  225.             /* [in] */ GUID guidProcess) = 0;
  226.         
  227.         virtual HRESULT STDMETHODCALLTYPE OnAppShutdown2( 
  228.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  229.             /* [in] */ GUID guidApp) = 0;
  230.         
  231.         virtual HRESULT STDMETHODCALLTYPE OnAppForceShutdown2( 
  232.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  233.             /* [in] */ GUID guidApp) = 0;
  234.         
  235.         virtual HRESULT STDMETHODCALLTYPE OnAppPaused2( 
  236.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  237.             /* [in] */ GUID guidApp,
  238.             /* [in] */ BOOL bPaused) = 0;
  239.         
  240.         virtual HRESULT STDMETHODCALLTYPE OnAppRecycle2( 
  241.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  242.             /* [in] */ GUID guidApp,
  243.             /* [in] */ GUID guidProcess,
  244.             /* [in] */ long lReason) = 0;
  245.         
  246.     };
  247.     
  248. #else  /* C style interface */
  249.     typedef struct IComApp2EventsVtbl
  250.     {
  251.         BEGIN_INTERFACE
  252.         
  253.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  254.             IComApp2Events * This,
  255.             /* [in] */ REFIID riid,
  256.             /* [iid_is][out] */ void **ppvObject);
  257.         
  258.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  259.             IComApp2Events * This);
  260.         
  261.         ULONG ( STDMETHODCALLTYPE *Release )( 
  262.             IComApp2Events * This);
  263.         
  264.         HRESULT ( STDMETHODCALLTYPE *OnAppActivation2 )( 
  265.             IComApp2Events * This,
  266.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  267.             /* [in] */ GUID guidApp,
  268.             /* [in] */ GUID guidProcess);
  269.         
  270.         HRESULT ( STDMETHODCALLTYPE *OnAppShutdown2 )( 
  271.             IComApp2Events * This,
  272.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  273.             /* [in] */ GUID guidApp);
  274.         
  275.         HRESULT ( STDMETHODCALLTYPE *OnAppForceShutdown2 )( 
  276.             IComApp2Events * This,
  277.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  278.             /* [in] */ GUID guidApp);
  279.         
  280.         HRESULT ( STDMETHODCALLTYPE *OnAppPaused2 )( 
  281.             IComApp2Events * This,
  282.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  283.             /* [in] */ GUID guidApp,
  284.             /* [in] */ BOOL bPaused);
  285.         
  286.         HRESULT ( STDMETHODCALLTYPE *OnAppRecycle2 )( 
  287.             IComApp2Events * This,
  288.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  289.             /* [in] */ GUID guidApp,
  290.             /* [in] */ GUID guidProcess,
  291.             /* [in] */ long lReason);
  292.         
  293.         END_INTERFACE
  294.     } IComApp2EventsVtbl;
  295.     interface IComApp2Events
  296.     {
  297.         CONST_VTBL struct IComApp2EventsVtbl *lpVtbl;
  298.     };
  299.     
  300. #ifdef COBJMACROS
  301. #define IComApp2Events_QueryInterface(This,riid,ppvObject)
  302.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  303. #define IComApp2Events_AddRef(This)
  304.     (This)->lpVtbl -> AddRef(This)
  305. #define IComApp2Events_Release(This)
  306.     (This)->lpVtbl -> Release(This)
  307. #define IComApp2Events_OnAppActivation2(This,pInfo,guidApp,guidProcess)
  308.     (This)->lpVtbl -> OnAppActivation2(This,pInfo,guidApp,guidProcess)
  309. #define IComApp2Events_OnAppShutdown2(This,pInfo,guidApp)
  310.     (This)->lpVtbl -> OnAppShutdown2(This,pInfo,guidApp)
  311. #define IComApp2Events_OnAppForceShutdown2(This,pInfo,guidApp)
  312.     (This)->lpVtbl -> OnAppForceShutdown2(This,pInfo,guidApp)
  313. #define IComApp2Events_OnAppPaused2(This,pInfo,guidApp,bPaused)
  314.     (This)->lpVtbl -> OnAppPaused2(This,pInfo,guidApp,bPaused)
  315. #define IComApp2Events_OnAppRecycle2(This,pInfo,guidApp,guidProcess,lReason)
  316.     (This)->lpVtbl -> OnAppRecycle2(This,pInfo,guidApp,guidProcess,lReason)
  317. #endif /* COBJMACROS */
  318. #endif  /* C style interface */
  319. HRESULT STDMETHODCALLTYPE IComApp2Events_OnAppActivation2_Proxy( 
  320.     IComApp2Events * This,
  321.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  322.     /* [in] */ GUID guidApp,
  323.     /* [in] */ GUID guidProcess);
  324. void __RPC_STUB IComApp2Events_OnAppActivation2_Stub(
  325.     IRpcStubBuffer *This,
  326.     IRpcChannelBuffer *_pRpcChannelBuffer,
  327.     PRPC_MESSAGE _pRpcMessage,
  328.     DWORD *_pdwStubPhase);
  329. HRESULT STDMETHODCALLTYPE IComApp2Events_OnAppShutdown2_Proxy( 
  330.     IComApp2Events * This,
  331.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  332.     /* [in] */ GUID guidApp);
  333. void __RPC_STUB IComApp2Events_OnAppShutdown2_Stub(
  334.     IRpcStubBuffer *This,
  335.     IRpcChannelBuffer *_pRpcChannelBuffer,
  336.     PRPC_MESSAGE _pRpcMessage,
  337.     DWORD *_pdwStubPhase);
  338. HRESULT STDMETHODCALLTYPE IComApp2Events_OnAppForceShutdown2_Proxy( 
  339.     IComApp2Events * This,
  340.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  341.     /* [in] */ GUID guidApp);
  342. void __RPC_STUB IComApp2Events_OnAppForceShutdown2_Stub(
  343.     IRpcStubBuffer *This,
  344.     IRpcChannelBuffer *_pRpcChannelBuffer,
  345.     PRPC_MESSAGE _pRpcMessage,
  346.     DWORD *_pdwStubPhase);
  347. HRESULT STDMETHODCALLTYPE IComApp2Events_OnAppPaused2_Proxy( 
  348.     IComApp2Events * This,
  349.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  350.     /* [in] */ GUID guidApp,
  351.     /* [in] */ BOOL bPaused);
  352. void __RPC_STUB IComApp2Events_OnAppPaused2_Stub(
  353.     IRpcStubBuffer *This,
  354.     IRpcChannelBuffer *_pRpcChannelBuffer,
  355.     PRPC_MESSAGE _pRpcMessage,
  356.     DWORD *_pdwStubPhase);
  357. HRESULT STDMETHODCALLTYPE IComApp2Events_OnAppRecycle2_Proxy( 
  358.     IComApp2Events * This,
  359.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  360.     /* [in] */ GUID guidApp,
  361.     /* [in] */ GUID guidProcess,
  362.     /* [in] */ long lReason);
  363. void __RPC_STUB IComApp2Events_OnAppRecycle2_Stub(
  364.     IRpcStubBuffer *This,
  365.     IRpcChannelBuffer *_pRpcChannelBuffer,
  366.     PRPC_MESSAGE _pRpcMessage,
  367.     DWORD *_pdwStubPhase);
  368. #endif  /* __IComApp2Events_INTERFACE_DEFINED__ */
  369. #ifndef __IComTransaction2Events_INTERFACE_DEFINED__
  370. #define __IComTransaction2Events_INTERFACE_DEFINED__
  371. /* interface IComTransaction2Events */
  372. /* [uuid][hidden][object] */ 
  373. EXTERN_C const IID IID_IComTransaction2Events;
  374. #if defined(__cplusplus) && !defined(CINTERFACE)
  375.     
  376.     MIDL_INTERFACE("A136F62A-2F94-4288-86E0-D8A1FA4C0299")
  377.     IComTransaction2Events : public IUnknown
  378.     {
  379.     public:
  380.         virtual HRESULT STDMETHODCALLTYPE OnTransactionStart2( 
  381.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  382.             /* [in] */ REFGUID guidTx,
  383.             /* [in] */ REFGUID tsid,
  384.             /* [in] */ BOOL fRoot,
  385.             /* [in] */ int nIsolationLevel) = 0;
  386.         
  387.         virtual HRESULT STDMETHODCALLTYPE OnTransactionPrepare2( 
  388.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  389.             /* [in] */ REFGUID guidTx,
  390.             /* [in] */ BOOL fVoteYes) = 0;
  391.         
  392.         virtual HRESULT STDMETHODCALLTYPE OnTransactionAbort2( 
  393.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  394.             /* [in] */ REFGUID guidTx) = 0;
  395.         
  396.         virtual HRESULT STDMETHODCALLTYPE OnTransactionCommit2( 
  397.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  398.             /* [in] */ REFGUID guidTx) = 0;
  399.         
  400.     };
  401.     
  402. #else  /* C style interface */
  403.     typedef struct IComTransaction2EventsVtbl
  404.     {
  405.         BEGIN_INTERFACE
  406.         
  407.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  408.             IComTransaction2Events * This,
  409.             /* [in] */ REFIID riid,
  410.             /* [iid_is][out] */ void **ppvObject);
  411.         
  412.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  413.             IComTransaction2Events * This);
  414.         
  415.         ULONG ( STDMETHODCALLTYPE *Release )( 
  416.             IComTransaction2Events * This);
  417.         
  418.         HRESULT ( STDMETHODCALLTYPE *OnTransactionStart2 )( 
  419.             IComTransaction2Events * This,
  420.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  421.             /* [in] */ REFGUID guidTx,
  422.             /* [in] */ REFGUID tsid,
  423.             /* [in] */ BOOL fRoot,
  424.             /* [in] */ int nIsolationLevel);
  425.         
  426.         HRESULT ( STDMETHODCALLTYPE *OnTransactionPrepare2 )( 
  427.             IComTransaction2Events * This,
  428.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  429.             /* [in] */ REFGUID guidTx,
  430.             /* [in] */ BOOL fVoteYes);
  431.         
  432.         HRESULT ( STDMETHODCALLTYPE *OnTransactionAbort2 )( 
  433.             IComTransaction2Events * This,
  434.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  435.             /* [in] */ REFGUID guidTx);
  436.         
  437.         HRESULT ( STDMETHODCALLTYPE *OnTransactionCommit2 )( 
  438.             IComTransaction2Events * This,
  439.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  440.             /* [in] */ REFGUID guidTx);
  441.         
  442.         END_INTERFACE
  443.     } IComTransaction2EventsVtbl;
  444.     interface IComTransaction2Events
  445.     {
  446.         CONST_VTBL struct IComTransaction2EventsVtbl *lpVtbl;
  447.     };
  448.     
  449. #ifdef COBJMACROS
  450. #define IComTransaction2Events_QueryInterface(This,riid,ppvObject)
  451.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  452. #define IComTransaction2Events_AddRef(This)
  453.     (This)->lpVtbl -> AddRef(This)
  454. #define IComTransaction2Events_Release(This)
  455.     (This)->lpVtbl -> Release(This)
  456. #define IComTransaction2Events_OnTransactionStart2(This,pInfo,guidTx,tsid,fRoot,nIsolationLevel)
  457.     (This)->lpVtbl -> OnTransactionStart2(This,pInfo,guidTx,tsid,fRoot,nIsolationLevel)
  458. #define IComTransaction2Events_OnTransactionPrepare2(This,pInfo,guidTx,fVoteYes)
  459.     (This)->lpVtbl -> OnTransactionPrepare2(This,pInfo,guidTx,fVoteYes)
  460. #define IComTransaction2Events_OnTransactionAbort2(This,pInfo,guidTx)
  461.     (This)->lpVtbl -> OnTransactionAbort2(This,pInfo,guidTx)
  462. #define IComTransaction2Events_OnTransactionCommit2(This,pInfo,guidTx)
  463.     (This)->lpVtbl -> OnTransactionCommit2(This,pInfo,guidTx)
  464. #endif /* COBJMACROS */
  465. #endif  /* C style interface */
  466. HRESULT STDMETHODCALLTYPE IComTransaction2Events_OnTransactionStart2_Proxy( 
  467.     IComTransaction2Events * This,
  468.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  469.     /* [in] */ REFGUID guidTx,
  470.     /* [in] */ REFGUID tsid,
  471.     /* [in] */ BOOL fRoot,
  472.     /* [in] */ int nIsolationLevel);
  473. void __RPC_STUB IComTransaction2Events_OnTransactionStart2_Stub(
  474.     IRpcStubBuffer *This,
  475.     IRpcChannelBuffer *_pRpcChannelBuffer,
  476.     PRPC_MESSAGE _pRpcMessage,
  477.     DWORD *_pdwStubPhase);
  478. HRESULT STDMETHODCALLTYPE IComTransaction2Events_OnTransactionPrepare2_Proxy( 
  479.     IComTransaction2Events * This,
  480.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  481.     /* [in] */ REFGUID guidTx,
  482.     /* [in] */ BOOL fVoteYes);
  483. void __RPC_STUB IComTransaction2Events_OnTransactionPrepare2_Stub(
  484.     IRpcStubBuffer *This,
  485.     IRpcChannelBuffer *_pRpcChannelBuffer,
  486.     PRPC_MESSAGE _pRpcMessage,
  487.     DWORD *_pdwStubPhase);
  488. HRESULT STDMETHODCALLTYPE IComTransaction2Events_OnTransactionAbort2_Proxy( 
  489.     IComTransaction2Events * This,
  490.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  491.     /* [in] */ REFGUID guidTx);
  492. void __RPC_STUB IComTransaction2Events_OnTransactionAbort2_Stub(
  493.     IRpcStubBuffer *This,
  494.     IRpcChannelBuffer *_pRpcChannelBuffer,
  495.     PRPC_MESSAGE _pRpcMessage,
  496.     DWORD *_pdwStubPhase);
  497. HRESULT STDMETHODCALLTYPE IComTransaction2Events_OnTransactionCommit2_Proxy( 
  498.     IComTransaction2Events * This,
  499.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  500.     /* [in] */ REFGUID guidTx);
  501. void __RPC_STUB IComTransaction2Events_OnTransactionCommit2_Stub(
  502.     IRpcStubBuffer *This,
  503.     IRpcChannelBuffer *_pRpcChannelBuffer,
  504.     PRPC_MESSAGE _pRpcMessage,
  505.     DWORD *_pdwStubPhase);
  506. #endif  /* __IComTransaction2Events_INTERFACE_DEFINED__ */
  507. #ifndef __IComInstance2Events_INTERFACE_DEFINED__
  508. #define __IComInstance2Events_INTERFACE_DEFINED__
  509. /* interface IComInstance2Events */
  510. /* [uuid][hidden][object] */ 
  511. EXTERN_C const IID IID_IComInstance2Events;
  512. #if defined(__cplusplus) && !defined(CINTERFACE)
  513.     
  514.     MIDL_INTERFACE("20E3BF07-B506-4ad5-A50C-D2CA5B9C158E")
  515.     IComInstance2Events : public IUnknown
  516.     {
  517.     public:
  518.         virtual HRESULT STDMETHODCALLTYPE OnObjectCreate2( 
  519.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  520.             /* [in] */ REFGUID guidActivity,
  521.             /* [in] */ REFCLSID clsid,
  522.             /* [in] */ REFGUID tsid,
  523.             /* [in] */ ULONG64 CtxtID,
  524.             /* [in] */ ULONG64 ObjectID,
  525.             /* [in] */ REFGUID guidPartition) = 0;
  526.         
  527.         virtual HRESULT STDMETHODCALLTYPE OnObjectDestroy2( 
  528.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  529.             /* [in] */ ULONG64 CtxtID) = 0;
  530.         
  531.     };
  532.     
  533. #else  /* C style interface */
  534.     typedef struct IComInstance2EventsVtbl
  535.     {
  536.         BEGIN_INTERFACE
  537.         
  538.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  539.             IComInstance2Events * This,
  540.             /* [in] */ REFIID riid,
  541.             /* [iid_is][out] */ void **ppvObject);
  542.         
  543.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  544.             IComInstance2Events * This);
  545.         
  546.         ULONG ( STDMETHODCALLTYPE *Release )( 
  547.             IComInstance2Events * This);
  548.         
  549.         HRESULT ( STDMETHODCALLTYPE *OnObjectCreate2 )( 
  550.             IComInstance2Events * This,
  551.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  552.             /* [in] */ REFGUID guidActivity,
  553.             /* [in] */ REFCLSID clsid,
  554.             /* [in] */ REFGUID tsid,
  555.             /* [in] */ ULONG64 CtxtID,
  556.             /* [in] */ ULONG64 ObjectID,
  557.             /* [in] */ REFGUID guidPartition);
  558.         
  559.         HRESULT ( STDMETHODCALLTYPE *OnObjectDestroy2 )( 
  560.             IComInstance2Events * This,
  561.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  562.             /* [in] */ ULONG64 CtxtID);
  563.         
  564.         END_INTERFACE
  565.     } IComInstance2EventsVtbl;
  566.     interface IComInstance2Events
  567.     {
  568.         CONST_VTBL struct IComInstance2EventsVtbl *lpVtbl;
  569.     };
  570.     
  571. #ifdef COBJMACROS
  572. #define IComInstance2Events_QueryInterface(This,riid,ppvObject)
  573.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  574. #define IComInstance2Events_AddRef(This)
  575.     (This)->lpVtbl -> AddRef(This)
  576. #define IComInstance2Events_Release(This)
  577.     (This)->lpVtbl -> Release(This)
  578. #define IComInstance2Events_OnObjectCreate2(This,pInfo,guidActivity,clsid,tsid,CtxtID,ObjectID,guidPartition)
  579.     (This)->lpVtbl -> OnObjectCreate2(This,pInfo,guidActivity,clsid,tsid,CtxtID,ObjectID,guidPartition)
  580. #define IComInstance2Events_OnObjectDestroy2(This,pInfo,CtxtID)
  581.     (This)->lpVtbl -> OnObjectDestroy2(This,pInfo,CtxtID)
  582. #endif /* COBJMACROS */
  583. #endif  /* C style interface */
  584. HRESULT STDMETHODCALLTYPE IComInstance2Events_OnObjectCreate2_Proxy( 
  585.     IComInstance2Events * This,
  586.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  587.     /* [in] */ REFGUID guidActivity,
  588.     /* [in] */ REFCLSID clsid,
  589.     /* [in] */ REFGUID tsid,
  590.     /* [in] */ ULONG64 CtxtID,
  591.     /* [in] */ ULONG64 ObjectID,
  592.     /* [in] */ REFGUID guidPartition);
  593. void __RPC_STUB IComInstance2Events_OnObjectCreate2_Stub(
  594.     IRpcStubBuffer *This,
  595.     IRpcChannelBuffer *_pRpcChannelBuffer,
  596.     PRPC_MESSAGE _pRpcMessage,
  597.     DWORD *_pdwStubPhase);
  598. HRESULT STDMETHODCALLTYPE IComInstance2Events_OnObjectDestroy2_Proxy( 
  599.     IComInstance2Events * This,
  600.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  601.     /* [in] */ ULONG64 CtxtID);
  602. void __RPC_STUB IComInstance2Events_OnObjectDestroy2_Stub(
  603.     IRpcStubBuffer *This,
  604.     IRpcChannelBuffer *_pRpcChannelBuffer,
  605.     PRPC_MESSAGE _pRpcMessage,
  606.     DWORD *_pdwStubPhase);
  607. #endif  /* __IComInstance2Events_INTERFACE_DEFINED__ */
  608. #ifndef __IComObjectPool2Events_INTERFACE_DEFINED__
  609. #define __IComObjectPool2Events_INTERFACE_DEFINED__
  610. /* interface IComObjectPool2Events */
  611. /* [uuid][hidden][object] */ 
  612. EXTERN_C const IID IID_IComObjectPool2Events;
  613. #if defined(__cplusplus) && !defined(CINTERFACE)
  614.     
  615.     MIDL_INTERFACE("65BF6534-85EA-4f64-8CF4-3D974B2AB1CF")
  616.     IComObjectPool2Events : public IUnknown
  617.     {
  618.     public:
  619.         virtual HRESULT STDMETHODCALLTYPE OnObjPoolPutObject2( 
  620.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  621.             /* [in] */ REFGUID guidObject,
  622.             /* [in] */ int nReason,
  623.             /* [in] */ DWORD dwAvailable,
  624.             /* [in] */ ULONG64 oid) = 0;
  625.         
  626.         virtual HRESULT STDMETHODCALLTYPE OnObjPoolGetObject2( 
  627.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  628.             /* [in] */ REFGUID guidActivity,
  629.             /* [in] */ REFGUID guidObject,
  630.             /* [in] */ DWORD dwAvailable,
  631.             /* [in] */ ULONG64 oid,
  632.             /* [in] */ REFGUID guidPartition) = 0;
  633.         
  634.         virtual HRESULT STDMETHODCALLTYPE OnObjPoolRecycleToTx2( 
  635.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  636.             /* [in] */ REFGUID guidActivity,
  637.             /* [in] */ REFGUID guidObject,
  638.             /* [in] */ REFGUID guidTx,
  639.             /* [in] */ ULONG64 objid) = 0;
  640.         
  641.         virtual HRESULT STDMETHODCALLTYPE OnObjPoolGetFromTx2( 
  642.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  643.             /* [in] */ REFGUID guidActivity,
  644.             /* [in] */ REFGUID guidObject,
  645.             /* [in] */ REFGUID guidTx,
  646.             /* [in] */ ULONG64 objid,
  647.             /* [in] */ REFGUID guidPartition) = 0;
  648.         
  649.     };
  650.     
  651. #else  /* C style interface */
  652.     typedef struct IComObjectPool2EventsVtbl
  653.     {
  654.         BEGIN_INTERFACE
  655.         
  656.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  657.             IComObjectPool2Events * This,
  658.             /* [in] */ REFIID riid,
  659.             /* [iid_is][out] */ void **ppvObject);
  660.         
  661.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  662.             IComObjectPool2Events * This);
  663.         
  664.         ULONG ( STDMETHODCALLTYPE *Release )( 
  665.             IComObjectPool2Events * This);
  666.         
  667.         HRESULT ( STDMETHODCALLTYPE *OnObjPoolPutObject2 )( 
  668.             IComObjectPool2Events * This,
  669.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  670.             /* [in] */ REFGUID guidObject,
  671.             /* [in] */ int nReason,
  672.             /* [in] */ DWORD dwAvailable,
  673.             /* [in] */ ULONG64 oid);
  674.         
  675.         HRESULT ( STDMETHODCALLTYPE *OnObjPoolGetObject2 )( 
  676.             IComObjectPool2Events * This,
  677.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  678.             /* [in] */ REFGUID guidActivity,
  679.             /* [in] */ REFGUID guidObject,
  680.             /* [in] */ DWORD dwAvailable,
  681.             /* [in] */ ULONG64 oid,
  682.             /* [in] */ REFGUID guidPartition);
  683.         
  684.         HRESULT ( STDMETHODCALLTYPE *OnObjPoolRecycleToTx2 )( 
  685.             IComObjectPool2Events * This,
  686.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  687.             /* [in] */ REFGUID guidActivity,
  688.             /* [in] */ REFGUID guidObject,
  689.             /* [in] */ REFGUID guidTx,
  690.             /* [in] */ ULONG64 objid);
  691.         
  692.         HRESULT ( STDMETHODCALLTYPE *OnObjPoolGetFromTx2 )( 
  693.             IComObjectPool2Events * This,
  694.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  695.             /* [in] */ REFGUID guidActivity,
  696.             /* [in] */ REFGUID guidObject,
  697.             /* [in] */ REFGUID guidTx,
  698.             /* [in] */ ULONG64 objid,
  699.             /* [in] */ REFGUID guidPartition);
  700.         
  701.         END_INTERFACE
  702.     } IComObjectPool2EventsVtbl;
  703.     interface IComObjectPool2Events
  704.     {
  705.         CONST_VTBL struct IComObjectPool2EventsVtbl *lpVtbl;
  706.     };
  707.     
  708. #ifdef COBJMACROS
  709. #define IComObjectPool2Events_QueryInterface(This,riid,ppvObject)
  710.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  711. #define IComObjectPool2Events_AddRef(This)
  712.     (This)->lpVtbl -> AddRef(This)
  713. #define IComObjectPool2Events_Release(This)
  714.     (This)->lpVtbl -> Release(This)
  715. #define IComObjectPool2Events_OnObjPoolPutObject2(This,pInfo,guidObject,nReason,dwAvailable,oid)
  716.     (This)->lpVtbl -> OnObjPoolPutObject2(This,pInfo,guidObject,nReason,dwAvailable,oid)
  717. #define IComObjectPool2Events_OnObjPoolGetObject2(This,pInfo,guidActivity,guidObject,dwAvailable,oid,guidPartition)
  718.     (This)->lpVtbl -> OnObjPoolGetObject2(This,pInfo,guidActivity,guidObject,dwAvailable,oid,guidPartition)
  719. #define IComObjectPool2Events_OnObjPoolRecycleToTx2(This,pInfo,guidActivity,guidObject,guidTx,objid)
  720.     (This)->lpVtbl -> OnObjPoolRecycleToTx2(This,pInfo,guidActivity,guidObject,guidTx,objid)
  721. #define IComObjectPool2Events_OnObjPoolGetFromTx2(This,pInfo,guidActivity,guidObject,guidTx,objid,guidPartition)
  722.     (This)->lpVtbl -> OnObjPoolGetFromTx2(This,pInfo,guidActivity,guidObject,guidTx,objid,guidPartition)
  723. #endif /* COBJMACROS */
  724. #endif  /* C style interface */
  725. HRESULT STDMETHODCALLTYPE IComObjectPool2Events_OnObjPoolPutObject2_Proxy( 
  726.     IComObjectPool2Events * This,
  727.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  728.     /* [in] */ REFGUID guidObject,
  729.     /* [in] */ int nReason,
  730.     /* [in] */ DWORD dwAvailable,
  731.     /* [in] */ ULONG64 oid);
  732. void __RPC_STUB IComObjectPool2Events_OnObjPoolPutObject2_Stub(
  733.     IRpcStubBuffer *This,
  734.     IRpcChannelBuffer *_pRpcChannelBuffer,
  735.     PRPC_MESSAGE _pRpcMessage,
  736.     DWORD *_pdwStubPhase);
  737. HRESULT STDMETHODCALLTYPE IComObjectPool2Events_OnObjPoolGetObject2_Proxy( 
  738.     IComObjectPool2Events * This,
  739.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  740.     /* [in] */ REFGUID guidActivity,
  741.     /* [in] */ REFGUID guidObject,
  742.     /* [in] */ DWORD dwAvailable,
  743.     /* [in] */ ULONG64 oid,
  744.     /* [in] */ REFGUID guidPartition);
  745. void __RPC_STUB IComObjectPool2Events_OnObjPoolGetObject2_Stub(
  746.     IRpcStubBuffer *This,
  747.     IRpcChannelBuffer *_pRpcChannelBuffer,
  748.     PRPC_MESSAGE _pRpcMessage,
  749.     DWORD *_pdwStubPhase);
  750. HRESULT STDMETHODCALLTYPE IComObjectPool2Events_OnObjPoolRecycleToTx2_Proxy( 
  751.     IComObjectPool2Events * This,
  752.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  753.     /* [in] */ REFGUID guidActivity,
  754.     /* [in] */ REFGUID guidObject,
  755.     /* [in] */ REFGUID guidTx,
  756.     /* [in] */ ULONG64 objid);
  757. void __RPC_STUB IComObjectPool2Events_OnObjPoolRecycleToTx2_Stub(
  758.     IRpcStubBuffer *This,
  759.     IRpcChannelBuffer *_pRpcChannelBuffer,
  760.     PRPC_MESSAGE _pRpcMessage,
  761.     DWORD *_pdwStubPhase);
  762. HRESULT STDMETHODCALLTYPE IComObjectPool2Events_OnObjPoolGetFromTx2_Proxy( 
  763.     IComObjectPool2Events * This,
  764.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  765.     /* [in] */ REFGUID guidActivity,
  766.     /* [in] */ REFGUID guidObject,
  767.     /* [in] */ REFGUID guidTx,
  768.     /* [in] */ ULONG64 objid,
  769.     /* [in] */ REFGUID guidPartition);
  770. void __RPC_STUB IComObjectPool2Events_OnObjPoolGetFromTx2_Stub(
  771.     IRpcStubBuffer *This,
  772.     IRpcChannelBuffer *_pRpcChannelBuffer,
  773.     PRPC_MESSAGE _pRpcMessage,
  774.     DWORD *_pdwStubPhase);
  775. #endif  /* __IComObjectPool2Events_INTERFACE_DEFINED__ */
  776. #ifndef __IComObjectConstruction2Events_INTERFACE_DEFINED__
  777. #define __IComObjectConstruction2Events_INTERFACE_DEFINED__
  778. /* interface IComObjectConstruction2Events */
  779. /* [uuid][hidden][object] */ 
  780. EXTERN_C const IID IID_IComObjectConstruction2Events;
  781. #if defined(__cplusplus) && !defined(CINTERFACE)
  782.     
  783.     MIDL_INTERFACE("4B5A7827-8DF2-45c0-8F6F-57EA1F856A9F")
  784.     IComObjectConstruction2Events : public IUnknown
  785.     {
  786.     public:
  787.         virtual HRESULT STDMETHODCALLTYPE OnObjectConstruct2( 
  788.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  789.             /* [in] */ REFGUID guidObject,
  790.             /* [in] */ LPCOLESTR sConstructString,
  791.             /* [in] */ ULONG64 oid,
  792.             /* [in] */ REFGUID guidPartition) = 0;
  793.         
  794.     };
  795.     
  796. #else  /* C style interface */
  797.     typedef struct IComObjectConstruction2EventsVtbl
  798.     {
  799.         BEGIN_INTERFACE
  800.         
  801.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  802.             IComObjectConstruction2Events * This,
  803.             /* [in] */ REFIID riid,
  804.             /* [iid_is][out] */ void **ppvObject);
  805.         
  806.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  807.             IComObjectConstruction2Events * This);
  808.         
  809.         ULONG ( STDMETHODCALLTYPE *Release )( 
  810.             IComObjectConstruction2Events * This);
  811.         
  812.         HRESULT ( STDMETHODCALLTYPE *OnObjectConstruct2 )( 
  813.             IComObjectConstruction2Events * This,
  814.             /* [in] */ COMSVCSEVENTINFO *pInfo,
  815.             /* [in] */ REFGUID guidObject,
  816.             /* [in] */ LPCOLESTR sConstructString,
  817.             /* [in] */ ULONG64 oid,
  818.             /* [in] */ REFGUID guidPartition);
  819.         
  820.         END_INTERFACE
  821.     } IComObjectConstruction2EventsVtbl;
  822.     interface IComObjectConstruction2Events
  823.     {
  824.         CONST_VTBL struct IComObjectConstruction2EventsVtbl *lpVtbl;
  825.     };
  826.     
  827. #ifdef COBJMACROS
  828. #define IComObjectConstruction2Events_QueryInterface(This,riid,ppvObject)
  829.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  830. #define IComObjectConstruction2Events_AddRef(This)
  831.     (This)->lpVtbl -> AddRef(This)
  832. #define IComObjectConstruction2Events_Release(This)
  833.     (This)->lpVtbl -> Release(This)
  834. #define IComObjectConstruction2Events_OnObjectConstruct2(This,pInfo,guidObject,sConstructString,oid,guidPartition)
  835.     (This)->lpVtbl -> OnObjectConstruct2(This,pInfo,guidObject,sConstructString,oid,guidPartition)
  836. #endif /* COBJMACROS */
  837. #endif  /* C style interface */
  838. HRESULT STDMETHODCALLTYPE IComObjectConstruction2Events_OnObjectConstruct2_Proxy( 
  839.     IComObjectConstruction2Events * This,
  840.     /* [in] */ COMSVCSEVENTINFO *pInfo,
  841.     /* [in] */ REFGUID guidObject,
  842.     /* [in] */ LPCOLESTR sConstructString,
  843.     /* [in] */ ULONG64 oid,
  844.     /* [in] */ REFGUID guidPartition);
  845. void __RPC_STUB IComObjectConstruction2Events_OnObjectConstruct2_Stub(
  846.     IRpcStubBuffer *This,
  847.     IRpcChannelBuffer *_pRpcChannelBuffer,
  848.     PRPC_MESSAGE _pRpcMessage,
  849.     DWORD *_pdwStubPhase);
  850. #endif  /* __IComObjectConstruction2Events_INTERFACE_DEFINED__ */
  851. #ifndef __ISystemAppEventData_INTERFACE_DEFINED__
  852. #define __ISystemAppEventData_INTERFACE_DEFINED__
  853. /* interface ISystemAppEventData */
  854. /* [unique][uuid][hidden][object] */ 
  855. EXTERN_C const IID IID_ISystemAppEventData;
  856. #if defined(__cplusplus) && !defined(CINTERFACE)
  857.     
  858.     MIDL_INTERFACE("D6D48A3C-D5C5-49E7-8C74-99E4889ED52F")
  859.     ISystemAppEventData : public IUnknown
  860.     {
  861.     public:
  862.         virtual HRESULT STDMETHODCALLTYPE Startup( void) = 0;
  863.         
  864.         virtual HRESULT STDMETHODCALLTYPE OnDataChanged( 
  865.             /* [in] */ DWORD dwPID,
  866.             /* [in] */ DWORD dwMask,
  867.             /* [in] */ DWORD dwNumberSinks,
  868.             /* [in] */ BSTR bstrDwMethodMask,
  869.             /* [in] */ DWORD dwReason,
  870.             /* [in] */ ULONG64 u64TraceHandle) = 0;
  871.         
  872.     };
  873.     
  874. #else  /* C style interface */
  875.     typedef struct ISystemAppEventDataVtbl
  876.     {
  877.         BEGIN_INTERFACE
  878.         
  879.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  880.             ISystemAppEventData * This,
  881.             /* [in] */ REFIID riid,
  882.             /* [iid_is][out] */ void **ppvObject);
  883.         
  884.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  885.             ISystemAppEventData * This);
  886.         
  887.         ULONG ( STDMETHODCALLTYPE *Release )( 
  888.             ISystemAppEventData * This);
  889.         
  890.         HRESULT ( STDMETHODCALLTYPE *Startup )( 
  891.             ISystemAppEventData * This);
  892.         
  893.         HRESULT ( STDMETHODCALLTYPE *OnDataChanged )( 
  894.             ISystemAppEventData * This,
  895.             /* [in] */ DWORD dwPID,
  896.             /* [in] */ DWORD dwMask,
  897.             /* [in] */ DWORD dwNumberSinks,
  898.             /* [in] */ BSTR bstrDwMethodMask,
  899.             /* [in] */ DWORD dwReason,
  900.             /* [in] */ ULONG64 u64TraceHandle);
  901.         
  902.         END_INTERFACE
  903.     } ISystemAppEventDataVtbl;
  904.     interface ISystemAppEventData
  905.     {
  906.         CONST_VTBL struct ISystemAppEventDataVtbl *lpVtbl;
  907.     };
  908.     
  909. #ifdef COBJMACROS
  910. #define ISystemAppEventData_QueryInterface(This,riid,ppvObject)
  911.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  912. #define ISystemAppEventData_AddRef(This)
  913.     (This)->lpVtbl -> AddRef(This)
  914. #define ISystemAppEventData_Release(This)
  915.     (This)->lpVtbl -> Release(This)
  916. #define ISystemAppEventData_Startup(This)
  917.     (This)->lpVtbl -> Startup(This)
  918. #define ISystemAppEventData_OnDataChanged(This,dwPID,dwMask,dwNumberSinks,bstrDwMethodMask,dwReason,u64TraceHandle)
  919.     (This)->lpVtbl -> OnDataChanged(This,dwPID,dwMask,dwNumberSinks,bstrDwMethodMask,dwReason,u64TraceHandle)
  920. #endif /* COBJMACROS */
  921. #endif  /* C style interface */
  922. HRESULT STDMETHODCALLTYPE ISystemAppEventData_Startup_Proxy( 
  923.     ISystemAppEventData * This);
  924. void __RPC_STUB ISystemAppEventData_Startup_Stub(
  925.     IRpcStubBuffer *This,
  926.     IRpcChannelBuffer *_pRpcChannelBuffer,
  927.     PRPC_MESSAGE _pRpcMessage,
  928.     DWORD *_pdwStubPhase);
  929. HRESULT STDMETHODCALLTYPE ISystemAppEventData_OnDataChanged_Proxy( 
  930.     ISystemAppEventData * This,
  931.     /* [in] */ DWORD dwPID,
  932.     /* [in] */ DWORD dwMask,
  933.     /* [in] */ DWORD dwNumberSinks,
  934.     /* [in] */ BSTR bstrDwMethodMask,
  935.     /* [in] */ DWORD dwReason,
  936.     /* [in] */ ULONG64 u64TraceHandle);
  937. void __RPC_STUB ISystemAppEventData_OnDataChanged_Stub(
  938.     IRpcStubBuffer *This,
  939.     IRpcChannelBuffer *_pRpcChannelBuffer,
  940.     PRPC_MESSAGE _pRpcMessage,
  941.     DWORD *_pdwStubPhase);
  942. #endif  /* __ISystemAppEventData_INTERFACE_DEFINED__ */
  943. #ifndef __IMtsEvents_INTERFACE_DEFINED__
  944. #define __IMtsEvents_INTERFACE_DEFINED__
  945. /* interface IMtsEvents */
  946. /* [unique][helpstring][dual][uuid][object] */ 
  947. EXTERN_C const IID IID_IMtsEvents;
  948. #if defined(__cplusplus) && !defined(CINTERFACE)
  949.     
  950.     MIDL_INTERFACE("BACEDF4D-74AB-11D0-B162-00AA00BA3258")
  951.     IMtsEvents : public IDispatch
  952.     {
  953.     public:
  954.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PackageName( 
  955.             /* [retval][out] */ BSTR *pVal) = 0;
  956.         
  957.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PackageGuid( 
  958.             /* [retval][out] */ BSTR *pVal) = 0;
  959.         
  960.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PostEvent( 
  961.             /* [in] */ VARIANT *vEvent) = 0;
  962.         
  963.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FireEvents( 
  964.             /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  965.         
  966.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetProcessID( 
  967.             /* [retval][out] */ long *id) = 0;
  968.         
  969.     };
  970.     
  971. #else  /* C style interface */
  972.     typedef struct IMtsEventsVtbl
  973.     {
  974.         BEGIN_INTERFACE
  975.         
  976.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  977.             IMtsEvents * This,
  978.             /* [in] */ REFIID riid,
  979.             /* [iid_is][out] */ void **ppvObject);
  980.         
  981.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  982.             IMtsEvents * This);
  983.         
  984.         ULONG ( STDMETHODCALLTYPE *Release )( 
  985.             IMtsEvents * This);
  986.         
  987.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  988.             IMtsEvents * This,
  989.             /* [out] */ UINT *pctinfo);
  990.         
  991.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  992.             IMtsEvents * This,
  993.             /* [in] */ UINT iTInfo,
  994.             /* [in] */ LCID lcid,
  995.             /* [out] */ ITypeInfo **ppTInfo);
  996.         
  997.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  998.             IMtsEvents * This,
  999.             /* [in] */ REFIID riid,
  1000.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1001.             /* [in] */ UINT cNames,
  1002.             /* [in] */ LCID lcid,
  1003.             /* [size_is][out] */ DISPID *rgDispId);
  1004.         
  1005.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1006.             IMtsEvents * This,
  1007.             /* [in] */ DISPID dispIdMember,
  1008.             /* [in] */ REFIID riid,
  1009.             /* [in] */ LCID lcid,
  1010.             /* [in] */ WORD wFlags,
  1011.             /* [out][in] */ DISPPARAMS *pDispParams,
  1012.             /* [out] */ VARIANT *pVarResult,
  1013.             /* [out] */ EXCEPINFO *pExcepInfo,
  1014.             /* [out] */ UINT *puArgErr);
  1015.         
  1016.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PackageName )( 
  1017.             IMtsEvents * This,
  1018.             /* [retval][out] */ BSTR *pVal);
  1019.         
  1020.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PackageGuid )( 
  1021.             IMtsEvents * This,
  1022.             /* [retval][out] */ BSTR *pVal);
  1023.         
  1024.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PostEvent )( 
  1025.             IMtsEvents * This,
  1026.             /* [in] */ VARIANT *vEvent);
  1027.         
  1028.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FireEvents )( 
  1029.             IMtsEvents * This,
  1030.             /* [retval][out] */ VARIANT_BOOL *pVal);
  1031.         
  1032.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetProcessID )( 
  1033.             IMtsEvents * This,
  1034.             /* [retval][out] */ long *id);
  1035.         
  1036.         END_INTERFACE
  1037.     } IMtsEventsVtbl;
  1038.     interface IMtsEvents
  1039.     {
  1040.         CONST_VTBL struct IMtsEventsVtbl *lpVtbl;
  1041.     };
  1042.     
  1043. #ifdef COBJMACROS
  1044. #define IMtsEvents_QueryInterface(This,riid,ppvObject)
  1045.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1046. #define IMtsEvents_AddRef(This)
  1047.     (This)->lpVtbl -> AddRef(This)
  1048. #define IMtsEvents_Release(This)
  1049.     (This)->lpVtbl -> Release(This)
  1050. #define IMtsEvents_GetTypeInfoCount(This,pctinfo)
  1051.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1052. #define IMtsEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1053.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1054. #define IMtsEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1055.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1056. #define IMtsEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1057.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1058. #define IMtsEvents_get_PackageName(This,pVal)
  1059.     (This)->lpVtbl -> get_PackageName(This,pVal)
  1060. #define IMtsEvents_get_PackageGuid(This,pVal)
  1061.     (This)->lpVtbl -> get_PackageGuid(This,pVal)
  1062. #define IMtsEvents_PostEvent(This,vEvent)
  1063.     (This)->lpVtbl -> PostEvent(This,vEvent)
  1064. #define IMtsEvents_get_FireEvents(This,pVal)
  1065.     (This)->lpVtbl -> get_FireEvents(This,pVal)
  1066. #define IMtsEvents_GetProcessID(This,id)
  1067.     (This)->lpVtbl -> GetProcessID(This,id)
  1068. #endif /* COBJMACROS */
  1069. #endif  /* C style interface */
  1070. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsEvents_get_PackageName_Proxy( 
  1071.     IMtsEvents * This,
  1072.     /* [retval][out] */ BSTR *pVal);
  1073. void __RPC_STUB IMtsEvents_get_PackageName_Stub(
  1074.     IRpcStubBuffer *This,
  1075.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1076.     PRPC_MESSAGE _pRpcMessage,
  1077.     DWORD *_pdwStubPhase);
  1078. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsEvents_get_PackageGuid_Proxy( 
  1079.     IMtsEvents * This,
  1080.     /* [retval][out] */ BSTR *pVal);
  1081. void __RPC_STUB IMtsEvents_get_PackageGuid_Stub(
  1082.     IRpcStubBuffer *This,
  1083.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1084.     PRPC_MESSAGE _pRpcMessage,
  1085.     DWORD *_pdwStubPhase);
  1086. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMtsEvents_PostEvent_Proxy( 
  1087.     IMtsEvents * This,
  1088.     /* [in] */ VARIANT *vEvent);
  1089. void __RPC_STUB IMtsEvents_PostEvent_Stub(
  1090.     IRpcStubBuffer *This,
  1091.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1092.     PRPC_MESSAGE _pRpcMessage,
  1093.     DWORD *_pdwStubPhase);
  1094. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsEvents_get_FireEvents_Proxy( 
  1095.     IMtsEvents * This,
  1096.     /* [retval][out] */ VARIANT_BOOL *pVal);
  1097. void __RPC_STUB IMtsEvents_get_FireEvents_Stub(
  1098.     IRpcStubBuffer *This,
  1099.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1100.     PRPC_MESSAGE _pRpcMessage,
  1101.     DWORD *_pdwStubPhase);
  1102. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMtsEvents_GetProcessID_Proxy( 
  1103.     IMtsEvents * This,
  1104.     /* [retval][out] */ long *id);
  1105. void __RPC_STUB IMtsEvents_GetProcessID_Stub(
  1106.     IRpcStubBuffer *This,
  1107.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1108.     PRPC_MESSAGE _pRpcMessage,
  1109.     DWORD *_pdwStubPhase);
  1110. #endif  /* __IMtsEvents_INTERFACE_DEFINED__ */
  1111. #ifndef __IMtsEventInfo_INTERFACE_DEFINED__
  1112. #define __IMtsEventInfo_INTERFACE_DEFINED__
  1113. /* interface IMtsEventInfo */
  1114. /* [unique][helpstring][dual][uuid][object] */ 
  1115. EXTERN_C const IID IID_IMtsEventInfo;
  1116. #if defined(__cplusplus) && !defined(CINTERFACE)
  1117.     
  1118.     MIDL_INTERFACE("D56C3DC1-8482-11d0-B170-00AA00BA3258")
  1119.     IMtsEventInfo : public IDispatch
  1120.     {
  1121.     public:
  1122.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Names( 
  1123.             /* [retval][out] */ IUnknown **pUnk) = 0;
  1124.         
  1125.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayName( 
  1126.             /* [retval][out] */ BSTR *sDisplayName) = 0;
  1127.         
  1128.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EventID( 
  1129.             /* [retval][out] */ BSTR *sGuidEventID) = 0;
  1130.         
  1131.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  1132.             /* [retval][out] */ long *lCount) = 0;
  1133.         
  1134.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Value( 
  1135.             /* [in] */ BSTR sKey,
  1136.             /* [retval][out] */ VARIANT *pVal) = 0;
  1137.         
  1138.     };
  1139.     
  1140. #else  /* C style interface */
  1141.     typedef struct IMtsEventInfoVtbl
  1142.     {
  1143.         BEGIN_INTERFACE
  1144.         
  1145.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1146.             IMtsEventInfo * This,
  1147.             /* [in] */ REFIID riid,
  1148.             /* [iid_is][out] */ void **ppvObject);
  1149.         
  1150.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1151.             IMtsEventInfo * This);
  1152.         
  1153.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1154.             IMtsEventInfo * This);
  1155.         
  1156.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1157.             IMtsEventInfo * This,
  1158.             /* [out] */ UINT *pctinfo);
  1159.         
  1160.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1161.             IMtsEventInfo * This,
  1162.             /* [in] */ UINT iTInfo,
  1163.             /* [in] */ LCID lcid,
  1164.             /* [out] */ ITypeInfo **ppTInfo);
  1165.         
  1166.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1167.             IMtsEventInfo * This,
  1168.             /* [in] */ REFIID riid,
  1169.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1170.             /* [in] */ UINT cNames,
  1171.             /* [in] */ LCID lcid,
  1172.             /* [size_is][out] */ DISPID *rgDispId);
  1173.         
  1174.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1175.             IMtsEventInfo * This,
  1176.             /* [in] */ DISPID dispIdMember,
  1177.             /* [in] */ REFIID riid,
  1178.             /* [in] */ LCID lcid,
  1179.             /* [in] */ WORD wFlags,
  1180.             /* [out][in] */ DISPPARAMS *pDispParams,
  1181.             /* [out] */ VARIANT *pVarResult,
  1182.             /* [out] */ EXCEPINFO *pExcepInfo,
  1183.             /* [out] */ UINT *puArgErr);
  1184.         
  1185.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Names )( 
  1186.             IMtsEventInfo * This,
  1187.             /* [retval][out] */ IUnknown **pUnk);
  1188.         
  1189.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayName )( 
  1190.             IMtsEventInfo * This,
  1191.             /* [retval][out] */ BSTR *sDisplayName);
  1192.         
  1193.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventID )( 
  1194.             IMtsEventInfo * This,
  1195.             /* [retval][out] */ BSTR *sGuidEventID);
  1196.         
  1197.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  1198.             IMtsEventInfo * This,
  1199.             /* [retval][out] */ long *lCount);
  1200.         
  1201.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( 
  1202.             IMtsEventInfo * This,
  1203.             /* [in] */ BSTR sKey,
  1204.             /* [retval][out] */ VARIANT *pVal);
  1205.         
  1206.         END_INTERFACE
  1207.     } IMtsEventInfoVtbl;
  1208.     interface IMtsEventInfo
  1209.     {
  1210.         CONST_VTBL struct IMtsEventInfoVtbl *lpVtbl;
  1211.     };
  1212.     
  1213. #ifdef COBJMACROS
  1214. #define IMtsEventInfo_QueryInterface(This,riid,ppvObject)
  1215.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1216. #define IMtsEventInfo_AddRef(This)
  1217.     (This)->lpVtbl -> AddRef(This)
  1218. #define IMtsEventInfo_Release(This)
  1219.     (This)->lpVtbl -> Release(This)
  1220. #define IMtsEventInfo_GetTypeInfoCount(This,pctinfo)
  1221.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1222. #define IMtsEventInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1223.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1224. #define IMtsEventInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1225.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1226. #define IMtsEventInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1227.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1228. #define IMtsEventInfo_get_Names(This,pUnk)
  1229.     (This)->lpVtbl -> get_Names(This,pUnk)
  1230. #define IMtsEventInfo_get_DisplayName(This,sDisplayName)
  1231.     (This)->lpVtbl -> get_DisplayName(This,sDisplayName)
  1232. #define IMtsEventInfo_get_EventID(This,sGuidEventID)
  1233.     (This)->lpVtbl -> get_EventID(This,sGuidEventID)
  1234. #define IMtsEventInfo_get_Count(This,lCount)
  1235.     (This)->lpVtbl -> get_Count(This,lCount)
  1236. #define IMtsEventInfo_get_Value(This,sKey,pVal)
  1237.     (This)->lpVtbl -> get_Value(This,sKey,pVal)
  1238. #endif /* COBJMACROS */
  1239. #endif  /* C style interface */
  1240. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_Names_Proxy( 
  1241.     IMtsEventInfo * This,
  1242.     /* [retval][out] */ IUnknown **pUnk);
  1243. void __RPC_STUB IMtsEventInfo_get_Names_Stub(
  1244.     IRpcStubBuffer *This,
  1245.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1246.     PRPC_MESSAGE _pRpcMessage,
  1247.     DWORD *_pdwStubPhase);
  1248. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_DisplayName_Proxy( 
  1249.     IMtsEventInfo * This,
  1250.     /* [retval][out] */ BSTR *sDisplayName);
  1251. void __RPC_STUB IMtsEventInfo_get_DisplayName_Stub(
  1252.     IRpcStubBuffer *This,
  1253.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1254.     PRPC_MESSAGE _pRpcMessage,
  1255.     DWORD *_pdwStubPhase);
  1256. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_EventID_Proxy( 
  1257.     IMtsEventInfo * This,
  1258.     /* [retval][out] */ BSTR *sGuidEventID);
  1259. void __RPC_STUB IMtsEventInfo_get_EventID_Stub(
  1260.     IRpcStubBuffer *This,
  1261.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1262.     PRPC_MESSAGE _pRpcMessage,
  1263.     DWORD *_pdwStubPhase);
  1264. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_Count_Proxy( 
  1265.     IMtsEventInfo * This,
  1266.     /* [retval][out] */ long *lCount);
  1267. void __RPC_STUB IMtsEventInfo_get_Count_Stub(
  1268.     IRpcStubBuffer *This,
  1269.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1270.     PRPC_MESSAGE _pRpcMessage,
  1271.     DWORD *_pdwStubPhase);
  1272. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMtsEventInfo_get_Value_Proxy( 
  1273.     IMtsEventInfo * This,
  1274.     /* [in] */ BSTR sKey,
  1275.     /* [retval][out] */ VARIANT *pVal);
  1276. void __RPC_STUB IMtsEventInfo_get_Value_Stub(
  1277.     IRpcStubBuffer *This,
  1278.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1279.     PRPC_MESSAGE _pRpcMessage,
  1280.     DWORD *_pdwStubPhase);
  1281. #endif  /* __IMtsEventInfo_INTERFACE_DEFINED__ */
  1282. #ifndef __IMTSLocator_INTERFACE_DEFINED__
  1283. #define __IMTSLocator_INTERFACE_DEFINED__
  1284. /* interface IMTSLocator */
  1285. /* [unique][helpstring][dual][uuid][object] */ 
  1286. EXTERN_C const IID IID_IMTSLocator;
  1287. #if defined(__cplusplus) && !defined(CINTERFACE)
  1288.     
  1289.     MIDL_INTERFACE("D19B8BFD-7F88-11D0-B16E-00AA00BA3258")
  1290.     IMTSLocator : public IDispatch
  1291.     {
  1292.     public:
  1293.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetEventDispatcher( 
  1294.             /* [retval][out] */ IUnknown **pUnk) = 0;
  1295.         
  1296.     };
  1297.     
  1298. #else  /* C style interface */
  1299.     typedef struct IMTSLocatorVtbl
  1300.     {
  1301.         BEGIN_INTERFACE
  1302.         
  1303.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1304.             IMTSLocator * This,
  1305.             /* [in] */ REFIID riid,
  1306.             /* [iid_is][out] */ void **ppvObject);
  1307.         
  1308.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1309.             IMTSLocator * This);
  1310.         
  1311.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1312.             IMTSLocator * This);
  1313.         
  1314.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1315.             IMTSLocator * This,
  1316.             /* [out] */ UINT *pctinfo);
  1317.         
  1318.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1319.             IMTSLocator * This,
  1320.             /* [in] */ UINT iTInfo,
  1321.             /* [in] */ LCID lcid,
  1322.             /* [out] */ ITypeInfo **ppTInfo);
  1323.         
  1324.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1325.             IMTSLocator * This,
  1326.             /* [in] */ REFIID riid,
  1327.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1328.             /* [in] */ UINT cNames,
  1329.             /* [in] */ LCID lcid,
  1330.             /* [size_is][out] */ DISPID *rgDispId);
  1331.         
  1332.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1333.             IMTSLocator * This,
  1334.             /* [in] */ DISPID dispIdMember,
  1335.             /* [in] */ REFIID riid,
  1336.             /* [in] */ LCID lcid,
  1337.             /* [in] */ WORD wFlags,
  1338.             /* [out][in] */ DISPPARAMS *pDispParams,
  1339.             /* [out] */ VARIANT *pVarResult,
  1340.             /* [out] */ EXCEPINFO *pExcepInfo,
  1341.             /* [out] */ UINT *puArgErr);
  1342.         
  1343.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetEventDispatcher )( 
  1344.             IMTSLocator * This,
  1345.             /* [retval][out] */ IUnknown **pUnk);
  1346.         
  1347.         END_INTERFACE
  1348.     } IMTSLocatorVtbl;
  1349.     interface IMTSLocator
  1350.     {
  1351.         CONST_VTBL struct IMTSLocatorVtbl *lpVtbl;
  1352.     };
  1353.     
  1354. #ifdef COBJMACROS
  1355. #define IMTSLocator_QueryInterface(This,riid,ppvObject)
  1356.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1357. #define IMTSLocator_AddRef(This)
  1358.     (This)->lpVtbl -> AddRef(This)
  1359. #define IMTSLocator_Release(This)
  1360.     (This)->lpVtbl -> Release(This)
  1361. #define IMTSLocator_GetTypeInfoCount(This,pctinfo)
  1362.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1363. #define IMTSLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1364.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1365. #define IMTSLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1366.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1367. #define IMTSLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1368.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1369. #define IMTSLocator_GetEventDispatcher(This,pUnk)
  1370.     (This)->lpVtbl -> GetEventDispatcher(This,pUnk)
  1371. #endif /* COBJMACROS */
  1372. #endif  /* C style interface */
  1373. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMTSLocator_GetEventDispatcher_Proxy( 
  1374.     IMTSLocator * This,
  1375.     /* [retval][out] */ IUnknown **pUnk);
  1376. void __RPC_STUB IMTSLocator_GetEventDispatcher_Stub(
  1377.     IRpcStubBuffer *This,
  1378.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1379.     PRPC_MESSAGE _pRpcMessage,
  1380.     DWORD *_pdwStubPhase);
  1381. #endif  /* __IMTSLocator_INTERFACE_DEFINED__ */
  1382. #ifndef __IMtsGrp_INTERFACE_DEFINED__
  1383. #define __IMtsGrp_INTERFACE_DEFINED__
  1384. /* interface IMtsGrp */
  1385. /* [unique][helpstring][dual][uuid][object] */ 
  1386. EXTERN_C const IID IID_IMtsGrp;
  1387. #if defined(__cplusplus) && !defined(CINTERFACE)
  1388.     
  1389.     MIDL_INTERFACE("4B2E958C-0393-11D1-B1AB-00AA00BA3258")
  1390.     IMtsGrp : public IDispatch
  1391.     {
  1392.     public:
  1393.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  1394.             /* [retval][out] */ long *pVal) = 0;
  1395.         
  1396.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item( 
  1397.             /* [in] */ long lIndex,
  1398.             /* [out] */ IUnknown **ppUnkDispatcher) = 0;
  1399.         
  1400.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  1401.         
  1402.     };
  1403.     
  1404. #else  /* C style interface */
  1405.     typedef struct IMtsGrpVtbl
  1406.     {
  1407.         BEGIN_INTERFACE
  1408.         
  1409.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1410.             IMtsGrp * This,
  1411.             /* [in] */ REFIID riid,
  1412.             /* [iid_is][out] */ void **ppvObject);
  1413.         
  1414.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1415.             IMtsGrp * This);
  1416.         
  1417.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1418.             IMtsGrp * This);
  1419.         
  1420.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1421.             IMtsGrp * This,
  1422.             /* [out] */ UINT *pctinfo);
  1423.         
  1424.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1425.             IMtsGrp * This,
  1426.             /* [in] */ UINT iTInfo,
  1427.             /* [in] */ LCID lcid,
  1428.             /* [out] */ ITypeInfo **ppTInfo);
  1429.         
  1430.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1431.             IMtsGrp * This,
  1432.             /* [in] */ REFIID riid,
  1433.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1434.             /* [in] */ UINT cNames,
  1435.             /* [in] */ LCID lcid,
  1436.             /* [size_is][out] */ DISPID *rgDispId);
  1437.         
  1438.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1439.             IMtsGrp * This,
  1440.             /* [in] */ DISPID dispIdMember,
  1441.             /* [in] */ REFIID riid,
  1442.             /* [in] */ LCID lcid,
  1443.             /* [in] */ WORD wFlags,
  1444.             /* [out][in] */ DISPPARAMS *pDispParams,
  1445.             /* [out] */ VARIANT *pVarResult,
  1446.             /* [out] */ EXCEPINFO *pExcepInfo,
  1447.             /* [out] */ UINT *puArgErr);
  1448.         
  1449.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  1450.             IMtsGrp * This,
  1451.             /* [retval][out] */ long *pVal);
  1452.         
  1453.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  1454.             IMtsGrp * This,
  1455.             /* [in] */ long lIndex,
  1456.             /* [out] */ IUnknown **ppUnkDispatcher);
  1457.         
  1458.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( 
  1459.             IMtsGrp * This);
  1460.         
  1461.         END_INTERFACE
  1462.     } IMtsGrpVtbl;
  1463.     interface IMtsGrp
  1464.     {
  1465.         CONST_VTBL struct IMtsGrpVtbl *lpVtbl;
  1466.     };
  1467.     
  1468. #ifdef COBJMACROS
  1469. #define IMtsGrp_QueryInterface(This,riid,ppvObject)
  1470.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1471. #define IMtsGrp_AddRef(This)
  1472.     (This)->lpVtbl -> AddRef(This)
  1473. #define IMtsGrp_Release(This)
  1474.     (This)->lpVtbl -> Release(This)
  1475. #define IMtsGrp_GetTypeInfoCount(This,pctinfo)
  1476.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1477. #define IMtsGrp_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1478.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1479. #define IMtsGrp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1480.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1481. #define IMtsGrp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1482.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1483. #define IMtsGrp_get_Count(This,pVal)
  1484.     (This)->lpVtbl -> get_Count(This,pVal)
  1485. #define IMtsGrp_Item(This,lIndex,ppUnkDispatcher)
  1486.     (This)->lpVtbl -> Item(This,lIndex,ppUnkDispatcher)
  1487. #define IMtsGrp_Refresh(This)
  1488.     (This)->lpVtbl -> Refresh(This)
  1489. #endif /* COBJMACROS */
  1490. #endif  /* C style interface */
  1491. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsGrp_get_Count_Proxy( 
  1492.     IMtsGrp * This,
  1493.     /* [retval][out] */ long *pVal);
  1494. void __RPC_STUB IMtsGrp_get_Count_Stub(
  1495.     IRpcStubBuffer *This,
  1496.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1497.     PRPC_MESSAGE _pRpcMessage,
  1498.     DWORD *_pdwStubPhase);
  1499. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMtsGrp_Item_Proxy( 
  1500.     IMtsGrp * This,
  1501.     /* [in] */ long lIndex,
  1502.     /* [out] */ IUnknown **ppUnkDispatcher);
  1503. void __RPC_STUB IMtsGrp_Item_Stub(
  1504.     IRpcStubBuffer *This,
  1505.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1506.     PRPC_MESSAGE _pRpcMessage,
  1507.     DWORD *_pdwStubPhase);
  1508. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMtsGrp_Refresh_Proxy( 
  1509.     IMtsGrp * This);
  1510. void __RPC_STUB IMtsGrp_Refresh_Stub(
  1511.     IRpcStubBuffer *This,
  1512.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1513.     PRPC_MESSAGE _pRpcMessage,
  1514.     DWORD *_pdwStubPhase);
  1515. #endif  /* __IMtsGrp_INTERFACE_DEFINED__ */
  1516. #ifndef __IMessageMover_INTERFACE_DEFINED__
  1517. #define __IMessageMover_INTERFACE_DEFINED__
  1518. /* interface IMessageMover */
  1519. /* [unique][dual][nonextensible][oleautomation][hidden][object][helpstring][uuid] */ 
  1520. EXTERN_C const IID IID_IMessageMover;
  1521. #if defined(__cplusplus) && !defined(CINTERFACE)
  1522.     
  1523.     MIDL_INTERFACE("588A085A-B795-11D1-8054-00C04FC340EE")
  1524.     IMessageMover : public IDispatch
  1525.     {
  1526.     public:
  1527.         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_SourcePath( 
  1528.             /* [retval][out] */ BSTR *pVal) = 0;
  1529.         
  1530.         virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_SourcePath( 
  1531.             /* [in] */ BSTR newVal) = 0;
  1532.         
  1533.         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_DestPath( 
  1534.             /* [retval][out] */ BSTR *pVal) = 0;
  1535.         
  1536.         virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_DestPath( 
  1537.             /* [in] */ BSTR newVal) = 0;
  1538.         
  1539.         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_CommitBatchSize( 
  1540.             /* [retval][out] */ long *pVal) = 0;
  1541.         
  1542.         virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_CommitBatchSize( 
  1543.             /* [in] */ long newVal) = 0;
  1544.         
  1545.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveMessages( 
  1546.             /* [retval][out] */ long *plMessagesMoved) = 0;
  1547.         
  1548.     };
  1549.     
  1550. #else  /* C style interface */
  1551.     typedef struct IMessageMoverVtbl
  1552.     {
  1553.         BEGIN_INTERFACE
  1554.         
  1555.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1556.             IMessageMover * This,
  1557.             /* [in] */ REFIID riid,
  1558.             /* [iid_is][out] */ void **ppvObject);
  1559.         
  1560.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1561.             IMessageMover * This);
  1562.         
  1563.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1564.             IMessageMover * This);
  1565.         
  1566.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1567.             IMessageMover * This,
  1568.             /* [out] */ UINT *pctinfo);
  1569.         
  1570.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1571.             IMessageMover * This,
  1572.             /* [in] */ UINT iTInfo,
  1573.             /* [in] */ LCID lcid,
  1574.             /* [out] */ ITypeInfo **ppTInfo);
  1575.         
  1576.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1577.             IMessageMover * This,
  1578.             /* [in] */ REFIID riid,
  1579.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1580.             /* [in] */ UINT cNames,
  1581.             /* [in] */ LCID lcid,
  1582.             /* [size_is][out] */ DISPID *rgDispId);
  1583.         
  1584.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1585.             IMessageMover * This,
  1586.             /* [in] */ DISPID dispIdMember,
  1587.             /* [in] */ REFIID riid,
  1588.             /* [in] */ LCID lcid,
  1589.             /* [in] */ WORD wFlags,
  1590.             /* [out][in] */ DISPPARAMS *pDispParams,
  1591.             /* [out] */ VARIANT *pVarResult,
  1592.             /* [out] */ EXCEPINFO *pExcepInfo,
  1593.             /* [out] */ UINT *puArgErr);
  1594.         
  1595.         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourcePath )( 
  1596.             IMessageMover * This,
  1597.             /* [retval][out] */ BSTR *pVal);
  1598.         
  1599.         /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourcePath )( 
  1600.             IMessageMover * This,
  1601.             /* [in] */ BSTR newVal);
  1602.         
  1603.         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestPath )( 
  1604.             IMessageMover * This,
  1605.             /* [retval][out] */ BSTR *pVal);
  1606.         
  1607.         /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DestPath )( 
  1608.             IMessageMover * This,
  1609.             /* [in] */ BSTR newVal);
  1610.         
  1611.         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CommitBatchSize )( 
  1612.             IMessageMover * This,
  1613.             /* [retval][out] */ long *pVal);
  1614.         
  1615.         /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CommitBatchSize )( 
  1616.             IMessageMover * This,
  1617.             /* [in] */ long newVal);
  1618.         
  1619.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *MoveMessages )( 
  1620.             IMessageMover * This,
  1621.             /* [retval][out] */ long *plMessagesMoved);
  1622.         
  1623.         END_INTERFACE
  1624.     } IMessageMoverVtbl;
  1625.     interface IMessageMover
  1626.     {
  1627.         CONST_VTBL struct IMessageMoverVtbl *lpVtbl;
  1628.     };
  1629.     
  1630. #ifdef COBJMACROS
  1631. #define IMessageMover_QueryInterface(This,riid,ppvObject)
  1632.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1633. #define IMessageMover_AddRef(This)
  1634.     (This)->lpVtbl -> AddRef(This)
  1635. #define IMessageMover_Release(This)
  1636.     (This)->lpVtbl -> Release(This)
  1637. #define IMessageMover_GetTypeInfoCount(This,pctinfo)
  1638.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1639. #define IMessageMover_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1640.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1641. #define IMessageMover_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1642.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1643. #define IMessageMover_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1644.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1645. #define IMessageMover_get_SourcePath(This,pVal)
  1646.     (This)->lpVtbl -> get_SourcePath(This,pVal)
  1647. #define IMessageMover_put_SourcePath(This,newVal)
  1648.     (This)->lpVtbl -> put_SourcePath(This,newVal)
  1649. #define IMessageMover_get_DestPath(This,pVal)
  1650.     (This)->lpVtbl -> get_DestPath(This,pVal)
  1651. #define IMessageMover_put_DestPath(This,newVal)
  1652.     (This)->lpVtbl -> put_DestPath(This,newVal)
  1653. #define IMessageMover_get_CommitBatchSize(This,pVal)
  1654.     (This)->lpVtbl -> get_CommitBatchSize(This,pVal)
  1655. #define IMessageMover_put_CommitBatchSize(This,newVal)
  1656.     (This)->lpVtbl -> put_CommitBatchSize(This,newVal)
  1657. #define IMessageMover_MoveMessages(This,plMessagesMoved)
  1658.     (This)->lpVtbl -> MoveMessages(This,plMessagesMoved)
  1659. #endif /* COBJMACROS */
  1660. #endif  /* C style interface */
  1661. /* [id][propget] */ HRESULT STDMETHODCALLTYPE IMessageMover_get_SourcePath_Proxy( 
  1662.     IMessageMover * This,
  1663.     /* [retval][out] */ BSTR *pVal);
  1664. void __RPC_STUB IMessageMover_get_SourcePath_Stub(
  1665.     IRpcStubBuffer *This,
  1666.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1667.     PRPC_MESSAGE _pRpcMessage,
  1668.     DWORD *_pdwStubPhase);
  1669. /* [id][propput] */ HRESULT STDMETHODCALLTYPE IMessageMover_put_SourcePath_Proxy( 
  1670.     IMessageMover * This,
  1671.     /* [in] */ BSTR newVal);
  1672. void __RPC_STUB IMessageMover_put_SourcePath_Stub(
  1673.     IRpcStubBuffer *This,
  1674.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1675.     PRPC_MESSAGE _pRpcMessage,
  1676.     DWORD *_pdwStubPhase);
  1677. /* [id][propget] */ HRESULT STDMETHODCALLTYPE IMessageMover_get_DestPath_Proxy( 
  1678.     IMessageMover * This,
  1679.     /* [retval][out] */ BSTR *pVal);
  1680. void __RPC_STUB IMessageMover_get_DestPath_Stub(
  1681.     IRpcStubBuffer *This,
  1682.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1683.     PRPC_MESSAGE _pRpcMessage,
  1684.     DWORD *_pdwStubPhase);
  1685. /* [id][propput] */ HRESULT STDMETHODCALLTYPE IMessageMover_put_DestPath_Proxy( 
  1686.     IMessageMover * This,
  1687.     /* [in] */ BSTR newVal);
  1688. void __RPC_STUB IMessageMover_put_DestPath_Stub(
  1689.     IRpcStubBuffer *This,
  1690.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1691.     PRPC_MESSAGE _pRpcMessage,
  1692.     DWORD *_pdwStubPhase);
  1693. /* [id][propget] */ HRESULT STDMETHODCALLTYPE IMessageMover_get_CommitBatchSize_Proxy( 
  1694.     IMessageMover * This,
  1695.     /* [retval][out] */ long *pVal);
  1696. void __RPC_STUB IMessageMover_get_CommitBatchSize_Stub(
  1697.     IRpcStubBuffer *This,
  1698.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1699.     PRPC_MESSAGE _pRpcMessage,
  1700.     DWORD *_pdwStubPhase);
  1701. /* [id][propput] */ HRESULT STDMETHODCALLTYPE IMessageMover_put_CommitBatchSize_Proxy( 
  1702.     IMessageMover * This,
  1703.     /* [in] */ long newVal);
  1704. void __RPC_STUB IMessageMover_put_CommitBatchSize_Stub(
  1705.     IRpcStubBuffer *This,
  1706.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1707.     PRPC_MESSAGE _pRpcMessage,
  1708.     DWORD *_pdwStubPhase);
  1709. /* [id] */ HRESULT STDMETHODCALLTYPE IMessageMover_MoveMessages_Proxy( 
  1710.     IMessageMover * This,
  1711.     /* [retval][out] */ long *plMessagesMoved);
  1712. void __RPC_STUB IMessageMover_MoveMessages_Stub(
  1713.     IRpcStubBuffer *This,
  1714.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1715.     PRPC_MESSAGE _pRpcMessage,
  1716.     DWORD *_pdwStubPhase);
  1717. #endif  /* __IMessageMover_INTERFACE_DEFINED__ */
  1718. #ifndef __IEventServerTrace_INTERFACE_DEFINED__
  1719. #define __IEventServerTrace_INTERFACE_DEFINED__
  1720. /* interface IEventServerTrace */
  1721. /* [object][unique][helpstring][dual][uuid] */ 
  1722. EXTERN_C const IID IID_IEventServerTrace;
  1723. #if defined(__cplusplus) && !defined(CINTERFACE)
  1724.     
  1725.     MIDL_INTERFACE("9A9F12B8-80AF-47ab-A579-35EA57725370")
  1726.     IEventServerTrace : public IDispatch
  1727.     {
  1728.     public:
  1729.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartTraceGuid( 
  1730.             /* [in] */ BSTR bstrguidEvent,
  1731.             /* [in] */ BSTR bstrguidFilter,
  1732.             /* [in] */ LONG lPidFilter) = 0;
  1733.         
  1734.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopTraceGuid( 
  1735.             /* [in] */ BSTR bstrguidEvent,
  1736.             /* [in] */ BSTR bstrguidFilter,
  1737.             /* [in] */ LONG lPidFilter) = 0;
  1738.         
  1739.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumTraceGuid( 
  1740.             /* [out] */ LONG *plCntGuids,
  1741.             /* [out] */ BSTR *pbstrGuidList) = 0;
  1742.         
  1743.     };
  1744.     
  1745. #else  /* C style interface */
  1746.     typedef struct IEventServerTraceVtbl
  1747.     {
  1748.         BEGIN_INTERFACE
  1749.         
  1750.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1751.             IEventServerTrace * This,
  1752.             /* [in] */ REFIID riid,
  1753.             /* [iid_is][out] */ void **ppvObject);
  1754.         
  1755.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1756.             IEventServerTrace * This);
  1757.         
  1758.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1759.             IEventServerTrace * This);
  1760.         
  1761.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1762.             IEventServerTrace * This,
  1763.             /* [out] */ UINT *pctinfo);
  1764.         
  1765.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1766.             IEventServerTrace * This,
  1767.             /* [in] */ UINT iTInfo,
  1768.             /* [in] */ LCID lcid,
  1769.             /* [out] */ ITypeInfo **ppTInfo);
  1770.         
  1771.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1772.             IEventServerTrace * This,
  1773.             /* [in] */ REFIID riid,
  1774.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1775.             /* [in] */ UINT cNames,
  1776.             /* [in] */ LCID lcid,
  1777.             /* [size_is][out] */ DISPID *rgDispId);
  1778.         
  1779.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1780.             IEventServerTrace * This,
  1781.             /* [in] */ DISPID dispIdMember,
  1782.             /* [in] */ REFIID riid,
  1783.             /* [in] */ LCID lcid,
  1784.             /* [in] */ WORD wFlags,
  1785.             /* [out][in] */ DISPPARAMS *pDispParams,
  1786.             /* [out] */ VARIANT *pVarResult,
  1787.             /* [out] */ EXCEPINFO *pExcepInfo,
  1788.             /* [out] */ UINT *puArgErr);
  1789.         
  1790.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartTraceGuid )( 
  1791.             IEventServerTrace * This,
  1792.             /* [in] */ BSTR bstrguidEvent,
  1793.             /* [in] */ BSTR bstrguidFilter,
  1794.             /* [in] */ LONG lPidFilter);
  1795.         
  1796.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopTraceGuid )( 
  1797.             IEventServerTrace * This,
  1798.             /* [in] */ BSTR bstrguidEvent,
  1799.             /* [in] */ BSTR bstrguidFilter,
  1800.             /* [in] */ LONG lPidFilter);
  1801.         
  1802.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumTraceGuid )( 
  1803.             IEventServerTrace * This,
  1804.             /* [out] */ LONG *plCntGuids,
  1805.             /* [out] */ BSTR *pbstrGuidList);
  1806.         
  1807.         END_INTERFACE
  1808.     } IEventServerTraceVtbl;
  1809.     interface IEventServerTrace
  1810.     {
  1811.         CONST_VTBL struct IEventServerTraceVtbl *lpVtbl;
  1812.     };
  1813.     
  1814. #ifdef COBJMACROS
  1815. #define IEventServerTrace_QueryInterface(This,riid,ppvObject)
  1816.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1817. #define IEventServerTrace_AddRef(This)
  1818.     (This)->lpVtbl -> AddRef(This)
  1819. #define IEventServerTrace_Release(This)
  1820.     (This)->lpVtbl -> Release(This)
  1821. #define IEventServerTrace_GetTypeInfoCount(This,pctinfo)
  1822.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1823. #define IEventServerTrace_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1824.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1825. #define IEventServerTrace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1826.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1827. #define IEventServerTrace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1828.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1829. #define IEventServerTrace_StartTraceGuid(This,bstrguidEvent,bstrguidFilter,lPidFilter)
  1830.     (This)->lpVtbl -> StartTraceGuid(This,bstrguidEvent,bstrguidFilter,lPidFilter)
  1831. #define IEventServerTrace_StopTraceGuid(This,bstrguidEvent,bstrguidFilter,lPidFilter)
  1832.     (This)->lpVtbl -> StopTraceGuid(This,bstrguidEvent,bstrguidFilter,lPidFilter)
  1833. #define IEventServerTrace_EnumTraceGuid(This,plCntGuids,pbstrGuidList)
  1834.     (This)->lpVtbl -> EnumTraceGuid(This,plCntGuids,pbstrGuidList)
  1835. #endif /* COBJMACROS */
  1836. #endif  /* C style interface */
  1837. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventServerTrace_StartTraceGuid_Proxy( 
  1838.     IEventServerTrace * This,
  1839.     /* [in] */ BSTR bstrguidEvent,
  1840.     /* [in] */ BSTR bstrguidFilter,
  1841.     /* [in] */ LONG lPidFilter);
  1842. void __RPC_STUB IEventServerTrace_StartTraceGuid_Stub(
  1843.     IRpcStubBuffer *This,
  1844.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1845.     PRPC_MESSAGE _pRpcMessage,
  1846.     DWORD *_pdwStubPhase);
  1847. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventServerTrace_StopTraceGuid_Proxy( 
  1848.     IEventServerTrace * This,
  1849.     /* [in] */ BSTR bstrguidEvent,
  1850.     /* [in] */ BSTR bstrguidFilter,
  1851.     /* [in] */ LONG lPidFilter);
  1852. void __RPC_STUB IEventServerTrace_StopTraceGuid_Stub(
  1853.     IRpcStubBuffer *This,
  1854.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1855.     PRPC_MESSAGE _pRpcMessage,
  1856.     DWORD *_pdwStubPhase);
  1857. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEventServerTrace_EnumTraceGuid_Proxy( 
  1858.     IEventServerTrace * This,
  1859.     /* [out] */ LONG *plCntGuids,
  1860.     /* [out] */ BSTR *pbstrGuidList);
  1861. void __RPC_STUB IEventServerTrace_EnumTraceGuid_Stub(
  1862.     IRpcStubBuffer *This,
  1863.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1864.     PRPC_MESSAGE _pRpcMessage,
  1865.     DWORD *_pdwStubPhase);
  1866. #endif  /* __IEventServerTrace_INTERFACE_DEFINED__ */
  1867. /* interface __MIDL_itf_autosvcs_0331 */
  1868. /* [local] */ 
  1869. typedef /* [hidden] */ struct _RECYCLE_INFO
  1870.     {
  1871.     GUID guidCombaseProcessIdentifier;
  1872.     LONGLONG ProcessStartTime;
  1873.     DWORD dwRecycleLifetimeLimit;
  1874.     DWORD dwRecycleMemoryLimit;
  1875.     DWORD dwRecycleExpirationTimeout;
  1876.     }  RECYCLE_INFO;
  1877. typedef 
  1878. enum tagCOMPLUS_APPTYPE
  1879.     { APPTYPE_UNKNOWN = 0xffffffff,
  1880. APPTYPE_SERVER = 1,
  1881. APPTYPE_LIBRARY = 0,
  1882. APPTYPE_SWC = 2
  1883.     }  COMPLUS_APPTYPE;
  1884. //
  1885. // Definition of global named event used to control starting and 
  1886. // stopping of tracker push data.
  1887. //
  1888. #define TRACKER_STARTSTOP_EVENT L"Global\COM+ Tracker Push Event"
  1889. //
  1890. // Definition of global named event used to signal when the 
  1891. // system application has been restarted
  1892. //
  1893. #define TRACKER_INIT_EVENT L"Global\COM+ Tracker Init Event"
  1894. #ifndef GUID_STRING_SIZE
  1895. #define GUID_STRING_SIZE 40     // a couple over.
  1896. #endif
  1897. typedef /* [hidden] */ struct CAppStatistics
  1898.     {
  1899.     DWORD m_cTotalCalls;
  1900.     DWORD m_cTotalInstances;
  1901.     DWORD m_cTotalClasses;
  1902.     DWORD m_cCallsPerSecond;
  1903.     }  APPSTATISTICS;
  1904. typedef /* [hidden] */ struct CAppData
  1905.     {
  1906.     DWORD m_idApp;
  1907.     WCHAR m_szAppGuid[ 40 ];
  1908.     DWORD m_dwAppProcessId;
  1909.     APPSTATISTICS m_AppStatistics;
  1910.     }  APPDATA;
  1911. typedef /* [hidden] */ struct CCLSIDData
  1912.     {
  1913.     CLSID m_clsid;
  1914.     DWORD m_cReferences;
  1915.     DWORD m_cBound;
  1916.     DWORD m_cPooled;
  1917.     DWORD m_cInCall;
  1918.     DWORD m_dwRespTime;
  1919.     DWORD m_cCallsCompleted;
  1920.     DWORD m_cCallsFailed;
  1921.     }  CLSIDDATA;
  1922. typedef /* [hidden] */ struct CCLSIDData2
  1923.     {
  1924.     CLSID m_clsid;
  1925.     GUID m_appid;
  1926.     GUID m_partid;
  1927.     /* [string] */ WCHAR *m_pwszAppName;
  1928.     /* [string] */ WCHAR *m_pwszCtxName;
  1929.     COMPLUS_APPTYPE m_eAppType;
  1930.     DWORD m_cReferences;
  1931.     DWORD m_cBound;
  1932.     DWORD m_cPooled;
  1933.     DWORD m_cInCall;
  1934.     DWORD m_dwRespTime;
  1935.     DWORD m_cCallsCompleted;
  1936.     DWORD m_cCallsFailed;
  1937.     }  CLSIDDATA2;
  1938. //
  1939. // Dispenser Manager interfaces
  1940. //
  1941. //  Copyright (C) 1995-1999 Microsoft Corporation.  All rights reserved.
  1942.  
  1943. #ifndef DECLSPEC_UUID
  1944. #if _MSC_VER >= 1100
  1945. #define DECLSPEC_UUID(x)    __declspec(uuid(x))
  1946. #else
  1947. #define DECLSPEC_UUID(x)
  1948. #endif
  1949. #endif
  1950. typedef DWORD_PTR RESTYPID;
  1951. typedef DWORD_PTR RESID;
  1952. typedef LPOLESTR SRESID;
  1953. typedef LPCOLESTR constSRESID;
  1954. typedef DWORD RESOURCERATING;
  1955. typedef long TIMEINSECS;
  1956. typedef DWORD_PTR INSTID;
  1957. typedef DWORD_PTR TRANSID;
  1958. //
  1959. // Error Codes
  1960. //
  1961. #define MTXDM_E_ENLISTRESOURCEFAILED 0x8004E100 // return from EnlistResource, is then returned by AllocResource
  1962.  
  1963. //
  1964. // IDispenserManager
  1965. // Implemented by Dispenser Manager, called by all Dispensers.
  1966. //
  1967. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0331_v0_0_c_ifspec;
  1968. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0331_v0_0_s_ifspec;
  1969. #ifndef __IDispenserManager_INTERFACE_DEFINED__
  1970. #define __IDispenserManager_INTERFACE_DEFINED__
  1971. /* interface IDispenserManager */
  1972. /* [unique][hidden][local][helpstring][uuid][object] */ 
  1973. EXTERN_C const IID IID_IDispenserManager;
  1974. #if defined(__cplusplus) && !defined(CINTERFACE)
  1975.     
  1976.     MIDL_INTERFACE("5cb31e10-2b5f-11cf-be10-00aa00a2fa25")
  1977.     IDispenserManager : public IUnknown
  1978.     {
  1979.     public:
  1980.         virtual HRESULT STDMETHODCALLTYPE RegisterDispenser( 
  1981.             /* [in] */ IDispenserDriver *__MIDL_0014,
  1982.             /* [in] */ LPCOLESTR szDispenserName,
  1983.             /* [out] */ IHolder **__MIDL_0015) = 0;
  1984.         
  1985.         virtual HRESULT STDMETHODCALLTYPE GetContext( 
  1986.             /* [out] */ INSTID *__MIDL_0016,
  1987.             /* [out] */ TRANSID *__MIDL_0017) = 0;
  1988.         
  1989.     };
  1990.     
  1991. #else  /* C style interface */
  1992.     typedef struct IDispenserManagerVtbl
  1993.     {
  1994.         BEGIN_INTERFACE
  1995.         
  1996.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1997.             IDispenserManager * This,
  1998.             /* [in] */ REFIID riid,
  1999.             /* [iid_is][out] */ void **ppvObject);
  2000.         
  2001.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2002.             IDispenserManager * This);
  2003.         
  2004.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2005.             IDispenserManager * This);
  2006.         
  2007.         HRESULT ( STDMETHODCALLTYPE *RegisterDispenser )( 
  2008.             IDispenserManager * This,
  2009.             /* [in] */ IDispenserDriver *__MIDL_0014,
  2010.             /* [in] */ LPCOLESTR szDispenserName,
  2011.             /* [out] */ IHolder **__MIDL_0015);
  2012.         
  2013.         HRESULT ( STDMETHODCALLTYPE *GetContext )( 
  2014.             IDispenserManager * This,
  2015.             /* [out] */ INSTID *__MIDL_0016,
  2016.             /* [out] */ TRANSID *__MIDL_0017);
  2017.         
  2018.         END_INTERFACE
  2019.     } IDispenserManagerVtbl;
  2020.     interface IDispenserManager
  2021.     {
  2022.         CONST_VTBL struct IDispenserManagerVtbl *lpVtbl;
  2023.     };
  2024.     
  2025. #ifdef COBJMACROS
  2026. #define IDispenserManager_QueryInterface(This,riid,ppvObject)
  2027.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2028. #define IDispenserManager_AddRef(This)
  2029.     (This)->lpVtbl -> AddRef(This)
  2030. #define IDispenserManager_Release(This)
  2031.     (This)->lpVtbl -> Release(This)
  2032. #define IDispenserManager_RegisterDispenser(This,__MIDL_0014,szDispenserName,__MIDL_0015)
  2033.     (This)->lpVtbl -> RegisterDispenser(This,__MIDL_0014,szDispenserName,__MIDL_0015)
  2034. #define IDispenserManager_GetContext(This,__MIDL_0016,__MIDL_0017)
  2035.     (This)->lpVtbl -> GetContext(This,__MIDL_0016,__MIDL_0017)
  2036. #endif /* COBJMACROS */
  2037. #endif  /* C style interface */
  2038. HRESULT STDMETHODCALLTYPE IDispenserManager_RegisterDispenser_Proxy( 
  2039.     IDispenserManager * This,
  2040.     /* [in] */ IDispenserDriver *__MIDL_0014,
  2041.     /* [in] */ LPCOLESTR szDispenserName,
  2042.     /* [out] */ IHolder **__MIDL_0015);
  2043. void __RPC_STUB IDispenserManager_RegisterDispenser_Stub(
  2044.     IRpcStubBuffer *This,
  2045.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2046.     PRPC_MESSAGE _pRpcMessage,
  2047.     DWORD *_pdwStubPhase);
  2048. HRESULT STDMETHODCALLTYPE IDispenserManager_GetContext_Proxy( 
  2049.     IDispenserManager * This,
  2050.     /* [out] */ INSTID *__MIDL_0016,
  2051.     /* [out] */ TRANSID *__MIDL_0017);
  2052. void __RPC_STUB IDispenserManager_GetContext_Stub(
  2053.     IRpcStubBuffer *This,
  2054.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2055.     PRPC_MESSAGE _pRpcMessage,
  2056.     DWORD *_pdwStubPhase);
  2057. #endif  /* __IDispenserManager_INTERFACE_DEFINED__ */
  2058. /* interface __MIDL_itf_autosvcs_0336 */
  2059. /* [local] */ 
  2060. //
  2061. // IHolder
  2062. // Implemented by Dispenser Manager, called by one Dispenser.
  2063. //
  2064. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0336_v0_0_c_ifspec;
  2065. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0336_v0_0_s_ifspec;
  2066. #ifndef __IHolder_INTERFACE_DEFINED__
  2067. #define __IHolder_INTERFACE_DEFINED__
  2068. /* interface IHolder */
  2069. /* [unique][hidden][local][helpstring][uuid][object] */ 
  2070. EXTERN_C const IID IID_IHolder;
  2071. #if defined(__cplusplus) && !defined(CINTERFACE)
  2072.     
  2073.     MIDL_INTERFACE("bf6a1850-2b45-11cf-be10-00aa00a2fa25")
  2074.     IHolder : public IUnknown
  2075.     {
  2076.     public:
  2077.         virtual HRESULT STDMETHODCALLTYPE AllocResource( 
  2078.             /* [in] */ const RESTYPID __MIDL_0018,
  2079.             /* [out] */ RESID *__MIDL_0019) = 0;
  2080.         
  2081.         virtual HRESULT STDMETHODCALLTYPE FreeResource( 
  2082.             /* [in] */ const RESID __MIDL_0020) = 0;
  2083.         
  2084.         virtual HRESULT STDMETHODCALLTYPE TrackResource( 
  2085.             /* [in] */ const RESID __MIDL_0021) = 0;
  2086.         
  2087.         virtual HRESULT STDMETHODCALLTYPE TrackResourceS( 
  2088.             /* [in] */ constSRESID __MIDL_0022) = 0;
  2089.         
  2090.         virtual HRESULT STDMETHODCALLTYPE UntrackResource( 
  2091.             /* [in] */ const RESID __MIDL_0023,
  2092.             /* [in] */ const BOOL __MIDL_0024) = 0;
  2093.         
  2094.         virtual HRESULT STDMETHODCALLTYPE UntrackResourceS( 
  2095.             /* [in] */ constSRESID __MIDL_0025,
  2096.             /* [in] */ const BOOL __MIDL_0026) = 0;
  2097.         
  2098.         virtual HRESULT STDMETHODCALLTYPE Close( void) = 0;
  2099.         
  2100.         virtual HRESULT STDMETHODCALLTYPE RequestDestroyResource( 
  2101.             /* [in] */ const RESID __MIDL_0027) = 0;
  2102.         
  2103.     };
  2104.     
  2105. #else  /* C style interface */
  2106.     typedef struct IHolderVtbl
  2107.     {
  2108.         BEGIN_INTERFACE
  2109.         
  2110.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2111.             IHolder * This,
  2112.             /* [in] */ REFIID riid,
  2113.             /* [iid_is][out] */ void **ppvObject);
  2114.         
  2115.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2116.             IHolder * This);
  2117.         
  2118.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2119.             IHolder * This);
  2120.         
  2121.         HRESULT ( STDMETHODCALLTYPE *AllocResource )( 
  2122.             IHolder * This,
  2123.             /* [in] */ const RESTYPID __MIDL_0018,
  2124.             /* [out] */ RESID *__MIDL_0019);
  2125.         
  2126.         HRESULT ( STDMETHODCALLTYPE *FreeResource )( 
  2127.             IHolder * This,
  2128.             /* [in] */ const RESID __MIDL_0020);
  2129.         
  2130.         HRESULT ( STDMETHODCALLTYPE *TrackResource )( 
  2131.             IHolder * This,
  2132.             /* [in] */ const RESID __MIDL_0021);
  2133.         
  2134.         HRESULT ( STDMETHODCALLTYPE *TrackResourceS )( 
  2135.             IHolder * This,
  2136.             /* [in] */ constSRESID __MIDL_0022);
  2137.         
  2138.         HRESULT ( STDMETHODCALLTYPE *UntrackResource )( 
  2139.             IHolder * This,
  2140.             /* [in] */ const RESID __MIDL_0023,
  2141.             /* [in] */ const BOOL __MIDL_0024);
  2142.         
  2143.         HRESULT ( STDMETHODCALLTYPE *UntrackResourceS )( 
  2144.             IHolder * This,
  2145.             /* [in] */ constSRESID __MIDL_0025,
  2146.             /* [in] */ const BOOL __MIDL_0026);
  2147.         
  2148.         HRESULT ( STDMETHODCALLTYPE *Close )( 
  2149.             IHolder * This);
  2150.         
  2151.         HRESULT ( STDMETHODCALLTYPE *RequestDestroyResource )( 
  2152.             IHolder * This,
  2153.             /* [in] */ const RESID __MIDL_0027);
  2154.         
  2155.         END_INTERFACE
  2156.     } IHolderVtbl;
  2157.     interface IHolder
  2158.     {
  2159.         CONST_VTBL struct IHolderVtbl *lpVtbl;
  2160.     };
  2161.     
  2162. #ifdef COBJMACROS
  2163. #define IHolder_QueryInterface(This,riid,ppvObject)
  2164.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2165. #define IHolder_AddRef(This)
  2166.     (This)->lpVtbl -> AddRef(This)
  2167. #define IHolder_Release(This)
  2168.     (This)->lpVtbl -> Release(This)
  2169. #define IHolder_AllocResource(This,__MIDL_0018,__MIDL_0019)
  2170.     (This)->lpVtbl -> AllocResource(This,__MIDL_0018,__MIDL_0019)
  2171. #define IHolder_FreeResource(This,__MIDL_0020)
  2172.     (This)->lpVtbl -> FreeResource(This,__MIDL_0020)
  2173. #define IHolder_TrackResource(This,__MIDL_0021)
  2174.     (This)->lpVtbl -> TrackResource(This,__MIDL_0021)
  2175. #define IHolder_TrackResourceS(This,__MIDL_0022)
  2176.     (This)->lpVtbl -> TrackResourceS(This,__MIDL_0022)
  2177. #define IHolder_UntrackResource(This,__MIDL_0023,__MIDL_0024)
  2178.     (This)->lpVtbl -> UntrackResource(This,__MIDL_0023,__MIDL_0024)
  2179. #define IHolder_UntrackResourceS(This,__MIDL_0025,__MIDL_0026)
  2180.     (This)->lpVtbl -> UntrackResourceS(This,__MIDL_0025,__MIDL_0026)
  2181. #define IHolder_Close(This)
  2182.     (This)->lpVtbl -> Close(This)
  2183. #define IHolder_RequestDestroyResource(This,__MIDL_0027)
  2184.     (This)->lpVtbl -> RequestDestroyResource(This,__MIDL_0027)
  2185. #endif /* COBJMACROS */
  2186. #endif  /* C style interface */
  2187. HRESULT STDMETHODCALLTYPE IHolder_AllocResource_Proxy( 
  2188.     IHolder * This,
  2189.     /* [in] */ const RESTYPID __MIDL_0018,
  2190.     /* [out] */ RESID *__MIDL_0019);
  2191. void __RPC_STUB IHolder_AllocResource_Stub(
  2192.     IRpcStubBuffer *This,
  2193.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2194.     PRPC_MESSAGE _pRpcMessage,
  2195.     DWORD *_pdwStubPhase);
  2196. HRESULT STDMETHODCALLTYPE IHolder_FreeResource_Proxy( 
  2197.     IHolder * This,
  2198.     /* [in] */ const RESID __MIDL_0020);
  2199. void __RPC_STUB IHolder_FreeResource_Stub(
  2200.     IRpcStubBuffer *This,
  2201.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2202.     PRPC_MESSAGE _pRpcMessage,
  2203.     DWORD *_pdwStubPhase);
  2204. HRESULT STDMETHODCALLTYPE IHolder_TrackResource_Proxy( 
  2205.     IHolder * This,
  2206.     /* [in] */ const RESID __MIDL_0021);
  2207. void __RPC_STUB IHolder_TrackResource_Stub(
  2208.     IRpcStubBuffer *This,
  2209.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2210.     PRPC_MESSAGE _pRpcMessage,
  2211.     DWORD *_pdwStubPhase);
  2212. HRESULT STDMETHODCALLTYPE IHolder_TrackResourceS_Proxy( 
  2213.     IHolder * This,
  2214.     /* [in] */ constSRESID __MIDL_0022);
  2215. void __RPC_STUB IHolder_TrackResourceS_Stub(
  2216.     IRpcStubBuffer *This,
  2217.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2218.     PRPC_MESSAGE _pRpcMessage,
  2219.     DWORD *_pdwStubPhase);
  2220. HRESULT STDMETHODCALLTYPE IHolder_UntrackResource_Proxy( 
  2221.     IHolder * This,
  2222.     /* [in] */ const RESID __MIDL_0023,
  2223.     /* [in] */ const BOOL __MIDL_0024);
  2224. void __RPC_STUB IHolder_UntrackResource_Stub(
  2225.     IRpcStubBuffer *This,
  2226.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2227.     PRPC_MESSAGE _pRpcMessage,
  2228.     DWORD *_pdwStubPhase);
  2229. HRESULT STDMETHODCALLTYPE IHolder_UntrackResourceS_Proxy( 
  2230.     IHolder * This,
  2231.     /* [in] */ constSRESID __MIDL_0025,
  2232.     /* [in] */ const BOOL __MIDL_0026);
  2233. void __RPC_STUB IHolder_UntrackResourceS_Stub(
  2234.     IRpcStubBuffer *This,
  2235.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2236.     PRPC_MESSAGE _pRpcMessage,
  2237.     DWORD *_pdwStubPhase);
  2238. HRESULT STDMETHODCALLTYPE IHolder_Close_Proxy( 
  2239.     IHolder * This);
  2240. void __RPC_STUB IHolder_Close_Stub(
  2241.     IRpcStubBuffer *This,
  2242.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2243.     PRPC_MESSAGE _pRpcMessage,
  2244.     DWORD *_pdwStubPhase);
  2245. HRESULT STDMETHODCALLTYPE IHolder_RequestDestroyResource_Proxy( 
  2246.     IHolder * This,
  2247.     /* [in] */ const RESID __MIDL_0027);
  2248. void __RPC_STUB IHolder_RequestDestroyResource_Stub(
  2249.     IRpcStubBuffer *This,
  2250.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2251.     PRPC_MESSAGE _pRpcMessage,
  2252.     DWORD *_pdwStubPhase);
  2253. #endif  /* __IHolder_INTERFACE_DEFINED__ */
  2254. /* interface __MIDL_itf_autosvcs_0337 */
  2255. /* [local] */ 
  2256. //
  2257. // IDispenserDriver
  2258. // Implemented by a Dispenser, called by Dispenser Manager.
  2259. //
  2260. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0337_v0_0_c_ifspec;
  2261. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0337_v0_0_s_ifspec;
  2262. #ifndef __IDispenserDriver_INTERFACE_DEFINED__
  2263. #define __IDispenserDriver_INTERFACE_DEFINED__
  2264. /* interface IDispenserDriver */
  2265. /* [unique][hidden][local][helpstring][uuid][object] */ 
  2266. EXTERN_C const IID IID_IDispenserDriver;
  2267. #if defined(__cplusplus) && !defined(CINTERFACE)
  2268.     
  2269.     MIDL_INTERFACE("208b3651-2b48-11cf-be10-00aa00a2fa25")
  2270.     IDispenserDriver : public IUnknown
  2271.     {
  2272.     public:
  2273.         virtual HRESULT STDMETHODCALLTYPE CreateResource( 
  2274.             /* [in] */ const RESTYPID ResTypId,
  2275.             /* [out] */ RESID *pResId,
  2276.             /* [out] */ TIMEINSECS *pSecsFreeBeforeDestroy) = 0;
  2277.         
  2278.         virtual HRESULT STDMETHODCALLTYPE RateResource( 
  2279.             /* [in] */ const RESTYPID ResTypId,
  2280.             /* [in] */ const RESID ResId,
  2281.             /* [in] */ const BOOL fRequiresTransactionEnlistment,
  2282.             /* [out] */ RESOURCERATING *pRating) = 0;
  2283.         
  2284.         virtual HRESULT STDMETHODCALLTYPE EnlistResource( 
  2285.             /* [in] */ const RESID ResId,
  2286.             /* [in] */ const TRANSID TransId) = 0;
  2287.         
  2288.         virtual HRESULT STDMETHODCALLTYPE ResetResource( 
  2289.             /* [in] */ const RESID ResId) = 0;
  2290.         
  2291.         virtual HRESULT STDMETHODCALLTYPE DestroyResource( 
  2292.             /* [in] */ const RESID ResId) = 0;
  2293.         
  2294.         virtual HRESULT STDMETHODCALLTYPE DestroyResourceS( 
  2295.             /* [in] */ constSRESID ResId) = 0;
  2296.         
  2297.     };
  2298.     
  2299. #else  /* C style interface */
  2300.     typedef struct IDispenserDriverVtbl
  2301.     {
  2302.         BEGIN_INTERFACE
  2303.         
  2304.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2305.             IDispenserDriver * This,
  2306.             /* [in] */ REFIID riid,
  2307.             /* [iid_is][out] */ void **ppvObject);
  2308.         
  2309.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2310.             IDispenserDriver * This);
  2311.         
  2312.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2313.             IDispenserDriver * This);
  2314.         
  2315.         HRESULT ( STDMETHODCALLTYPE *CreateResource )( 
  2316.             IDispenserDriver * This,
  2317.             /* [in] */ const RESTYPID ResTypId,
  2318.             /* [out] */ RESID *pResId,
  2319.             /* [out] */ TIMEINSECS *pSecsFreeBeforeDestroy);
  2320.         
  2321.         HRESULT ( STDMETHODCALLTYPE *RateResource )( 
  2322.             IDispenserDriver * This,
  2323.             /* [in] */ const RESTYPID ResTypId,
  2324.             /* [in] */ const RESID ResId,
  2325.             /* [in] */ const BOOL fRequiresTransactionEnlistment,
  2326.             /* [out] */ RESOURCERATING *pRating);
  2327.         
  2328.         HRESULT ( STDMETHODCALLTYPE *EnlistResource )( 
  2329.             IDispenserDriver * This,
  2330.             /* [in] */ const RESID ResId,
  2331.             /* [in] */ const TRANSID TransId);
  2332.         
  2333.         HRESULT ( STDMETHODCALLTYPE *ResetResource )( 
  2334.             IDispenserDriver * This,
  2335.             /* [in] */ const RESID ResId);
  2336.         
  2337.         HRESULT ( STDMETHODCALLTYPE *DestroyResource )( 
  2338.             IDispenserDriver * This,
  2339.             /* [in] */ const RESID ResId);
  2340.         
  2341.         HRESULT ( STDMETHODCALLTYPE *DestroyResourceS )( 
  2342.             IDispenserDriver * This,
  2343.             /* [in] */ constSRESID ResId);
  2344.         
  2345.         END_INTERFACE
  2346.     } IDispenserDriverVtbl;
  2347.     interface IDispenserDriver
  2348.     {
  2349.         CONST_VTBL struct IDispenserDriverVtbl *lpVtbl;
  2350.     };
  2351.     
  2352. #ifdef COBJMACROS
  2353. #define IDispenserDriver_QueryInterface(This,riid,ppvObject)
  2354.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2355. #define IDispenserDriver_AddRef(This)
  2356.     (This)->lpVtbl -> AddRef(This)
  2357. #define IDispenserDriver_Release(This)
  2358.     (This)->lpVtbl -> Release(This)
  2359. #define IDispenserDriver_CreateResource(This,ResTypId,pResId,pSecsFreeBeforeDestroy)
  2360.     (This)->lpVtbl -> CreateResource(This,ResTypId,pResId,pSecsFreeBeforeDestroy)
  2361. #define IDispenserDriver_RateResource(This,ResTypId,ResId,fRequiresTransactionEnlistment,pRating)
  2362.     (This)->lpVtbl -> RateResource(This,ResTypId,ResId,fRequiresTransactionEnlistment,pRating)
  2363. #define IDispenserDriver_EnlistResource(This,ResId,TransId)
  2364.     (This)->lpVtbl -> EnlistResource(This,ResId,TransId)
  2365. #define IDispenserDriver_ResetResource(This,ResId)
  2366.     (This)->lpVtbl -> ResetResource(This,ResId)
  2367. #define IDispenserDriver_DestroyResource(This,ResId)
  2368.     (This)->lpVtbl -> DestroyResource(This,ResId)
  2369. #define IDispenserDriver_DestroyResourceS(This,ResId)
  2370.     (This)->lpVtbl -> DestroyResourceS(This,ResId)
  2371. #endif /* COBJMACROS */
  2372. #endif  /* C style interface */
  2373. HRESULT STDMETHODCALLTYPE IDispenserDriver_CreateResource_Proxy( 
  2374.     IDispenserDriver * This,
  2375.     /* [in] */ const RESTYPID ResTypId,
  2376.     /* [out] */ RESID *pResId,
  2377.     /* [out] */ TIMEINSECS *pSecsFreeBeforeDestroy);
  2378. void __RPC_STUB IDispenserDriver_CreateResource_Stub(
  2379.     IRpcStubBuffer *This,
  2380.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2381.     PRPC_MESSAGE _pRpcMessage,
  2382.     DWORD *_pdwStubPhase);
  2383. HRESULT STDMETHODCALLTYPE IDispenserDriver_RateResource_Proxy( 
  2384.     IDispenserDriver * This,
  2385.     /* [in] */ const RESTYPID ResTypId,
  2386.     /* [in] */ const RESID ResId,
  2387.     /* [in] */ const BOOL fRequiresTransactionEnlistment,
  2388.     /* [out] */ RESOURCERATING *pRating);
  2389. void __RPC_STUB IDispenserDriver_RateResource_Stub(
  2390.     IRpcStubBuffer *This,
  2391.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2392.     PRPC_MESSAGE _pRpcMessage,
  2393.     DWORD *_pdwStubPhase);
  2394. HRESULT STDMETHODCALLTYPE IDispenserDriver_EnlistResource_Proxy( 
  2395.     IDispenserDriver * This,
  2396.     /* [in] */ const RESID ResId,
  2397.     /* [in] */ const TRANSID TransId);
  2398. void __RPC_STUB IDispenserDriver_EnlistResource_Stub(
  2399.     IRpcStubBuffer *This,
  2400.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2401.     PRPC_MESSAGE _pRpcMessage,
  2402.     DWORD *_pdwStubPhase);
  2403. HRESULT STDMETHODCALLTYPE IDispenserDriver_ResetResource_Proxy( 
  2404.     IDispenserDriver * This,
  2405.     /* [in] */ const RESID ResId);
  2406. void __RPC_STUB IDispenserDriver_ResetResource_Stub(
  2407.     IRpcStubBuffer *This,
  2408.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2409.     PRPC_MESSAGE _pRpcMessage,
  2410.     DWORD *_pdwStubPhase);
  2411. HRESULT STDMETHODCALLTYPE IDispenserDriver_DestroyResource_Proxy( 
  2412.     IDispenserDriver * This,
  2413.     /* [in] */ const RESID ResId);
  2414. void __RPC_STUB IDispenserDriver_DestroyResource_Stub(
  2415.     IRpcStubBuffer *This,
  2416.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2417.     PRPC_MESSAGE _pRpcMessage,
  2418.     DWORD *_pdwStubPhase);
  2419. HRESULT STDMETHODCALLTYPE IDispenserDriver_DestroyResourceS_Proxy( 
  2420.     IDispenserDriver * This,
  2421.     /* [in] */ constSRESID ResId);
  2422. void __RPC_STUB IDispenserDriver_DestroyResourceS_Stub(
  2423.     IRpcStubBuffer *This,
  2424.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2425.     PRPC_MESSAGE _pRpcMessage,
  2426.     DWORD *_pdwStubPhase);
  2427. #endif  /* __IDispenserDriver_INTERFACE_DEFINED__ */
  2428. /* interface __MIDL_itf_autosvcs_0338 */
  2429. /* [local] */ 
  2430. #ifdef USE_UUIDOF_FOR_IID_
  2431. #define  IID_IHolder             __uuidof(IIHolder)
  2432. #define  IID_IDispenserManager   __uuidof(IDispenserManager)
  2433. #define  IID_IDispenserDriver    __uuidof(IDispenserDriver)
  2434. #endif
  2435. ////////////////////////////////////////////////////////////
  2436. // This is the list of Microsoft-allocated process recycling
  2437. // reason codes.   These are typed as a long; all values with the
  2438. // high bit set are reserved by Microsoft.    Users who have no
  2439. // special information to add may use the CRR_NO_REASON_SUPPLIED
  2440. // code for that purpose.   The value zero is reserved for the
  2441. // CRR_NO_REASON_SUPPLIED code.
  2442. #define CRR_NO_REASON_SUPPLIED  0x00000000
  2443. #define CRR_LIFETIME_LIMIT      0xFFFFFFFF
  2444. #define CRR_ACTIVATION_LIMIT    0xFFFFFFFE
  2445. #define CRR_CALL_LIMIT          0xFFFFFFFD
  2446. #define CRR_MEMORY_LIMIT        0xFFFFFFFC
  2447. #define CRR_RECYCLED_FROM_UI    0xFFFFFFFB
  2448. ////////////////////////////////////////////////////////////
  2449. EXTERN_C const CLSID CLSID_MTSPackage;
  2450. EXTERN_C const GUID  GUID_DefaultAppPartition;
  2451. EXTERN_C const GUID  GUID_FinalizerCID;
  2452. EXTERN_C const GUID  IID_IEnterActivityWithNoLock;
  2453. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0338_v0_0_c_ifspec;
  2454. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0338_v0_0_s_ifspec;
  2455. #ifndef __IObjectContext_INTERFACE_DEFINED__
  2456. #define __IObjectContext_INTERFACE_DEFINED__
  2457. /* interface IObjectContext */
  2458. /* [object][unique][uuid][local] */ 
  2459. EXTERN_C const IID IID_IObjectContext;
  2460. #if defined(__cplusplus) && !defined(CINTERFACE)
  2461.     
  2462.     MIDL_INTERFACE("51372ae0-cae7-11cf-be81-00aa00a2fa25")
  2463.     IObjectContext : public IUnknown
  2464.     {
  2465.     public:
  2466.         virtual HRESULT STDMETHODCALLTYPE CreateInstance( 
  2467.             /* [in] */ REFCLSID rclsid,
  2468.             /* [in] */ REFIID riid,
  2469.             /* [retval][iid_is][out] */ LPVOID *ppv) = 0;
  2470.         
  2471.         virtual HRESULT STDMETHODCALLTYPE SetComplete( void) = 0;
  2472.         
  2473.         virtual HRESULT STDMETHODCALLTYPE SetAbort( void) = 0;
  2474.         
  2475.         virtual HRESULT STDMETHODCALLTYPE EnableCommit( void) = 0;
  2476.         
  2477.         virtual HRESULT STDMETHODCALLTYPE DisableCommit( void) = 0;
  2478.         
  2479.         virtual BOOL STDMETHODCALLTYPE IsInTransaction( void) = 0;
  2480.         
  2481.         virtual BOOL STDMETHODCALLTYPE IsSecurityEnabled( void) = 0;
  2482.         
  2483.         virtual HRESULT STDMETHODCALLTYPE IsCallerInRole( 
  2484.             /* [in] */ BSTR bstrRole,
  2485.             /* [retval][out] */ BOOL *pfIsInRole) = 0;
  2486.         
  2487.     };
  2488.     
  2489. #else  /* C style interface */
  2490.     typedef struct IObjectContextVtbl
  2491.     {
  2492.         BEGIN_INTERFACE
  2493.         
  2494.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2495.             IObjectContext * This,
  2496.             /* [in] */ REFIID riid,
  2497.             /* [iid_is][out] */ void **ppvObject);
  2498.         
  2499.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2500.             IObjectContext * This);
  2501.         
  2502.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2503.             IObjectContext * This);
  2504.         
  2505.         HRESULT ( STDMETHODCALLTYPE *CreateInstance )( 
  2506.             IObjectContext * This,
  2507.             /* [in] */ REFCLSID rclsid,
  2508.             /* [in] */ REFIID riid,
  2509.             /* [retval][iid_is][out] */ LPVOID *ppv);
  2510.         
  2511.         HRESULT ( STDMETHODCALLTYPE *SetComplete )( 
  2512.             IObjectContext * This);
  2513.         
  2514.         HRESULT ( STDMETHODCALLTYPE *SetAbort )( 
  2515.             IObjectContext * This);
  2516.         
  2517.         HRESULT ( STDMETHODCALLTYPE *EnableCommit )( 
  2518.             IObjectContext * This);
  2519.         
  2520.         HRESULT ( STDMETHODCALLTYPE *DisableCommit )( 
  2521.             IObjectContext * This);
  2522.         
  2523.         BOOL ( STDMETHODCALLTYPE *IsInTransaction )( 
  2524.             IObjectContext * This);
  2525.         
  2526.         BOOL ( STDMETHODCALLTYPE *IsSecurityEnabled )( 
  2527.             IObjectContext * This);
  2528.         
  2529.         HRESULT ( STDMETHODCALLTYPE *IsCallerInRole )( 
  2530.             IObjectContext * This,
  2531.             /* [in] */ BSTR bstrRole,
  2532.             /* [retval][out] */ BOOL *pfIsInRole);
  2533.         
  2534.         END_INTERFACE
  2535.     } IObjectContextVtbl;
  2536.     interface IObjectContext
  2537.     {
  2538.         CONST_VTBL struct IObjectContextVtbl *lpVtbl;
  2539.     };
  2540.     
  2541. #ifdef COBJMACROS
  2542. #define IObjectContext_QueryInterface(This,riid,ppvObject)
  2543.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2544. #define IObjectContext_AddRef(This)
  2545.     (This)->lpVtbl -> AddRef(This)
  2546. #define IObjectContext_Release(This)
  2547.     (This)->lpVtbl -> Release(This)
  2548. #define IObjectContext_CreateInstance(This,rclsid,riid,ppv)
  2549.     (This)->lpVtbl -> CreateInstance(This,rclsid,riid,ppv)
  2550. #define IObjectContext_SetComplete(This)
  2551.     (This)->lpVtbl -> SetComplete(This)
  2552. #define IObjectContext_SetAbort(This)
  2553.     (This)->lpVtbl -> SetAbort(This)
  2554. #define IObjectContext_EnableCommit(This)
  2555.     (This)->lpVtbl -> EnableCommit(This)
  2556. #define IObjectContext_DisableCommit(This)
  2557.     (This)->lpVtbl -> DisableCommit(This)
  2558. #define IObjectContext_IsInTransaction(This)
  2559.     (This)->lpVtbl -> IsInTransaction(This)
  2560. #define IObjectContext_IsSecurityEnabled(This)
  2561.     (This)->lpVtbl -> IsSecurityEnabled(This)
  2562. #define IObjectContext_IsCallerInRole(This,bstrRole,pfIsInRole)
  2563.     (This)->lpVtbl -> IsCallerInRole(This,bstrRole,pfIsInRole)
  2564. #endif /* COBJMACROS */
  2565. #endif  /* C style interface */
  2566. HRESULT STDMETHODCALLTYPE IObjectContext_CreateInstance_Proxy( 
  2567.     IObjectContext * This,
  2568.     /* [in] */ REFCLSID rclsid,
  2569.     /* [in] */ REFIID riid,
  2570.     /* [retval][iid_is][out] */ LPVOID *ppv);
  2571. void __RPC_STUB IObjectContext_CreateInstance_Stub(
  2572.     IRpcStubBuffer *This,
  2573.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2574.     PRPC_MESSAGE _pRpcMessage,
  2575.     DWORD *_pdwStubPhase);
  2576. HRESULT STDMETHODCALLTYPE IObjectContext_SetComplete_Proxy( 
  2577.     IObjectContext * This);
  2578. void __RPC_STUB IObjectContext_SetComplete_Stub(
  2579.     IRpcStubBuffer *This,
  2580.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2581.     PRPC_MESSAGE _pRpcMessage,
  2582.     DWORD *_pdwStubPhase);
  2583. HRESULT STDMETHODCALLTYPE IObjectContext_SetAbort_Proxy( 
  2584.     IObjectContext * This);
  2585. void __RPC_STUB IObjectContext_SetAbort_Stub(
  2586.     IRpcStubBuffer *This,
  2587.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2588.     PRPC_MESSAGE _pRpcMessage,
  2589.     DWORD *_pdwStubPhase);
  2590. HRESULT STDMETHODCALLTYPE IObjectContext_EnableCommit_Proxy( 
  2591.     IObjectContext * This);
  2592. void __RPC_STUB IObjectContext_EnableCommit_Stub(
  2593.     IRpcStubBuffer *This,
  2594.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2595.     PRPC_MESSAGE _pRpcMessage,
  2596.     DWORD *_pdwStubPhase);
  2597. HRESULT STDMETHODCALLTYPE IObjectContext_DisableCommit_Proxy( 
  2598.     IObjectContext * This);
  2599. void __RPC_STUB IObjectContext_DisableCommit_Stub(
  2600.     IRpcStubBuffer *This,
  2601.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2602.     PRPC_MESSAGE _pRpcMessage,
  2603.     DWORD *_pdwStubPhase);
  2604. BOOL STDMETHODCALLTYPE IObjectContext_IsInTransaction_Proxy( 
  2605.     IObjectContext * This);
  2606. void __RPC_STUB IObjectContext_IsInTransaction_Stub(
  2607.     IRpcStubBuffer *This,
  2608.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2609.     PRPC_MESSAGE _pRpcMessage,
  2610.     DWORD *_pdwStubPhase);
  2611. BOOL STDMETHODCALLTYPE IObjectContext_IsSecurityEnabled_Proxy( 
  2612.     IObjectContext * This);
  2613. void __RPC_STUB IObjectContext_IsSecurityEnabled_Stub(
  2614.     IRpcStubBuffer *This,
  2615.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2616.     PRPC_MESSAGE _pRpcMessage,
  2617.     DWORD *_pdwStubPhase);
  2618. HRESULT STDMETHODCALLTYPE IObjectContext_IsCallerInRole_Proxy( 
  2619.     IObjectContext * This,
  2620.     /* [in] */ BSTR bstrRole,
  2621.     /* [retval][out] */ BOOL *pfIsInRole);
  2622. void __RPC_STUB IObjectContext_IsCallerInRole_Stub(
  2623.     IRpcStubBuffer *This,
  2624.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2625.     PRPC_MESSAGE _pRpcMessage,
  2626.     DWORD *_pdwStubPhase);
  2627. #endif  /* __IObjectContext_INTERFACE_DEFINED__ */
  2628. #ifndef __IObjectControl_INTERFACE_DEFINED__
  2629. #define __IObjectControl_INTERFACE_DEFINED__
  2630. /* interface IObjectControl */
  2631. /* [object][unique][uuid][local] */ 
  2632. EXTERN_C const IID IID_IObjectControl;
  2633. #if defined(__cplusplus) && !defined(CINTERFACE)
  2634.     
  2635.     MIDL_INTERFACE("51372aec-cae7-11cf-be81-00aa00a2fa25")
  2636.     IObjectControl : public IUnknown
  2637.     {
  2638.     public:
  2639.         virtual HRESULT STDMETHODCALLTYPE Activate( void) = 0;
  2640.         
  2641.         virtual void STDMETHODCALLTYPE Deactivate( void) = 0;
  2642.         
  2643.         virtual BOOL STDMETHODCALLTYPE CanBePooled( void) = 0;
  2644.         
  2645.     };
  2646.     
  2647. #else  /* C style interface */
  2648.     typedef struct IObjectControlVtbl
  2649.     {
  2650.         BEGIN_INTERFACE
  2651.         
  2652.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2653.             IObjectControl * This,
  2654.             /* [in] */ REFIID riid,
  2655.             /* [iid_is][out] */ void **ppvObject);
  2656.         
  2657.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2658.             IObjectControl * This);
  2659.         
  2660.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2661.             IObjectControl * This);
  2662.         
  2663.         HRESULT ( STDMETHODCALLTYPE *Activate )( 
  2664.             IObjectControl * This);
  2665.         
  2666.         void ( STDMETHODCALLTYPE *Deactivate )( 
  2667.             IObjectControl * This);
  2668.         
  2669.         BOOL ( STDMETHODCALLTYPE *CanBePooled )( 
  2670.             IObjectControl * This);
  2671.         
  2672.         END_INTERFACE
  2673.     } IObjectControlVtbl;
  2674.     interface IObjectControl
  2675.     {
  2676.         CONST_VTBL struct IObjectControlVtbl *lpVtbl;
  2677.     };
  2678.     
  2679. #ifdef COBJMACROS
  2680. #define IObjectControl_QueryInterface(This,riid,ppvObject)
  2681.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2682. #define IObjectControl_AddRef(This)
  2683.     (This)->lpVtbl -> AddRef(This)
  2684. #define IObjectControl_Release(This)
  2685.     (This)->lpVtbl -> Release(This)
  2686. #define IObjectControl_Activate(This)
  2687.     (This)->lpVtbl -> Activate(This)
  2688. #define IObjectControl_Deactivate(This)
  2689.     (This)->lpVtbl -> Deactivate(This)
  2690. #define IObjectControl_CanBePooled(This)
  2691.     (This)->lpVtbl -> CanBePooled(This)
  2692. #endif /* COBJMACROS */
  2693. #endif  /* C style interface */
  2694. HRESULT STDMETHODCALLTYPE IObjectControl_Activate_Proxy( 
  2695.     IObjectControl * This);
  2696. void __RPC_STUB IObjectControl_Activate_Stub(
  2697.     IRpcStubBuffer *This,
  2698.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2699.     PRPC_MESSAGE _pRpcMessage,
  2700.     DWORD *_pdwStubPhase);
  2701. void STDMETHODCALLTYPE IObjectControl_Deactivate_Proxy( 
  2702.     IObjectControl * This);
  2703. void __RPC_STUB IObjectControl_Deactivate_Stub(
  2704.     IRpcStubBuffer *This,
  2705.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2706.     PRPC_MESSAGE _pRpcMessage,
  2707.     DWORD *_pdwStubPhase);
  2708. BOOL STDMETHODCALLTYPE IObjectControl_CanBePooled_Proxy( 
  2709.     IObjectControl * This);
  2710. void __RPC_STUB IObjectControl_CanBePooled_Stub(
  2711.     IRpcStubBuffer *This,
  2712.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2713.     PRPC_MESSAGE _pRpcMessage,
  2714.     DWORD *_pdwStubPhase);
  2715. #endif  /* __IObjectControl_INTERFACE_DEFINED__ */
  2716. #ifndef __IEnumNames_INTERFACE_DEFINED__
  2717. #define __IEnumNames_INTERFACE_DEFINED__
  2718. /* interface IEnumNames */
  2719. /* [object][unique][uuid][hidden][local] */ 
  2720. EXTERN_C const IID IID_IEnumNames;
  2721. #if defined(__cplusplus) && !defined(CINTERFACE)
  2722.     
  2723.     MIDL_INTERFACE("51372af2-cae7-11cf-be81-00aa00a2fa25")
  2724.     IEnumNames : public IUnknown
  2725.     {
  2726.     public:
  2727.         virtual HRESULT STDMETHODCALLTYPE Next( 
  2728.             /* [in] */ unsigned long celt,
  2729.             /* [size_is][out] */ BSTR *rgname,
  2730.             /* [retval][out] */ unsigned long *pceltFetched) = 0;
  2731.         
  2732.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  2733.             /* [in] */ unsigned long celt) = 0;
  2734.         
  2735.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2736.         
  2737.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  2738.             /* [retval][out] */ IEnumNames **ppenum) = 0;
  2739.         
  2740.     };
  2741.     
  2742. #else  /* C style interface */
  2743.     typedef struct IEnumNamesVtbl
  2744.     {
  2745.         BEGIN_INTERFACE