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

模拟服务器

开发平台:

C/C++

  1. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_get_Count_Proxy( 
  2.     ICrmMonitorLogRecords * This,
  3.     /* [retval][out] */ long *pVal);
  4. void __RPC_STUB ICrmMonitorLogRecords_get_Count_Stub(
  5.     IRpcStubBuffer *This,
  6.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7.     PRPC_MESSAGE _pRpcMessage,
  8.     DWORD *_pdwStubPhase);
  9. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_get_TransactionState_Proxy( 
  10.     ICrmMonitorLogRecords * This,
  11.     /* [retval][out] */ CrmTransactionState *pVal);
  12. void __RPC_STUB ICrmMonitorLogRecords_get_TransactionState_Stub(
  13.     IRpcStubBuffer *This,
  14.     IRpcChannelBuffer *_pRpcChannelBuffer,
  15.     PRPC_MESSAGE _pRpcMessage,
  16.     DWORD *_pdwStubPhase);
  17. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_get_StructuredRecords_Proxy( 
  18.     ICrmMonitorLogRecords * This,
  19.     /* [retval][out] */ VARIANT_BOOL *pVal);
  20. void __RPC_STUB ICrmMonitorLogRecords_get_StructuredRecords_Stub(
  21.     IRpcStubBuffer *This,
  22.     IRpcChannelBuffer *_pRpcChannelBuffer,
  23.     PRPC_MESSAGE _pRpcMessage,
  24.     DWORD *_pdwStubPhase);
  25. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_GetLogRecord_Proxy( 
  26.     ICrmMonitorLogRecords * This,
  27.     /* [in] */ DWORD dwIndex,
  28.     /* [out][in] */ CrmLogRecordRead *pCrmLogRec);
  29. void __RPC_STUB ICrmMonitorLogRecords_GetLogRecord_Stub(
  30.     IRpcStubBuffer *This,
  31.     IRpcChannelBuffer *_pRpcChannelBuffer,
  32.     PRPC_MESSAGE _pRpcMessage,
  33.     DWORD *_pdwStubPhase);
  34. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_GetLogRecordVariants_Proxy( 
  35.     ICrmMonitorLogRecords * This,
  36.     /* [in] */ VARIANT IndexNumber,
  37.     /* [retval][out] */ LPVARIANT pLogRecord);
  38. void __RPC_STUB ICrmMonitorLogRecords_GetLogRecordVariants_Stub(
  39.     IRpcStubBuffer *This,
  40.     IRpcChannelBuffer *_pRpcChannelBuffer,
  41.     PRPC_MESSAGE _pRpcMessage,
  42.     DWORD *_pdwStubPhase);
  43. #endif  /* __ICrmMonitorLogRecords_INTERFACE_DEFINED__ */
  44. #ifndef __ICrmMonitorClerks_INTERFACE_DEFINED__
  45. #define __ICrmMonitorClerks_INTERFACE_DEFINED__
  46. /* interface ICrmMonitorClerks */
  47. /* [unique][helpstring][dual][uuid][object] */ 
  48. EXTERN_C const IID IID_ICrmMonitorClerks;
  49. #if defined(__cplusplus) && !defined(CINTERFACE)
  50.     
  51.     MIDL_INTERFACE("70C8E442-C7ED-11d1-82FB-00A0C91EEDE9")
  52.     ICrmMonitorClerks : public IDispatch
  53.     {
  54.     public:
  55.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item( 
  56.             /* [in] */ VARIANT Index,
  57.             /* [retval][out] */ LPVARIANT pItem) = 0;
  58.         
  59.         virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  60.             /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  61.         
  62.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  63.             /* [retval][out] */ long *pVal) = 0;
  64.         
  65.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ProgIdCompensator( 
  66.             /* [in] */ VARIANT Index,
  67.             /* [retval][out] */ LPVARIANT pItem) = 0;
  68.         
  69.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Description( 
  70.             /* [in] */ VARIANT Index,
  71.             /* [retval][out] */ LPVARIANT pItem) = 0;
  72.         
  73.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TransactionUOW( 
  74.             /* [in] */ VARIANT Index,
  75.             /* [retval][out] */ LPVARIANT pItem) = 0;
  76.         
  77.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ActivityId( 
  78.             /* [in] */ VARIANT Index,
  79.             /* [retval][out] */ LPVARIANT pItem) = 0;
  80.         
  81.     };
  82.     
  83. #else  /* C style interface */
  84.     typedef struct ICrmMonitorClerksVtbl
  85.     {
  86.         BEGIN_INTERFACE
  87.         
  88.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  89.             ICrmMonitorClerks * This,
  90.             /* [in] */ REFIID riid,
  91.             /* [iid_is][out] */ void **ppvObject);
  92.         
  93.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  94.             ICrmMonitorClerks * This);
  95.         
  96.         ULONG ( STDMETHODCALLTYPE *Release )( 
  97.             ICrmMonitorClerks * This);
  98.         
  99.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  100.             ICrmMonitorClerks * This,
  101.             /* [out] */ UINT *pctinfo);
  102.         
  103.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  104.             ICrmMonitorClerks * This,
  105.             /* [in] */ UINT iTInfo,
  106.             /* [in] */ LCID lcid,
  107.             /* [out] */ ITypeInfo **ppTInfo);
  108.         
  109.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  110.             ICrmMonitorClerks * This,
  111.             /* [in] */ REFIID riid,
  112.             /* [size_is][in] */ LPOLESTR *rgszNames,
  113.             /* [in] */ UINT cNames,
  114.             /* [in] */ LCID lcid,
  115.             /* [size_is][out] */ DISPID *rgDispId);
  116.         
  117.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  118.             ICrmMonitorClerks * This,
  119.             /* [in] */ DISPID dispIdMember,
  120.             /* [in] */ REFIID riid,
  121.             /* [in] */ LCID lcid,
  122.             /* [in] */ WORD wFlags,
  123.             /* [out][in] */ DISPPARAMS *pDispParams,
  124.             /* [out] */ VARIANT *pVarResult,
  125.             /* [out] */ EXCEPINFO *pExcepInfo,
  126.             /* [out] */ UINT *puArgErr);
  127.         
  128.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  129.             ICrmMonitorClerks * This,
  130.             /* [in] */ VARIANT Index,
  131.             /* [retval][out] */ LPVARIANT pItem);
  132.         
  133.         /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  134.             ICrmMonitorClerks * This,
  135.             /* [retval][out] */ LPUNKNOWN *pVal);
  136.         
  137.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  138.             ICrmMonitorClerks * This,
  139.             /* [retval][out] */ long *pVal);
  140.         
  141.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ProgIdCompensator )( 
  142.             ICrmMonitorClerks * This,
  143.             /* [in] */ VARIANT Index,
  144.             /* [retval][out] */ LPVARIANT pItem);
  145.         
  146.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Description )( 
  147.             ICrmMonitorClerks * This,
  148.             /* [in] */ VARIANT Index,
  149.             /* [retval][out] */ LPVARIANT pItem);
  150.         
  151.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TransactionUOW )( 
  152.             ICrmMonitorClerks * This,
  153.             /* [in] */ VARIANT Index,
  154.             /* [retval][out] */ LPVARIANT pItem);
  155.         
  156.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ActivityId )( 
  157.             ICrmMonitorClerks * This,
  158.             /* [in] */ VARIANT Index,
  159.             /* [retval][out] */ LPVARIANT pItem);
  160.         
  161.         END_INTERFACE
  162.     } ICrmMonitorClerksVtbl;
  163.     interface ICrmMonitorClerks
  164.     {
  165.         CONST_VTBL struct ICrmMonitorClerksVtbl *lpVtbl;
  166.     };
  167.     
  168. #ifdef COBJMACROS
  169. #define ICrmMonitorClerks_QueryInterface(This,riid,ppvObject)
  170.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  171. #define ICrmMonitorClerks_AddRef(This)
  172.     (This)->lpVtbl -> AddRef(This)
  173. #define ICrmMonitorClerks_Release(This)
  174.     (This)->lpVtbl -> Release(This)
  175. #define ICrmMonitorClerks_GetTypeInfoCount(This,pctinfo)
  176.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  177. #define ICrmMonitorClerks_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  178.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  179. #define ICrmMonitorClerks_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  180.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  181. #define ICrmMonitorClerks_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  182.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  183. #define ICrmMonitorClerks_Item(This,Index,pItem)
  184.     (This)->lpVtbl -> Item(This,Index,pItem)
  185. #define ICrmMonitorClerks_get__NewEnum(This,pVal)
  186.     (This)->lpVtbl -> get__NewEnum(This,pVal)
  187. #define ICrmMonitorClerks_get_Count(This,pVal)
  188.     (This)->lpVtbl -> get_Count(This,pVal)
  189. #define ICrmMonitorClerks_ProgIdCompensator(This,Index,pItem)
  190.     (This)->lpVtbl -> ProgIdCompensator(This,Index,pItem)
  191. #define ICrmMonitorClerks_Description(This,Index,pItem)
  192.     (This)->lpVtbl -> Description(This,Index,pItem)
  193. #define ICrmMonitorClerks_TransactionUOW(This,Index,pItem)
  194.     (This)->lpVtbl -> TransactionUOW(This,Index,pItem)
  195. #define ICrmMonitorClerks_ActivityId(This,Index,pItem)
  196.     (This)->lpVtbl -> ActivityId(This,Index,pItem)
  197. #endif /* COBJMACROS */
  198. #endif  /* C style interface */
  199. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_Item_Proxy( 
  200.     ICrmMonitorClerks * This,
  201.     /* [in] */ VARIANT Index,
  202.     /* [retval][out] */ LPVARIANT pItem);
  203. void __RPC_STUB ICrmMonitorClerks_Item_Stub(
  204.     IRpcStubBuffer *This,
  205.     IRpcChannelBuffer *_pRpcChannelBuffer,
  206.     PRPC_MESSAGE _pRpcMessage,
  207.     DWORD *_pdwStubPhase);
  208. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_get__NewEnum_Proxy( 
  209.     ICrmMonitorClerks * This,
  210.     /* [retval][out] */ LPUNKNOWN *pVal);
  211. void __RPC_STUB ICrmMonitorClerks_get__NewEnum_Stub(
  212.     IRpcStubBuffer *This,
  213.     IRpcChannelBuffer *_pRpcChannelBuffer,
  214.     PRPC_MESSAGE _pRpcMessage,
  215.     DWORD *_pdwStubPhase);
  216. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_get_Count_Proxy( 
  217.     ICrmMonitorClerks * This,
  218.     /* [retval][out] */ long *pVal);
  219. void __RPC_STUB ICrmMonitorClerks_get_Count_Stub(
  220.     IRpcStubBuffer *This,
  221.     IRpcChannelBuffer *_pRpcChannelBuffer,
  222.     PRPC_MESSAGE _pRpcMessage,
  223.     DWORD *_pdwStubPhase);
  224. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_ProgIdCompensator_Proxy( 
  225.     ICrmMonitorClerks * This,
  226.     /* [in] */ VARIANT Index,
  227.     /* [retval][out] */ LPVARIANT pItem);
  228. void __RPC_STUB ICrmMonitorClerks_ProgIdCompensator_Stub(
  229.     IRpcStubBuffer *This,
  230.     IRpcChannelBuffer *_pRpcChannelBuffer,
  231.     PRPC_MESSAGE _pRpcMessage,
  232.     DWORD *_pdwStubPhase);
  233. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_Description_Proxy( 
  234.     ICrmMonitorClerks * This,
  235.     /* [in] */ VARIANT Index,
  236.     /* [retval][out] */ LPVARIANT pItem);
  237. void __RPC_STUB ICrmMonitorClerks_Description_Stub(
  238.     IRpcStubBuffer *This,
  239.     IRpcChannelBuffer *_pRpcChannelBuffer,
  240.     PRPC_MESSAGE _pRpcMessage,
  241.     DWORD *_pdwStubPhase);
  242. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_TransactionUOW_Proxy( 
  243.     ICrmMonitorClerks * This,
  244.     /* [in] */ VARIANT Index,
  245.     /* [retval][out] */ LPVARIANT pItem);
  246. void __RPC_STUB ICrmMonitorClerks_TransactionUOW_Stub(
  247.     IRpcStubBuffer *This,
  248.     IRpcChannelBuffer *_pRpcChannelBuffer,
  249.     PRPC_MESSAGE _pRpcMessage,
  250.     DWORD *_pdwStubPhase);
  251. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_ActivityId_Proxy( 
  252.     ICrmMonitorClerks * This,
  253.     /* [in] */ VARIANT Index,
  254.     /* [retval][out] */ LPVARIANT pItem);
  255. void __RPC_STUB ICrmMonitorClerks_ActivityId_Stub(
  256.     IRpcStubBuffer *This,
  257.     IRpcChannelBuffer *_pRpcChannelBuffer,
  258.     PRPC_MESSAGE _pRpcMessage,
  259.     DWORD *_pdwStubPhase);
  260. #endif  /* __ICrmMonitorClerks_INTERFACE_DEFINED__ */
  261. #ifndef __ICrmMonitor_INTERFACE_DEFINED__
  262. #define __ICrmMonitor_INTERFACE_DEFINED__
  263. /* interface ICrmMonitor */
  264. /* [unique][helpstring][uuid][object] */ 
  265. EXTERN_C const IID IID_ICrmMonitor;
  266. #if defined(__cplusplus) && !defined(CINTERFACE)
  267.     
  268.     MIDL_INTERFACE("70C8E443-C7ED-11d1-82FB-00A0C91EEDE9")
  269.     ICrmMonitor : public IUnknown
  270.     {
  271.     public:
  272.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetClerks( 
  273.             /* [retval][out] */ ICrmMonitorClerks **pClerks) = 0;
  274.         
  275.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HoldClerk( 
  276.             /* [in] */ VARIANT Index,
  277.             /* [retval][out] */ LPVARIANT pItem) = 0;
  278.         
  279.     };
  280.     
  281. #else  /* C style interface */
  282.     typedef struct ICrmMonitorVtbl
  283.     {
  284.         BEGIN_INTERFACE
  285.         
  286.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  287.             ICrmMonitor * This,
  288.             /* [in] */ REFIID riid,
  289.             /* [iid_is][out] */ void **ppvObject);
  290.         
  291.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  292.             ICrmMonitor * This);
  293.         
  294.         ULONG ( STDMETHODCALLTYPE *Release )( 
  295.             ICrmMonitor * This);
  296.         
  297.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetClerks )( 
  298.             ICrmMonitor * This,
  299.             /* [retval][out] */ ICrmMonitorClerks **pClerks);
  300.         
  301.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HoldClerk )( 
  302.             ICrmMonitor * This,
  303.             /* [in] */ VARIANT Index,
  304.             /* [retval][out] */ LPVARIANT pItem);
  305.         
  306.         END_INTERFACE
  307.     } ICrmMonitorVtbl;
  308.     interface ICrmMonitor
  309.     {
  310.         CONST_VTBL struct ICrmMonitorVtbl *lpVtbl;
  311.     };
  312.     
  313. #ifdef COBJMACROS
  314. #define ICrmMonitor_QueryInterface(This,riid,ppvObject)
  315.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  316. #define ICrmMonitor_AddRef(This)
  317.     (This)->lpVtbl -> AddRef(This)
  318. #define ICrmMonitor_Release(This)
  319.     (This)->lpVtbl -> Release(This)
  320. #define ICrmMonitor_GetClerks(This,pClerks)
  321.     (This)->lpVtbl -> GetClerks(This,pClerks)
  322. #define ICrmMonitor_HoldClerk(This,Index,pItem)
  323.     (This)->lpVtbl -> HoldClerk(This,Index,pItem)
  324. #endif /* COBJMACROS */
  325. #endif  /* C style interface */
  326. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitor_GetClerks_Proxy( 
  327.     ICrmMonitor * This,
  328.     /* [retval][out] */ ICrmMonitorClerks **pClerks);
  329. void __RPC_STUB ICrmMonitor_GetClerks_Stub(
  330.     IRpcStubBuffer *This,
  331.     IRpcChannelBuffer *_pRpcChannelBuffer,
  332.     PRPC_MESSAGE _pRpcMessage,
  333.     DWORD *_pdwStubPhase);
  334. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitor_HoldClerk_Proxy( 
  335.     ICrmMonitor * This,
  336.     /* [in] */ VARIANT Index,
  337.     /* [retval][out] */ LPVARIANT pItem);
  338. void __RPC_STUB ICrmMonitor_HoldClerk_Stub(
  339.     IRpcStubBuffer *This,
  340.     IRpcChannelBuffer *_pRpcChannelBuffer,
  341.     PRPC_MESSAGE _pRpcMessage,
  342.     DWORD *_pdwStubPhase);
  343. #endif  /* __ICrmMonitor_INTERFACE_DEFINED__ */
  344. #ifndef __ICrmFormatLogRecords_INTERFACE_DEFINED__
  345. #define __ICrmFormatLogRecords_INTERFACE_DEFINED__
  346. /* interface ICrmFormatLogRecords */
  347. /* [unique][helpstring][uuid][object] */ 
  348. EXTERN_C const IID IID_ICrmFormatLogRecords;
  349. #if defined(__cplusplus) && !defined(CINTERFACE)
  350.     
  351.     MIDL_INTERFACE("9C51D821-C98B-11d1-82FB-00A0C91EEDE9")
  352.     ICrmFormatLogRecords : public IUnknown
  353.     {
  354.     public:
  355.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColumnCount( 
  356.             /* [out] */ long *plColumnCount) = 0;
  357.         
  358.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColumnHeaders( 
  359.             /* [out] */ LPVARIANT pHeaders) = 0;
  360.         
  361.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColumn( 
  362.             /* [in] */ CrmLogRecordRead CrmLogRec,
  363.             /* [out] */ LPVARIANT pFormattedLogRecord) = 0;
  364.         
  365.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColumnVariants( 
  366.             /* [in] */ VARIANT LogRecord,
  367.             /* [out] */ LPVARIANT pFormattedLogRecord) = 0;
  368.         
  369.     };
  370.     
  371. #else  /* C style interface */
  372.     typedef struct ICrmFormatLogRecordsVtbl
  373.     {
  374.         BEGIN_INTERFACE
  375.         
  376.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  377.             ICrmFormatLogRecords * This,
  378.             /* [in] */ REFIID riid,
  379.             /* [iid_is][out] */ void **ppvObject);
  380.         
  381.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  382.             ICrmFormatLogRecords * This);
  383.         
  384.         ULONG ( STDMETHODCALLTYPE *Release )( 
  385.             ICrmFormatLogRecords * This);
  386.         
  387.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetColumnCount )( 
  388.             ICrmFormatLogRecords * This,
  389.             /* [out] */ long *plColumnCount);
  390.         
  391.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetColumnHeaders )( 
  392.             ICrmFormatLogRecords * This,
  393.             /* [out] */ LPVARIANT pHeaders);
  394.         
  395.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetColumn )( 
  396.             ICrmFormatLogRecords * This,
  397.             /* [in] */ CrmLogRecordRead CrmLogRec,
  398.             /* [out] */ LPVARIANT pFormattedLogRecord);
  399.         
  400.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetColumnVariants )( 
  401.             ICrmFormatLogRecords * This,
  402.             /* [in] */ VARIANT LogRecord,
  403.             /* [out] */ LPVARIANT pFormattedLogRecord);
  404.         
  405.         END_INTERFACE
  406.     } ICrmFormatLogRecordsVtbl;
  407.     interface ICrmFormatLogRecords
  408.     {
  409.         CONST_VTBL struct ICrmFormatLogRecordsVtbl *lpVtbl;
  410.     };
  411.     
  412. #ifdef COBJMACROS
  413. #define ICrmFormatLogRecords_QueryInterface(This,riid,ppvObject)
  414.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  415. #define ICrmFormatLogRecords_AddRef(This)
  416.     (This)->lpVtbl -> AddRef(This)
  417. #define ICrmFormatLogRecords_Release(This)
  418.     (This)->lpVtbl -> Release(This)
  419. #define ICrmFormatLogRecords_GetColumnCount(This,plColumnCount)
  420.     (This)->lpVtbl -> GetColumnCount(This,plColumnCount)
  421. #define ICrmFormatLogRecords_GetColumnHeaders(This,pHeaders)
  422.     (This)->lpVtbl -> GetColumnHeaders(This,pHeaders)
  423. #define ICrmFormatLogRecords_GetColumn(This,CrmLogRec,pFormattedLogRecord)
  424.     (This)->lpVtbl -> GetColumn(This,CrmLogRec,pFormattedLogRecord)
  425. #define ICrmFormatLogRecords_GetColumnVariants(This,LogRecord,pFormattedLogRecord)
  426.     (This)->lpVtbl -> GetColumnVariants(This,LogRecord,pFormattedLogRecord)
  427. #endif /* COBJMACROS */
  428. #endif  /* C style interface */
  429. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmFormatLogRecords_GetColumnCount_Proxy( 
  430.     ICrmFormatLogRecords * This,
  431.     /* [out] */ long *plColumnCount);
  432. void __RPC_STUB ICrmFormatLogRecords_GetColumnCount_Stub(
  433.     IRpcStubBuffer *This,
  434.     IRpcChannelBuffer *_pRpcChannelBuffer,
  435.     PRPC_MESSAGE _pRpcMessage,
  436.     DWORD *_pdwStubPhase);
  437. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmFormatLogRecords_GetColumnHeaders_Proxy( 
  438.     ICrmFormatLogRecords * This,
  439.     /* [out] */ LPVARIANT pHeaders);
  440. void __RPC_STUB ICrmFormatLogRecords_GetColumnHeaders_Stub(
  441.     IRpcStubBuffer *This,
  442.     IRpcChannelBuffer *_pRpcChannelBuffer,
  443.     PRPC_MESSAGE _pRpcMessage,
  444.     DWORD *_pdwStubPhase);
  445. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmFormatLogRecords_GetColumn_Proxy( 
  446.     ICrmFormatLogRecords * This,
  447.     /* [in] */ CrmLogRecordRead CrmLogRec,
  448.     /* [out] */ LPVARIANT pFormattedLogRecord);
  449. void __RPC_STUB ICrmFormatLogRecords_GetColumn_Stub(
  450.     IRpcStubBuffer *This,
  451.     IRpcChannelBuffer *_pRpcChannelBuffer,
  452.     PRPC_MESSAGE _pRpcMessage,
  453.     DWORD *_pdwStubPhase);
  454. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmFormatLogRecords_GetColumnVariants_Proxy( 
  455.     ICrmFormatLogRecords * This,
  456.     /* [in] */ VARIANT LogRecord,
  457.     /* [out] */ LPVARIANT pFormattedLogRecord);
  458. void __RPC_STUB ICrmFormatLogRecords_GetColumnVariants_Stub(
  459.     IRpcStubBuffer *This,
  460.     IRpcChannelBuffer *_pRpcChannelBuffer,
  461.     PRPC_MESSAGE _pRpcMessage,
  462.     DWORD *_pdwStubPhase);
  463. #endif  /* __ICrmFormatLogRecords_INTERFACE_DEFINED__ */
  464. /* interface __MIDL_itf_autosvcs_0367 */
  465. /* [local] */ 
  466. typedef 
  467. enum tagCSC_InheritanceConfig
  468.     { CSC_Inherit = 0,
  469. CSC_Ignore = CSC_Inherit + 1
  470.     }  CSC_InheritanceConfig;
  471. typedef 
  472. enum tagCSC_ThreadPool
  473.     { CSC_ThreadPoolNone = 0,
  474. CSC_ThreadPoolInherit = CSC_ThreadPoolNone + 1,
  475. CSC_STAThreadPool = CSC_ThreadPoolInherit + 1,
  476. CSC_MTAThreadPool = CSC_STAThreadPool + 1
  477.     }  CSC_ThreadPool;
  478. typedef 
  479. enum tagCSC_Binding
  480.     { CSC_NoBinding = 0,
  481. CSC_BindToPoolThread = CSC_NoBinding + 1
  482.     }  CSC_Binding;
  483. typedef 
  484. enum tagCSC_TransactionConfig
  485.     { CSC_NoTransaction = 0,
  486. CSC_IfContainerIsTransactional = CSC_NoTransaction + 1,
  487. CSC_CreateTransactionIfNecessary = CSC_IfContainerIsTransactional + 1,
  488. CSC_NewTransaction = CSC_CreateTransactionIfNecessary + 1
  489.     }  CSC_TransactionConfig;
  490. typedef 
  491. enum tagCSC_SynchronizationConfig
  492.     { CSC_NoSynchronization = 0,
  493. CSC_IfContainerIsSynchronized = CSC_NoSynchronization + 1,
  494. CSC_NewSynchronizationIfNecessary = CSC_IfContainerIsSynchronized + 1,
  495. CSC_NewSynchronization = CSC_NewSynchronizationIfNecessary + 1
  496.     }  CSC_SynchronizationConfig;
  497. typedef 
  498. enum tagCSC_TrackerConfig
  499.     { CSC_DontUseTracker = 0,
  500. CSC_UseTracker = CSC_DontUseTracker + 1
  501.     }  CSC_TrackerConfig;
  502. typedef 
  503. enum tagCSC_PartitionConfig
  504.     { CSC_NoPartition = 0,
  505. CSC_InheritPartition = CSC_NoPartition + 1,
  506. CSC_NewPartition = CSC_InheritPartition + 1
  507.     }  CSC_PartitionConfig;
  508. typedef 
  509. enum tagCSC_IISIntrinsicsConfig
  510.     { CSC_NoIISIntrinsics = 0,
  511. CSC_InheritIISIntrinsics = CSC_NoIISIntrinsics + 1
  512.     }  CSC_IISIntrinsicsConfig;
  513. typedef 
  514. enum tagCSC_COMTIIntrinsicsConfig
  515.     { CSC_NoCOMTIIntrinsics = 0,
  516. CSC_InheritCOMTIIntrinsics = CSC_NoCOMTIIntrinsics + 1
  517.     }  CSC_COMTIIntrinsicsConfig;
  518. typedef 
  519. enum tagCSC_SxsConfig
  520.     { CSC_NoSxs = 0,
  521. CSC_InheritSxs = CSC_NoSxs + 1,
  522. CSC_NewSxs = CSC_InheritSxs + 1
  523.     }  CSC_SxsConfig;
  524. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0367_v0_0_c_ifspec;
  525. extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0367_v0_0_s_ifspec;
  526. #ifndef __IServiceIISIntrinsicsConfig_INTERFACE_DEFINED__
  527. #define __IServiceIISIntrinsicsConfig_INTERFACE_DEFINED__
  528. /* interface IServiceIISIntrinsicsConfig */
  529. /* [unique][helpstring][uuid][object] */ 
  530. EXTERN_C const IID IID_IServiceIISIntrinsicsConfig;
  531. #if defined(__cplusplus) && !defined(CINTERFACE)
  532.     
  533.     MIDL_INTERFACE("1a0cf920-d452-46f4-bc36-48118d54ea52")
  534.     IServiceIISIntrinsicsConfig : public IUnknown
  535.     {
  536.     public:
  537.         virtual HRESULT STDMETHODCALLTYPE IISIntrinsicsConfig( 
  538.             /* [in] */ CSC_IISIntrinsicsConfig iisIntrinsicsConfig) = 0;
  539.         
  540.     };
  541.     
  542. #else  /* C style interface */
  543.     typedef struct IServiceIISIntrinsicsConfigVtbl
  544.     {
  545.         BEGIN_INTERFACE
  546.         
  547.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  548.             IServiceIISIntrinsicsConfig * This,
  549.             /* [in] */ REFIID riid,
  550.             /* [iid_is][out] */ void **ppvObject);
  551.         
  552.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  553.             IServiceIISIntrinsicsConfig * This);
  554.         
  555.         ULONG ( STDMETHODCALLTYPE *Release )( 
  556.             IServiceIISIntrinsicsConfig * This);
  557.         
  558.         HRESULT ( STDMETHODCALLTYPE *IISIntrinsicsConfig )( 
  559.             IServiceIISIntrinsicsConfig * This,
  560.             /* [in] */ CSC_IISIntrinsicsConfig iisIntrinsicsConfig);
  561.         
  562.         END_INTERFACE
  563.     } IServiceIISIntrinsicsConfigVtbl;
  564.     interface IServiceIISIntrinsicsConfig
  565.     {
  566.         CONST_VTBL struct IServiceIISIntrinsicsConfigVtbl *lpVtbl;
  567.     };
  568.     
  569. #ifdef COBJMACROS
  570. #define IServiceIISIntrinsicsConfig_QueryInterface(This,riid,ppvObject)
  571.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  572. #define IServiceIISIntrinsicsConfig_AddRef(This)
  573.     (This)->lpVtbl -> AddRef(This)
  574. #define IServiceIISIntrinsicsConfig_Release(This)
  575.     (This)->lpVtbl -> Release(This)
  576. #define IServiceIISIntrinsicsConfig_IISIntrinsicsConfig(This,iisIntrinsicsConfig)
  577.     (This)->lpVtbl -> IISIntrinsicsConfig(This,iisIntrinsicsConfig)
  578. #endif /* COBJMACROS */
  579. #endif  /* C style interface */
  580. HRESULT STDMETHODCALLTYPE IServiceIISIntrinsicsConfig_IISIntrinsicsConfig_Proxy( 
  581.     IServiceIISIntrinsicsConfig * This,
  582.     /* [in] */ CSC_IISIntrinsicsConfig iisIntrinsicsConfig);
  583. void __RPC_STUB IServiceIISIntrinsicsConfig_IISIntrinsicsConfig_Stub(
  584.     IRpcStubBuffer *This,
  585.     IRpcChannelBuffer *_pRpcChannelBuffer,
  586.     PRPC_MESSAGE _pRpcMessage,
  587.     DWORD *_pdwStubPhase);
  588. #endif  /* __IServiceIISIntrinsicsConfig_INTERFACE_DEFINED__ */
  589. #ifndef __IServiceComTIIntrinsicsConfig_INTERFACE_DEFINED__
  590. #define __IServiceComTIIntrinsicsConfig_INTERFACE_DEFINED__
  591. /* interface IServiceComTIIntrinsicsConfig */
  592. /* [unique][helpstring][uuid][object] */ 
  593. EXTERN_C const IID IID_IServiceComTIIntrinsicsConfig;
  594. #if defined(__cplusplus) && !defined(CINTERFACE)
  595.     
  596.     MIDL_INTERFACE("09e6831e-04e1-4ed4-9d0f-e8b168bafeaf")
  597.     IServiceComTIIntrinsicsConfig : public IUnknown
  598.     {
  599.     public:
  600.         virtual HRESULT STDMETHODCALLTYPE ComTIIntrinsicsConfig( 
  601.             /* [in] */ CSC_COMTIIntrinsicsConfig comtiIntrinsicsConfig) = 0;
  602.         
  603.     };
  604.     
  605. #else  /* C style interface */
  606.     typedef struct IServiceComTIIntrinsicsConfigVtbl
  607.     {
  608.         BEGIN_INTERFACE
  609.         
  610.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  611.             IServiceComTIIntrinsicsConfig * This,
  612.             /* [in] */ REFIID riid,
  613.             /* [iid_is][out] */ void **ppvObject);
  614.         
  615.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  616.             IServiceComTIIntrinsicsConfig * This);
  617.         
  618.         ULONG ( STDMETHODCALLTYPE *Release )( 
  619.             IServiceComTIIntrinsicsConfig * This);
  620.         
  621.         HRESULT ( STDMETHODCALLTYPE *ComTIIntrinsicsConfig )( 
  622.             IServiceComTIIntrinsicsConfig * This,
  623.             /* [in] */ CSC_COMTIIntrinsicsConfig comtiIntrinsicsConfig);
  624.         
  625.         END_INTERFACE
  626.     } IServiceComTIIntrinsicsConfigVtbl;
  627.     interface IServiceComTIIntrinsicsConfig
  628.     {
  629.         CONST_VTBL struct IServiceComTIIntrinsicsConfigVtbl *lpVtbl;
  630.     };
  631.     
  632. #ifdef COBJMACROS
  633. #define IServiceComTIIntrinsicsConfig_QueryInterface(This,riid,ppvObject)
  634.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  635. #define IServiceComTIIntrinsicsConfig_AddRef(This)
  636.     (This)->lpVtbl -> AddRef(This)
  637. #define IServiceComTIIntrinsicsConfig_Release(This)
  638.     (This)->lpVtbl -> Release(This)
  639. #define IServiceComTIIntrinsicsConfig_ComTIIntrinsicsConfig(This,comtiIntrinsicsConfig)
  640.     (This)->lpVtbl -> ComTIIntrinsicsConfig(This,comtiIntrinsicsConfig)
  641. #endif /* COBJMACROS */
  642. #endif  /* C style interface */
  643. HRESULT STDMETHODCALLTYPE IServiceComTIIntrinsicsConfig_ComTIIntrinsicsConfig_Proxy( 
  644.     IServiceComTIIntrinsicsConfig * This,
  645.     /* [in] */ CSC_COMTIIntrinsicsConfig comtiIntrinsicsConfig);
  646. void __RPC_STUB IServiceComTIIntrinsicsConfig_ComTIIntrinsicsConfig_Stub(
  647.     IRpcStubBuffer *This,
  648.     IRpcChannelBuffer *_pRpcChannelBuffer,
  649.     PRPC_MESSAGE _pRpcMessage,
  650.     DWORD *_pdwStubPhase);
  651. #endif  /* __IServiceComTIIntrinsicsConfig_INTERFACE_DEFINED__ */
  652. #ifndef __IServiceSxsConfig_INTERFACE_DEFINED__
  653. #define __IServiceSxsConfig_INTERFACE_DEFINED__
  654. /* interface IServiceSxsConfig */
  655. /* [unique][helpstring][uuid][object] */ 
  656. EXTERN_C const IID IID_IServiceSxsConfig;
  657. #if defined(__cplusplus) && !defined(CINTERFACE)
  658.     
  659.     MIDL_INTERFACE("c7cd7379-f3f2-4634-811b-703281d73e08")
  660.     IServiceSxsConfig : public IUnknown
  661.     {
  662.     public:
  663.         virtual HRESULT STDMETHODCALLTYPE SxsConfig( 
  664.             /* [in] */ CSC_SxsConfig scsConfig) = 0;
  665.         
  666.         virtual HRESULT STDMETHODCALLTYPE SxsName( 
  667.             /* [string][in] */ LPCWSTR szSxsName) = 0;
  668.         
  669.         virtual HRESULT STDMETHODCALLTYPE SxsDirectory( 
  670.             /* [string][in] */ LPCWSTR szSxsDirectory) = 0;
  671.         
  672.     };
  673.     
  674. #else  /* C style interface */
  675.     typedef struct IServiceSxsConfigVtbl
  676.     {
  677.         BEGIN_INTERFACE
  678.         
  679.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  680.             IServiceSxsConfig * This,
  681.             /* [in] */ REFIID riid,
  682.             /* [iid_is][out] */ void **ppvObject);
  683.         
  684.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  685.             IServiceSxsConfig * This);
  686.         
  687.         ULONG ( STDMETHODCALLTYPE *Release )( 
  688.             IServiceSxsConfig * This);
  689.         
  690.         HRESULT ( STDMETHODCALLTYPE *SxsConfig )( 
  691.             IServiceSxsConfig * This,
  692.             /* [in] */ CSC_SxsConfig scsConfig);
  693.         
  694.         HRESULT ( STDMETHODCALLTYPE *SxsName )( 
  695.             IServiceSxsConfig * This,
  696.             /* [string][in] */ LPCWSTR szSxsName);
  697.         
  698.         HRESULT ( STDMETHODCALLTYPE *SxsDirectory )( 
  699.             IServiceSxsConfig * This,
  700.             /* [string][in] */ LPCWSTR szSxsDirectory);
  701.         
  702.         END_INTERFACE
  703.     } IServiceSxsConfigVtbl;
  704.     interface IServiceSxsConfig
  705.     {
  706.         CONST_VTBL struct IServiceSxsConfigVtbl *lpVtbl;
  707.     };
  708.     
  709. #ifdef COBJMACROS
  710. #define IServiceSxsConfig_QueryInterface(This,riid,ppvObject)
  711.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  712. #define IServiceSxsConfig_AddRef(This)
  713.     (This)->lpVtbl -> AddRef(This)
  714. #define IServiceSxsConfig_Release(This)
  715.     (This)->lpVtbl -> Release(This)
  716. #define IServiceSxsConfig_SxsConfig(This,scsConfig)
  717.     (This)->lpVtbl -> SxsConfig(This,scsConfig)
  718. #define IServiceSxsConfig_SxsName(This,szSxsName)
  719.     (This)->lpVtbl -> SxsName(This,szSxsName)
  720. #define IServiceSxsConfig_SxsDirectory(This,szSxsDirectory)
  721.     (This)->lpVtbl -> SxsDirectory(This,szSxsDirectory)
  722. #endif /* COBJMACROS */
  723. #endif  /* C style interface */
  724. HRESULT STDMETHODCALLTYPE IServiceSxsConfig_SxsConfig_Proxy( 
  725.     IServiceSxsConfig * This,
  726.     /* [in] */ CSC_SxsConfig scsConfig);
  727. void __RPC_STUB IServiceSxsConfig_SxsConfig_Stub(
  728.     IRpcStubBuffer *This,
  729.     IRpcChannelBuffer *_pRpcChannelBuffer,
  730.     PRPC_MESSAGE _pRpcMessage,
  731.     DWORD *_pdwStubPhase);
  732. HRESULT STDMETHODCALLTYPE IServiceSxsConfig_SxsName_Proxy( 
  733.     IServiceSxsConfig * This,
  734.     /* [string][in] */ LPCWSTR szSxsName);
  735. void __RPC_STUB IServiceSxsConfig_SxsName_Stub(
  736.     IRpcStubBuffer *This,
  737.     IRpcChannelBuffer *_pRpcChannelBuffer,
  738.     PRPC_MESSAGE _pRpcMessage,
  739.     DWORD *_pdwStubPhase);
  740. HRESULT STDMETHODCALLTYPE IServiceSxsConfig_SxsDirectory_Proxy( 
  741.     IServiceSxsConfig * This,
  742.     /* [string][in] */ LPCWSTR szSxsDirectory);
  743. void __RPC_STUB IServiceSxsConfig_SxsDirectory_Stub(
  744.     IRpcStubBuffer *This,
  745.     IRpcChannelBuffer *_pRpcChannelBuffer,
  746.     PRPC_MESSAGE _pRpcMessage,
  747.     DWORD *_pdwStubPhase);
  748. #endif  /* __IServiceSxsConfig_INTERFACE_DEFINED__ */
  749. #ifndef __ICheckFusionConfig_INTERFACE_DEFINED__
  750. #define __ICheckFusionConfig_INTERFACE_DEFINED__
  751. /* interface ICheckFusionConfig */
  752. /* [local][unique][helpstring][uuid][object] */ 
  753. EXTERN_C const IID IID_ICheckFusionConfig;
  754. #if defined(__cplusplus) && !defined(CINTERFACE)
  755.     
  756.     MIDL_INTERFACE("0FF5A96F-11FC-47d1-BAA6-25DD347E7242")
  757.     ICheckFusionConfig : public IUnknown
  758.     {
  759.     public:
  760.         virtual HRESULT STDMETHODCALLTYPE IsSameFusionConfig( 
  761.             /* [string][in] */ LPCWSTR wszFusionName,
  762.             /* [string][in] */ LPCWSTR wszFusionDirectory) = 0;
  763.         
  764.     };
  765.     
  766. #else  /* C style interface */
  767.     typedef struct ICheckFusionConfigVtbl
  768.     {
  769.         BEGIN_INTERFACE
  770.         
  771.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  772.             ICheckFusionConfig * This,
  773.             /* [in] */ REFIID riid,
  774.             /* [iid_is][out] */ void **ppvObject);
  775.         
  776.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  777.             ICheckFusionConfig * This);
  778.         
  779.         ULONG ( STDMETHODCALLTYPE *Release )( 
  780.             ICheckFusionConfig * This);
  781.         
  782.         HRESULT ( STDMETHODCALLTYPE *IsSameFusionConfig )( 
  783.             ICheckFusionConfig * This,
  784.             /* [string][in] */ LPCWSTR wszFusionName,
  785.             /* [string][in] */ LPCWSTR wszFusionDirectory);
  786.         
  787.         END_INTERFACE
  788.     } ICheckFusionConfigVtbl;
  789.     interface ICheckFusionConfig
  790.     {
  791.         CONST_VTBL struct ICheckFusionConfigVtbl *lpVtbl;
  792.     };
  793.     
  794. #ifdef COBJMACROS
  795. #define ICheckFusionConfig_QueryInterface(This,riid,ppvObject)
  796.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  797. #define ICheckFusionConfig_AddRef(This)
  798.     (This)->lpVtbl -> AddRef(This)
  799. #define ICheckFusionConfig_Release(This)
  800.     (This)->lpVtbl -> Release(This)
  801. #define ICheckFusionConfig_IsSameFusionConfig(This,wszFusionName,wszFusionDirectory)
  802.     (This)->lpVtbl -> IsSameFusionConfig(This,wszFusionName,wszFusionDirectory)
  803. #endif /* COBJMACROS */
  804. #endif  /* C style interface */
  805. HRESULT STDMETHODCALLTYPE ICheckFusionConfig_IsSameFusionConfig_Proxy( 
  806.     ICheckFusionConfig * This,
  807.     /* [string][in] */ LPCWSTR wszFusionName,
  808.     /* [string][in] */ LPCWSTR wszFusionDirectory);
  809. void __RPC_STUB ICheckFusionConfig_IsSameFusionConfig_Stub(
  810.     IRpcStubBuffer *This,
  811.     IRpcChannelBuffer *_pRpcChannelBuffer,
  812.     PRPC_MESSAGE _pRpcMessage,
  813.     DWORD *_pdwStubPhase);
  814. #endif  /* __ICheckFusionConfig_INTERFACE_DEFINED__ */
  815. #ifndef __IServiceInheritanceConfig_INTERFACE_DEFINED__
  816. #define __IServiceInheritanceConfig_INTERFACE_DEFINED__
  817. /* interface IServiceInheritanceConfig */
  818. /* [unique][helpstring][uuid][object] */ 
  819. EXTERN_C const IID IID_IServiceInheritanceConfig;
  820. #if defined(__cplusplus) && !defined(CINTERFACE)
  821.     
  822.     MIDL_INTERFACE("92186771-d3b4-4d77-a8ea-ee842d586f35")
  823.     IServiceInheritanceConfig : public IUnknown
  824.     {
  825.     public:
  826.         virtual HRESULT STDMETHODCALLTYPE ContainingContextTreatment( 
  827.             /* [in] */ CSC_InheritanceConfig inheritanceConfig) = 0;
  828.         
  829.     };
  830.     
  831. #else  /* C style interface */
  832.     typedef struct IServiceInheritanceConfigVtbl
  833.     {
  834.         BEGIN_INTERFACE
  835.         
  836.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  837.             IServiceInheritanceConfig * This,
  838.             /* [in] */ REFIID riid,
  839.             /* [iid_is][out] */ void **ppvObject);
  840.         
  841.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  842.             IServiceInheritanceConfig * This);
  843.         
  844.         ULONG ( STDMETHODCALLTYPE *Release )( 
  845.             IServiceInheritanceConfig * This);
  846.         
  847.         HRESULT ( STDMETHODCALLTYPE *ContainingContextTreatment )( 
  848.             IServiceInheritanceConfig * This,
  849.             /* [in] */ CSC_InheritanceConfig inheritanceConfig);
  850.         
  851.         END_INTERFACE
  852.     } IServiceInheritanceConfigVtbl;
  853.     interface IServiceInheritanceConfig
  854.     {
  855.         CONST_VTBL struct IServiceInheritanceConfigVtbl *lpVtbl;
  856.     };
  857.     
  858. #ifdef COBJMACROS
  859. #define IServiceInheritanceConfig_QueryInterface(This,riid,ppvObject)
  860.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  861. #define IServiceInheritanceConfig_AddRef(This)
  862.     (This)->lpVtbl -> AddRef(This)
  863. #define IServiceInheritanceConfig_Release(This)
  864.     (This)->lpVtbl -> Release(This)
  865. #define IServiceInheritanceConfig_ContainingContextTreatment(This,inheritanceConfig)
  866.     (This)->lpVtbl -> ContainingContextTreatment(This,inheritanceConfig)
  867. #endif /* COBJMACROS */
  868. #endif  /* C style interface */
  869. HRESULT STDMETHODCALLTYPE IServiceInheritanceConfig_ContainingContextTreatment_Proxy( 
  870.     IServiceInheritanceConfig * This,
  871.     /* [in] */ CSC_InheritanceConfig inheritanceConfig);
  872. void __RPC_STUB IServiceInheritanceConfig_ContainingContextTreatment_Stub(
  873.     IRpcStubBuffer *This,
  874.     IRpcChannelBuffer *_pRpcChannelBuffer,
  875.     PRPC_MESSAGE _pRpcMessage,
  876.     DWORD *_pdwStubPhase);
  877. #endif  /* __IServiceInheritanceConfig_INTERFACE_DEFINED__ */
  878. #ifndef __IServiceThreadPoolConfig_INTERFACE_DEFINED__
  879. #define __IServiceThreadPoolConfig_INTERFACE_DEFINED__
  880. /* interface IServiceThreadPoolConfig */
  881. /* [unique][helpstring][uuid][object] */ 
  882. EXTERN_C const IID IID_IServiceThreadPoolConfig;
  883. #if defined(__cplusplus) && !defined(CINTERFACE)
  884.     
  885.     MIDL_INTERFACE("186d89bc-f277-4bcc-80d5-4df7b836ef4a")
  886.     IServiceThreadPoolConfig : public IUnknown
  887.     {
  888.     public:
  889.         virtual HRESULT STDMETHODCALLTYPE SelectThreadPool( 
  890.             /* [in] */ CSC_ThreadPool threadPool) = 0;
  891.         
  892.         virtual HRESULT STDMETHODCALLTYPE SetBindingInfo( 
  893.             /* [in] */ CSC_Binding binding) = 0;
  894.         
  895.     };
  896.     
  897. #else  /* C style interface */
  898.     typedef struct IServiceThreadPoolConfigVtbl
  899.     {
  900.         BEGIN_INTERFACE
  901.         
  902.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  903.             IServiceThreadPoolConfig * This,
  904.             /* [in] */ REFIID riid,
  905.             /* [iid_is][out] */ void **ppvObject);
  906.         
  907.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  908.             IServiceThreadPoolConfig * This);
  909.         
  910.         ULONG ( STDMETHODCALLTYPE *Release )( 
  911.             IServiceThreadPoolConfig * This);
  912.         
  913.         HRESULT ( STDMETHODCALLTYPE *SelectThreadPool )( 
  914.             IServiceThreadPoolConfig * This,
  915.             /* [in] */ CSC_ThreadPool threadPool);
  916.         
  917.         HRESULT ( STDMETHODCALLTYPE *SetBindingInfo )( 
  918.             IServiceThreadPoolConfig * This,
  919.             /* [in] */ CSC_Binding binding);
  920.         
  921.         END_INTERFACE
  922.     } IServiceThreadPoolConfigVtbl;
  923.     interface IServiceThreadPoolConfig
  924.     {
  925.         CONST_VTBL struct IServiceThreadPoolConfigVtbl *lpVtbl;
  926.     };
  927.     
  928. #ifdef COBJMACROS
  929. #define IServiceThreadPoolConfig_QueryInterface(This,riid,ppvObject)
  930.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  931. #define IServiceThreadPoolConfig_AddRef(This)
  932.     (This)->lpVtbl -> AddRef(This)
  933. #define IServiceThreadPoolConfig_Release(This)
  934.     (This)->lpVtbl -> Release(This)
  935. #define IServiceThreadPoolConfig_SelectThreadPool(This,threadPool)
  936.     (This)->lpVtbl -> SelectThreadPool(This,threadPool)
  937. #define IServiceThreadPoolConfig_SetBindingInfo(This,binding)
  938.     (This)->lpVtbl -> SetBindingInfo(This,binding)
  939. #endif /* COBJMACROS */
  940. #endif  /* C style interface */
  941. HRESULT STDMETHODCALLTYPE IServiceThreadPoolConfig_SelectThreadPool_Proxy( 
  942.     IServiceThreadPoolConfig * This,
  943.     /* [in] */ CSC_ThreadPool threadPool);
  944. void __RPC_STUB IServiceThreadPoolConfig_SelectThreadPool_Stub(
  945.     IRpcStubBuffer *This,
  946.     IRpcChannelBuffer *_pRpcChannelBuffer,
  947.     PRPC_MESSAGE _pRpcMessage,
  948.     DWORD *_pdwStubPhase);
  949. HRESULT STDMETHODCALLTYPE IServiceThreadPoolConfig_SetBindingInfo_Proxy( 
  950.     IServiceThreadPoolConfig * This,
  951.     /* [in] */ CSC_Binding binding);
  952. void __RPC_STUB IServiceThreadPoolConfig_SetBindingInfo_Stub(
  953.     IRpcStubBuffer *This,
  954.     IRpcChannelBuffer *_pRpcChannelBuffer,
  955.     PRPC_MESSAGE _pRpcMessage,
  956.     DWORD *_pdwStubPhase);
  957. #endif  /* __IServiceThreadPoolConfig_INTERFACE_DEFINED__ */
  958. #ifndef __IServiceTransactionConfig_INTERFACE_DEFINED__
  959. #define __IServiceTransactionConfig_INTERFACE_DEFINED__
  960. /* interface IServiceTransactionConfig */
  961. /* [unique][helpstring][uuid][object] */ 
  962. EXTERN_C const IID IID_IServiceTransactionConfig;
  963. #if defined(__cplusplus) && !defined(CINTERFACE)
  964.     
  965.     MIDL_INTERFACE("772b3fbe-6ffd-42fb-b5f8-8f9b260f3810")
  966.     IServiceTransactionConfig : public IUnknown
  967.     {
  968.     public:
  969.         virtual HRESULT STDMETHODCALLTYPE ConfigureTransaction( 
  970.             /* [in] */ CSC_TransactionConfig transactionConfig) = 0;
  971.         
  972.         virtual HRESULT STDMETHODCALLTYPE IsolationLevel( 
  973.             /* [in] */ COMAdminTxIsolationLevelOptions option) = 0;
  974.         
  975.         virtual HRESULT STDMETHODCALLTYPE TransactionTimeout( 
  976.             /* [in] */ ULONG ulTimeoutSec) = 0;
  977.         
  978.         virtual HRESULT STDMETHODCALLTYPE BringYourOwnTransaction( 
  979.             /* [string][in] */ LPCWSTR szTipURL) = 0;
  980.         
  981.         virtual HRESULT STDMETHODCALLTYPE NewTransactionDescription( 
  982.             /* [string][in] */ LPCWSTR szTxDesc) = 0;
  983.         
  984.     };
  985.     
  986. #else  /* C style interface */
  987.     typedef struct IServiceTransactionConfigVtbl
  988.     {
  989.         BEGIN_INTERFACE
  990.         
  991.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  992.             IServiceTransactionConfig * This,
  993.             /* [in] */ REFIID riid,
  994.             /* [iid_is][out] */ void **ppvObject);
  995.         
  996.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  997.             IServiceTransactionConfig * This);
  998.         
  999.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1000.             IServiceTransactionConfig * This);
  1001.         
  1002.         HRESULT ( STDMETHODCALLTYPE *ConfigureTransaction )( 
  1003.             IServiceTransactionConfig * This,
  1004.             /* [in] */ CSC_TransactionConfig transactionConfig);
  1005.         
  1006.         HRESULT ( STDMETHODCALLTYPE *IsolationLevel )( 
  1007.             IServiceTransactionConfig * This,
  1008.             /* [in] */ COMAdminTxIsolationLevelOptions option);
  1009.         
  1010.         HRESULT ( STDMETHODCALLTYPE *TransactionTimeout )( 
  1011.             IServiceTransactionConfig * This,
  1012.             /* [in] */ ULONG ulTimeoutSec);
  1013.         
  1014.         HRESULT ( STDMETHODCALLTYPE *BringYourOwnTransaction )( 
  1015.             IServiceTransactionConfig * This,
  1016.             /* [string][in] */ LPCWSTR szTipURL);
  1017.         
  1018.         HRESULT ( STDMETHODCALLTYPE *NewTransactionDescription )( 
  1019.             IServiceTransactionConfig * This,
  1020.             /* [string][in] */ LPCWSTR szTxDesc);
  1021.         
  1022.         END_INTERFACE
  1023.     } IServiceTransactionConfigVtbl;
  1024.     interface IServiceTransactionConfig
  1025.     {
  1026.         CONST_VTBL struct IServiceTransactionConfigVtbl *lpVtbl;
  1027.     };
  1028.     
  1029. #ifdef COBJMACROS
  1030. #define IServiceTransactionConfig_QueryInterface(This,riid,ppvObject)
  1031.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1032. #define IServiceTransactionConfig_AddRef(This)
  1033.     (This)->lpVtbl -> AddRef(This)
  1034. #define IServiceTransactionConfig_Release(This)
  1035.     (This)->lpVtbl -> Release(This)
  1036. #define IServiceTransactionConfig_ConfigureTransaction(This,transactionConfig)
  1037.     (This)->lpVtbl -> ConfigureTransaction(This,transactionConfig)
  1038. #define IServiceTransactionConfig_IsolationLevel(This,option)
  1039.     (This)->lpVtbl -> IsolationLevel(This,option)
  1040. #define IServiceTransactionConfig_TransactionTimeout(This,ulTimeoutSec)
  1041.     (This)->lpVtbl -> TransactionTimeout(This,ulTimeoutSec)
  1042. #define IServiceTransactionConfig_BringYourOwnTransaction(This,szTipURL)
  1043.     (This)->lpVtbl -> BringYourOwnTransaction(This,szTipURL)
  1044. #define IServiceTransactionConfig_NewTransactionDescription(This,szTxDesc)
  1045.     (This)->lpVtbl -> NewTransactionDescription(This,szTxDesc)
  1046. #endif /* COBJMACROS */
  1047. #endif  /* C style interface */
  1048. HRESULT STDMETHODCALLTYPE IServiceTransactionConfig_ConfigureTransaction_Proxy( 
  1049.     IServiceTransactionConfig * This,
  1050.     /* [in] */ CSC_TransactionConfig transactionConfig);
  1051. void __RPC_STUB IServiceTransactionConfig_ConfigureTransaction_Stub(
  1052.     IRpcStubBuffer *This,
  1053.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1054.     PRPC_MESSAGE _pRpcMessage,
  1055.     DWORD *_pdwStubPhase);
  1056. HRESULT STDMETHODCALLTYPE IServiceTransactionConfig_IsolationLevel_Proxy( 
  1057.     IServiceTransactionConfig * This,
  1058.     /* [in] */ COMAdminTxIsolationLevelOptions option);
  1059. void __RPC_STUB IServiceTransactionConfig_IsolationLevel_Stub(
  1060.     IRpcStubBuffer *This,
  1061.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1062.     PRPC_MESSAGE _pRpcMessage,
  1063.     DWORD *_pdwStubPhase);
  1064. HRESULT STDMETHODCALLTYPE IServiceTransactionConfig_TransactionTimeout_Proxy( 
  1065.     IServiceTransactionConfig * This,
  1066.     /* [in] */ ULONG ulTimeoutSec);
  1067. void __RPC_STUB IServiceTransactionConfig_TransactionTimeout_Stub(
  1068.     IRpcStubBuffer *This,
  1069.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1070.     PRPC_MESSAGE _pRpcMessage,
  1071.     DWORD *_pdwStubPhase);
  1072. HRESULT STDMETHODCALLTYPE IServiceTransactionConfig_BringYourOwnTransaction_Proxy( 
  1073.     IServiceTransactionConfig * This,
  1074.     /* [string][in] */ LPCWSTR szTipURL);
  1075. void __RPC_STUB IServiceTransactionConfig_BringYourOwnTransaction_Stub(
  1076.     IRpcStubBuffer *This,
  1077.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1078.     PRPC_MESSAGE _pRpcMessage,
  1079.     DWORD *_pdwStubPhase);
  1080. HRESULT STDMETHODCALLTYPE IServiceTransactionConfig_NewTransactionDescription_Proxy( 
  1081.     IServiceTransactionConfig * This,
  1082.     /* [string][in] */ LPCWSTR szTxDesc);
  1083. void __RPC_STUB IServiceTransactionConfig_NewTransactionDescription_Stub(
  1084.     IRpcStubBuffer *This,
  1085.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1086.     PRPC_MESSAGE _pRpcMessage,
  1087.     DWORD *_pdwStubPhase);
  1088. #endif  /* __IServiceTransactionConfig_INTERFACE_DEFINED__ */
  1089. #ifndef __IServiceSynchronizationConfig_INTERFACE_DEFINED__
  1090. #define __IServiceSynchronizationConfig_INTERFACE_DEFINED__
  1091. /* interface IServiceSynchronizationConfig */
  1092. /* [unique][helpstring][uuid][object] */ 
  1093. EXTERN_C const IID IID_IServiceSynchronizationConfig;
  1094. #if defined(__cplusplus) && !defined(CINTERFACE)
  1095.     
  1096.     MIDL_INTERFACE("fd880e81-6dce-4c58-af83-a208846c0030")
  1097.     IServiceSynchronizationConfig : public IUnknown
  1098.     {
  1099.     public:
  1100.         virtual HRESULT STDMETHODCALLTYPE ConfigureSynchronization( 
  1101.             /* [in] */ CSC_SynchronizationConfig synchConfig) = 0;
  1102.         
  1103.     };
  1104.     
  1105. #else  /* C style interface */
  1106.     typedef struct IServiceSynchronizationConfigVtbl
  1107.     {
  1108.         BEGIN_INTERFACE
  1109.         
  1110.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1111.             IServiceSynchronizationConfig * This,
  1112.             /* [in] */ REFIID riid,
  1113.             /* [iid_is][out] */ void **ppvObject);
  1114.         
  1115.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1116.             IServiceSynchronizationConfig * This);
  1117.         
  1118.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1119.             IServiceSynchronizationConfig * This);
  1120.         
  1121.         HRESULT ( STDMETHODCALLTYPE *ConfigureSynchronization )( 
  1122.             IServiceSynchronizationConfig * This,
  1123.             /* [in] */ CSC_SynchronizationConfig synchConfig);
  1124.         
  1125.         END_INTERFACE
  1126.     } IServiceSynchronizationConfigVtbl;
  1127.     interface IServiceSynchronizationConfig
  1128.     {
  1129.         CONST_VTBL struct IServiceSynchronizationConfigVtbl *lpVtbl;
  1130.     };
  1131.     
  1132. #ifdef COBJMACROS
  1133. #define IServiceSynchronizationConfig_QueryInterface(This,riid,ppvObject)
  1134.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1135. #define IServiceSynchronizationConfig_AddRef(This)
  1136.     (This)->lpVtbl -> AddRef(This)
  1137. #define IServiceSynchronizationConfig_Release(This)
  1138.     (This)->lpVtbl -> Release(This)
  1139. #define IServiceSynchronizationConfig_ConfigureSynchronization(This,synchConfig)
  1140.     (This)->lpVtbl -> ConfigureSynchronization(This,synchConfig)
  1141. #endif /* COBJMACROS */
  1142. #endif  /* C style interface */
  1143. HRESULT STDMETHODCALLTYPE IServiceSynchronizationConfig_ConfigureSynchronization_Proxy( 
  1144.     IServiceSynchronizationConfig * This,
  1145.     /* [in] */ CSC_SynchronizationConfig synchConfig);
  1146. void __RPC_STUB IServiceSynchronizationConfig_ConfigureSynchronization_Stub(
  1147.     IRpcStubBuffer *This,
  1148.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1149.     PRPC_MESSAGE _pRpcMessage,
  1150.     DWORD *_pdwStubPhase);
  1151. #endif  /* __IServiceSynchronizationConfig_INTERFACE_DEFINED__ */
  1152. #ifndef __IServiceTrackerConfig_INTERFACE_DEFINED__
  1153. #define __IServiceTrackerConfig_INTERFACE_DEFINED__
  1154. /* interface IServiceTrackerConfig */
  1155. /* [unique][helpstring][uuid][object] */ 
  1156. EXTERN_C const IID IID_IServiceTrackerConfig;
  1157. #if defined(__cplusplus) && !defined(CINTERFACE)
  1158.     
  1159.     MIDL_INTERFACE("6c3a3e1d-0ba6-4036-b76f-d0404db816c9")
  1160.     IServiceTrackerConfig : public IUnknown
  1161.     {
  1162.     public:
  1163.         virtual HRESULT STDMETHODCALLTYPE TrackerConfig( 
  1164.             /* [in] */ CSC_TrackerConfig trackerConfig,
  1165.             /* [string][in] */ LPCWSTR szTrackerAppName,
  1166.             /* [string][in] */ LPCWSTR szTrackerCtxName) = 0;
  1167.         
  1168.     };
  1169.     
  1170. #else  /* C style interface */
  1171.     typedef struct IServiceTrackerConfigVtbl
  1172.     {
  1173.         BEGIN_INTERFACE
  1174.         
  1175.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1176.             IServiceTrackerConfig * This,
  1177.             /* [in] */ REFIID riid,
  1178.             /* [iid_is][out] */ void **ppvObject);
  1179.         
  1180.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1181.             IServiceTrackerConfig * This);
  1182.         
  1183.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1184.             IServiceTrackerConfig * This);
  1185.         
  1186.         HRESULT ( STDMETHODCALLTYPE *TrackerConfig )( 
  1187.             IServiceTrackerConfig * This,
  1188.             /* [in] */ CSC_TrackerConfig trackerConfig,
  1189.             /* [string][in] */ LPCWSTR szTrackerAppName,
  1190.             /* [string][in] */ LPCWSTR szTrackerCtxName);
  1191.         
  1192.         END_INTERFACE
  1193.     } IServiceTrackerConfigVtbl;
  1194.     interface IServiceTrackerConfig
  1195.     {
  1196.         CONST_VTBL struct IServiceTrackerConfigVtbl *lpVtbl;
  1197.     };
  1198.     
  1199. #ifdef COBJMACROS
  1200. #define IServiceTrackerConfig_QueryInterface(This,riid,ppvObject)
  1201.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1202. #define IServiceTrackerConfig_AddRef(This)
  1203.     (This)->lpVtbl -> AddRef(This)
  1204. #define IServiceTrackerConfig_Release(This)
  1205.     (This)->lpVtbl -> Release(This)
  1206. #define IServiceTrackerConfig_TrackerConfig(This,trackerConfig,szTrackerAppName,szTrackerCtxName)
  1207.     (This)->lpVtbl -> TrackerConfig(This,trackerConfig,szTrackerAppName,szTrackerCtxName)
  1208. #endif /* COBJMACROS */
  1209. #endif  /* C style interface */
  1210. HRESULT STDMETHODCALLTYPE IServiceTrackerConfig_TrackerConfig_Proxy( 
  1211.     IServiceTrackerConfig * This,
  1212.     /* [in] */ CSC_TrackerConfig trackerConfig,
  1213.     /* [string][in] */ LPCWSTR szTrackerAppName,
  1214.     /* [string][in] */ LPCWSTR szTrackerCtxName);
  1215. void __RPC_STUB IServiceTrackerConfig_TrackerConfig_Stub(
  1216.     IRpcStubBuffer *This,
  1217.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1218.     PRPC_MESSAGE _pRpcMessage,
  1219.     DWORD *_pdwStubPhase);
  1220. #endif  /* __IServiceTrackerConfig_INTERFACE_DEFINED__ */
  1221. #ifndef __IServicePartitionConfig_INTERFACE_DEFINED__
  1222. #define __IServicePartitionConfig_INTERFACE_DEFINED__
  1223. /* interface IServicePartitionConfig */
  1224. /* [unique][helpstring][uuid][object] */ 
  1225. EXTERN_C const IID IID_IServicePartitionConfig;
  1226. #if defined(__cplusplus) && !defined(CINTERFACE)
  1227.     
  1228.     MIDL_INTERFACE("80182d03-5ea4-4831-ae97-55beffc2e590")
  1229.     IServicePartitionConfig : public IUnknown
  1230.     {
  1231.     public:
  1232.         virtual HRESULT STDMETHODCALLTYPE PartitionConfig( 
  1233.             /* [in] */ CSC_PartitionConfig partitionConfig) = 0;
  1234.         
  1235.         virtual HRESULT STDMETHODCALLTYPE PartitionID( 
  1236.             /* [in] */ REFGUID guidPartitionID) = 0;
  1237.         
  1238.     };
  1239.     
  1240. #else  /* C style interface */
  1241.     typedef struct IServicePartitionConfigVtbl
  1242.     {
  1243.         BEGIN_INTERFACE
  1244.         
  1245.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1246.             IServicePartitionConfig * This,
  1247.             /* [in] */ REFIID riid,
  1248.             /* [iid_is][out] */ void **ppvObject);
  1249.         
  1250.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1251.             IServicePartitionConfig * This);
  1252.         
  1253.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1254.             IServicePartitionConfig * This);
  1255.         
  1256.         HRESULT ( STDMETHODCALLTYPE *PartitionConfig )( 
  1257.             IServicePartitionConfig * This,
  1258.             /* [in] */ CSC_PartitionConfig partitionConfig);
  1259.         
  1260.         HRESULT ( STDMETHODCALLTYPE *PartitionID )( 
  1261.             IServicePartitionConfig * This,
  1262.             /* [in] */ REFGUID guidPartitionID);
  1263.         
  1264.         END_INTERFACE
  1265.     } IServicePartitionConfigVtbl;
  1266.     interface IServicePartitionConfig
  1267.     {
  1268.         CONST_VTBL struct IServicePartitionConfigVtbl *lpVtbl;
  1269.     };
  1270.     
  1271. #ifdef COBJMACROS
  1272. #define IServicePartitionConfig_QueryInterface(This,riid,ppvObject)
  1273.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1274. #define IServicePartitionConfig_AddRef(This)
  1275.     (This)->lpVtbl -> AddRef(This)
  1276. #define IServicePartitionConfig_Release(This)
  1277.     (This)->lpVtbl -> Release(This)
  1278. #define IServicePartitionConfig_PartitionConfig(This,partitionConfig)
  1279.     (This)->lpVtbl -> PartitionConfig(This,partitionConfig)
  1280. #define IServicePartitionConfig_PartitionID(This,guidPartitionID)
  1281.     (This)->lpVtbl -> PartitionID(This,guidPartitionID)
  1282. #endif /* COBJMACROS */
  1283. #endif  /* C style interface */
  1284. HRESULT STDMETHODCALLTYPE IServicePartitionConfig_PartitionConfig_Proxy( 
  1285.     IServicePartitionConfig * This,
  1286.     /* [in] */ CSC_PartitionConfig partitionConfig);
  1287. void __RPC_STUB IServicePartitionConfig_PartitionConfig_Stub(
  1288.     IRpcStubBuffer *This,
  1289.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1290.     PRPC_MESSAGE _pRpcMessage,
  1291.     DWORD *_pdwStubPhase);
  1292. HRESULT STDMETHODCALLTYPE IServicePartitionConfig_PartitionID_Proxy( 
  1293.     IServicePartitionConfig * This,
  1294.     /* [in] */ REFGUID guidPartitionID);
  1295. void __RPC_STUB IServicePartitionConfig_PartitionID_Stub(
  1296.     IRpcStubBuffer *This,
  1297.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1298.     PRPC_MESSAGE _pRpcMessage,
  1299.     DWORD *_pdwStubPhase);
  1300. #endif  /* __IServicePartitionConfig_INTERFACE_DEFINED__ */
  1301. #ifndef __IServiceCall_INTERFACE_DEFINED__
  1302. #define __IServiceCall_INTERFACE_DEFINED__
  1303. /* interface IServiceCall */
  1304. /* [unique][helpstring][uuid][object] */ 
  1305. EXTERN_C const IID IID_IServiceCall;
  1306. #if defined(__cplusplus) && !defined(CINTERFACE)
  1307.     
  1308.     MIDL_INTERFACE("BD3E2E12-42DD-40f4-A09A-95A50C58304B")
  1309.     IServiceCall : public IUnknown
  1310.     {
  1311.     public:
  1312.         virtual HRESULT STDMETHODCALLTYPE OnCall( void) = 0;
  1313.         
  1314.     };
  1315.     
  1316. #else  /* C style interface */
  1317.     typedef struct IServiceCallVtbl
  1318.     {
  1319.         BEGIN_INTERFACE
  1320.         
  1321.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1322.             IServiceCall * This,
  1323.             /* [in] */ REFIID riid,
  1324.             /* [iid_is][out] */ void **ppvObject);
  1325.         
  1326.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1327.             IServiceCall * This);
  1328.         
  1329.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1330.             IServiceCall * This);
  1331.         
  1332.         HRESULT ( STDMETHODCALLTYPE *OnCall )( 
  1333.             IServiceCall * This);
  1334.         
  1335.         END_INTERFACE
  1336.     } IServiceCallVtbl;
  1337.     interface IServiceCall
  1338.     {
  1339.         CONST_VTBL struct IServiceCallVtbl *lpVtbl;
  1340.     };
  1341.     
  1342. #ifdef COBJMACROS
  1343. #define IServiceCall_QueryInterface(This,riid,ppvObject)
  1344.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1345. #define IServiceCall_AddRef(This)
  1346.     (This)->lpVtbl -> AddRef(This)
  1347. #define IServiceCall_Release(This)
  1348.     (This)->lpVtbl -> Release(This)
  1349. #define IServiceCall_OnCall(This)
  1350.     (This)->lpVtbl -> OnCall(This)
  1351. #endif /* COBJMACROS */
  1352. #endif  /* C style interface */
  1353. HRESULT STDMETHODCALLTYPE IServiceCall_OnCall_Proxy( 
  1354.     IServiceCall * This);
  1355. void __RPC_STUB IServiceCall_OnCall_Stub(
  1356.     IRpcStubBuffer *This,
  1357.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1358.     PRPC_MESSAGE _pRpcMessage,
  1359.     DWORD *_pdwStubPhase);
  1360. #endif  /* __IServiceCall_INTERFACE_DEFINED__ */
  1361. #ifndef __IAsyncErrorNotify_INTERFACE_DEFINED__
  1362. #define __IAsyncErrorNotify_INTERFACE_DEFINED__
  1363. /* interface IAsyncErrorNotify */
  1364. /* [unique][helpstring][uuid][object] */ 
  1365. EXTERN_C const IID IID_IAsyncErrorNotify;
  1366. #if defined(__cplusplus) && !defined(CINTERFACE)
  1367.     
  1368.     MIDL_INTERFACE("FE6777FB-A674-4177-8F32-6D707E113484")
  1369.     IAsyncErrorNotify : public IUnknown
  1370.     {
  1371.     public:
  1372.         virtual HRESULT STDMETHODCALLTYPE OnError( 
  1373.             HRESULT hr) = 0;
  1374.         
  1375.     };
  1376.     
  1377. #else  /* C style interface */
  1378.     typedef struct IAsyncErrorNotifyVtbl
  1379.     {
  1380.         BEGIN_INTERFACE
  1381.         
  1382.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1383.             IAsyncErrorNotify * This,
  1384.             /* [in] */ REFIID riid,
  1385.             /* [iid_is][out] */ void **ppvObject);
  1386.         
  1387.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1388.             IAsyncErrorNotify * This);
  1389.         
  1390.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1391.             IAsyncErrorNotify * This);
  1392.         
  1393.         HRESULT ( STDMETHODCALLTYPE *OnError )( 
  1394.             IAsyncErrorNotify * This,
  1395.             HRESULT hr);
  1396.         
  1397.         END_INTERFACE
  1398.     } IAsyncErrorNotifyVtbl;
  1399.     interface IAsyncErrorNotify
  1400.     {
  1401.         CONST_VTBL struct IAsyncErrorNotifyVtbl *lpVtbl;
  1402.     };
  1403.     
  1404. #ifdef COBJMACROS
  1405. #define IAsyncErrorNotify_QueryInterface(This,riid,ppvObject)
  1406.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1407. #define IAsyncErrorNotify_AddRef(This)
  1408.     (This)->lpVtbl -> AddRef(This)
  1409. #define IAsyncErrorNotify_Release(This)
  1410.     (This)->lpVtbl -> Release(This)
  1411. #define IAsyncErrorNotify_OnError(This,hr)
  1412.     (This)->lpVtbl -> OnError(This,hr)
  1413. #endif /* COBJMACROS */
  1414. #endif  /* C style interface */
  1415. HRESULT STDMETHODCALLTYPE IAsyncErrorNotify_OnError_Proxy( 
  1416.     IAsyncErrorNotify * This,
  1417.     HRESULT hr);
  1418. void __RPC_STUB IAsyncErrorNotify_OnError_Stub(
  1419.     IRpcStubBuffer *This,
  1420.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1421.     PRPC_MESSAGE _pRpcMessage,
  1422.     DWORD *_pdwStubPhase);
  1423. #endif  /* __IAsyncErrorNotify_INTERFACE_DEFINED__ */
  1424. #ifndef __IServiceActivity_INTERFACE_DEFINED__
  1425. #define __IServiceActivity_INTERFACE_DEFINED__
  1426. /* interface IServiceActivity */
  1427. /* [unique][helpstring][uuid][object] */ 
  1428. EXTERN_C const IID IID_IServiceActivity;
  1429. #if defined(__cplusplus) && !defined(CINTERFACE)
  1430.     
  1431.     MIDL_INTERFACE("67532E0C-9E2F-4450-A354-035633944E17")
  1432.     IServiceActivity : public IUnknown
  1433.     {
  1434.     public:
  1435.         virtual HRESULT STDMETHODCALLTYPE SynchronousCall( 
  1436.             /* [in] */ IServiceCall *pIServiceCall) = 0;
  1437.         
  1438.         virtual HRESULT STDMETHODCALLTYPE AsynchronousCall( 
  1439.             /* [in] */ IServiceCall *pIServiceCall) = 0;
  1440.         
  1441.         virtual HRESULT STDMETHODCALLTYPE BindToCurrentThread( void) = 0;
  1442.         
  1443.         virtual HRESULT STDMETHODCALLTYPE UnbindFromThread( void) = 0;
  1444.         
  1445.     };
  1446.     
  1447. #else  /* C style interface */
  1448.     typedef struct IServiceActivityVtbl
  1449.     {
  1450.         BEGIN_INTERFACE
  1451.         
  1452.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1453.             IServiceActivity * This,
  1454.             /* [in] */ REFIID riid,
  1455.             /* [iid_is][out] */ void **ppvObject);
  1456.         
  1457.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1458.             IServiceActivity * This);
  1459.         
  1460.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1461.             IServiceActivity * This);
  1462.         
  1463.         HRESULT ( STDMETHODCALLTYPE *SynchronousCall )( 
  1464.             IServiceActivity * This,
  1465.             /* [in] */ IServiceCall *pIServiceCall);
  1466.         
  1467.         HRESULT ( STDMETHODCALLTYPE *AsynchronousCall )( 
  1468.             IServiceActivity * This,
  1469.             /* [in] */ IServiceCall *pIServiceCall);
  1470.         
  1471.         HRESULT ( STDMETHODCALLTYPE *BindToCurrentThread )( 
  1472.             IServiceActivity * This);
  1473.         
  1474.         HRESULT ( STDMETHODCALLTYPE *UnbindFromThread )( 
  1475.             IServiceActivity * This);
  1476.         
  1477.         END_INTERFACE
  1478.     } IServiceActivityVtbl;
  1479.     interface IServiceActivity
  1480.     {
  1481.         CONST_VTBL struct IServiceActivityVtbl *lpVtbl;
  1482.     };
  1483.     
  1484. #ifdef COBJMACROS
  1485. #define IServiceActivity_QueryInterface(This,riid,ppvObject)
  1486.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1487. #define IServiceActivity_AddRef(This)
  1488.     (This)->lpVtbl -> AddRef(This)
  1489. #define IServiceActivity_Release(This)
  1490.     (This)->lpVtbl -> Release(This)
  1491. #define IServiceActivity_SynchronousCall(This,pIServiceCall)
  1492.     (This)->lpVtbl -> SynchronousCall(This,pIServiceCall)
  1493. #define IServiceActivity_AsynchronousCall(This,pIServiceCall)
  1494.     (This)->lpVtbl -> AsynchronousCall(This,pIServiceCall)
  1495. #define IServiceActivity_BindToCurrentThread(This)
  1496.     (This)->lpVtbl -> BindToCurrentThread(This)
  1497. #define IServiceActivity_UnbindFromThread(This)
  1498.     (This)->lpVtbl -> UnbindFromThread(This)
  1499. #endif /* COBJMACROS */
  1500. #endif  /* C style interface */
  1501. HRESULT STDMETHODCALLTYPE IServiceActivity_SynchronousCall_Proxy( 
  1502.     IServiceActivity * This,
  1503.     /* [in] */ IServiceCall *pIServiceCall);
  1504. void __RPC_STUB IServiceActivity_SynchronousCall_Stub(
  1505.     IRpcStubBuffer *This,
  1506.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1507.     PRPC_MESSAGE _pRpcMessage,
  1508.     DWORD *_pdwStubPhase);
  1509. HRESULT STDMETHODCALLTYPE IServiceActivity_AsynchronousCall_Proxy( 
  1510.     IServiceActivity * This,
  1511.     /* [in] */ IServiceCall *pIServiceCall);
  1512. void __RPC_STUB IServiceActivity_AsynchronousCall_Stub(
  1513.     IRpcStubBuffer *This,
  1514.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1515.     PRPC_MESSAGE _pRpcMessage,
  1516.     DWORD *_pdwStubPhase);
  1517. HRESULT STDMETHODCALLTYPE IServiceActivity_BindToCurrentThread_Proxy( 
  1518.     IServiceActivity * This);
  1519. void __RPC_STUB IServiceActivity_BindToCurrentThread_Stub(
  1520.     IRpcStubBuffer *This,
  1521.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1522.     PRPC_MESSAGE _pRpcMessage,
  1523.     DWORD *_pdwStubPhase);
  1524. HRESULT STDMETHODCALLTYPE IServiceActivity_UnbindFromThread_Proxy( 
  1525.     IServiceActivity * This);
  1526. void __RPC_STUB IServiceActivity_UnbindFromThread_Stub(
  1527.     IRpcStubBuffer *This,
  1528.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1529.     PRPC_MESSAGE _pRpcMessage,
  1530.     DWORD *_pdwStubPhase);
  1531. #endif  /* __IServiceActivity_INTERFACE_DEFINED__ */
  1532. #ifndef __IThreadPoolKnobs_INTERFACE_DEFINED__
  1533. #define __IThreadPoolKnobs_INTERFACE_DEFINED__
  1534. /* interface IThreadPoolKnobs */
  1535. /* [unique][local][uuid][object] */ 
  1536. EXTERN_C const IID IID_IThreadPoolKnobs;
  1537. #if defined(__cplusplus) && !defined(CINTERFACE)
  1538.     
  1539.     MIDL_INTERFACE("51372af7-cae7-11cf-be81-00aa00a2fa25")
  1540.     IThreadPoolKnobs : public IUnknown
  1541.     {
  1542.     public:
  1543.         virtual HRESULT STDMETHODCALLTYPE GetMaxThreads( 
  1544.             long *plcMaxThreads) = 0;
  1545.         
  1546.         virtual HRESULT STDMETHODCALLTYPE GetCurrentThreads( 
  1547.             long *plcCurrentThreads) = 0;
  1548.         
  1549.         virtual HRESULT STDMETHODCALLTYPE SetMaxThreads( 
  1550.             long lcMaxThreads) = 0;
  1551.         
  1552.         virtual HRESULT STDMETHODCALLTYPE GetDeleteDelay( 
  1553.             long *pmsecDeleteDelay) = 0;
  1554.         
  1555.         virtual HRESULT STDMETHODCALLTYPE SetDeleteDelay( 
  1556.             long msecDeleteDelay) = 0;
  1557.         
  1558.         virtual HRESULT STDMETHODCALLTYPE GetMaxQueuedRequests( 
  1559.             long *plcMaxQueuedRequests) = 0;
  1560.         
  1561.         virtual HRESULT STDMETHODCALLTYPE GetCurrentQueuedRequests( 
  1562.             long *plcCurrentQueuedRequests) = 0;
  1563.         
  1564.         virtual HRESULT STDMETHODCALLTYPE SetMaxQueuedRequests( 
  1565.             long lcMaxQueuedRequests) = 0;
  1566.         
  1567.         virtual HRESULT STDMETHODCALLTYPE SetMinThreads( 
  1568.             long lcMinThreads) = 0;
  1569.         
  1570.         virtual HRESULT STDMETHODCALLTYPE SetQueueDepth( 
  1571.             long lcQueueDepth) = 0;
  1572.         
  1573.     };
  1574.     
  1575. #else  /* C style interface */
  1576.     typedef struct IThreadPoolKnobsVtbl
  1577.     {
  1578.         BEGIN_INTERFACE
  1579.         
  1580.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1581.             IThreadPoolKnobs * This,
  1582.             /* [in] */ REFIID riid,
  1583.             /* [iid_is][out] */ void **ppvObject);
  1584.         
  1585.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1586.             IThreadPoolKnobs * This);
  1587.         
  1588.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1589.             IThreadPoolKnobs * This);
  1590.         
  1591.         HRESULT ( STDMETHODCALLTYPE *GetMaxThreads )( 
  1592.             IThreadPoolKnobs * This,
  1593.             long *plcMaxThreads);
  1594.         
  1595.         HRESULT ( STDMETHODCALLTYPE *GetCurrentThreads )( 
  1596.             IThreadPoolKnobs * This,
  1597.             long *plcCurrentThreads);
  1598.         
  1599.         HRESULT ( STDMETHODCALLTYPE *SetMaxThreads )( 
  1600.             IThreadPoolKnobs * This,
  1601.             long lcMaxThreads);
  1602.         
  1603.         HRESULT ( STDMETHODCALLTYPE *GetDeleteDelay )( 
  1604.             IThreadPoolKnobs * This,
  1605.             long *pmsecDeleteDelay);
  1606.         
  1607.         HRESULT ( STDMETHODCALLTYPE *SetDeleteDelay )( 
  1608.             IThreadPoolKnobs * This,
  1609.             long msecDeleteDelay);
  1610.         
  1611.         HRESULT ( STDMETHODCALLTYPE *GetMaxQueuedRequests )( 
  1612.             IThreadPoolKnobs * This,
  1613.             long *plcMaxQueuedRequests);
  1614.         
  1615.         HRESULT ( STDMETHODCALLTYPE *GetCurrentQueuedRequests )( 
  1616.             IThreadPoolKnobs * This,
  1617.             long *plcCurrentQueuedRequests);
  1618.         
  1619.         HRESULT ( STDMETHODCALLTYPE *SetMaxQueuedRequests )( 
  1620.             IThreadPoolKnobs * This,
  1621.             long lcMaxQueuedRequests);
  1622.         
  1623.         HRESULT ( STDMETHODCALLTYPE *SetMinThreads )( 
  1624.             IThreadPoolKnobs * This,
  1625.             long lcMinThreads);
  1626.         
  1627.         HRESULT ( STDMETHODCALLTYPE *SetQueueDepth )( 
  1628.             IThreadPoolKnobs * This,
  1629.             long lcQueueDepth);
  1630.         
  1631.         END_INTERFACE
  1632.     } IThreadPoolKnobsVtbl;
  1633.     interface IThreadPoolKnobs
  1634.     {
  1635.         CONST_VTBL struct IThreadPoolKnobsVtbl *lpVtbl;
  1636.     };
  1637.     
  1638. #ifdef COBJMACROS
  1639. #define IThreadPoolKnobs_QueryInterface(This,riid,ppvObject)
  1640.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1641. #define IThreadPoolKnobs_AddRef(This)
  1642.     (This)->lpVtbl -> AddRef(This)
  1643. #define IThreadPoolKnobs_Release(This)
  1644.     (This)->lpVtbl -> Release(This)
  1645. #define IThreadPoolKnobs_GetMaxThreads(This,plcMaxThreads)
  1646.     (This)->lpVtbl -> GetMaxThreads(This,plcMaxThreads)
  1647. #define IThreadPoolKnobs_GetCurrentThreads(This,plcCurrentThreads)
  1648.     (This)->lpVtbl -> GetCurrentThreads(This,plcCurrentThreads)
  1649. #define IThreadPoolKnobs_SetMaxThreads(This,lcMaxThreads)
  1650.     (This)->lpVtbl -> SetMaxThreads(This,lcMaxThreads)
  1651. #define IThreadPoolKnobs_GetDeleteDelay(This,pmsecDeleteDelay)
  1652.     (This)->lpVtbl -> GetDeleteDelay(This,pmsecDeleteDelay)
  1653. #define IThreadPoolKnobs_SetDeleteDelay(This,msecDeleteDelay)
  1654.     (This)->lpVtbl -> SetDeleteDelay(This,msecDeleteDelay)
  1655. #define IThreadPoolKnobs_GetMaxQueuedRequests(This,plcMaxQueuedRequests)
  1656.     (This)->lpVtbl -> GetMaxQueuedRequests(This,plcMaxQueuedRequests)
  1657. #define IThreadPoolKnobs_GetCurrentQueuedRequests(This,plcCurrentQueuedRequests)
  1658.     (This)->lpVtbl -> GetCurrentQueuedRequests(This,plcCurrentQueuedRequests)
  1659. #define IThreadPoolKnobs_SetMaxQueuedRequests(This,lcMaxQueuedRequests)
  1660.     (This)->lpVtbl -> SetMaxQueuedRequests(This,lcMaxQueuedRequests)
  1661. #define IThreadPoolKnobs_SetMinThreads(This,lcMinThreads)
  1662.     (This)->lpVtbl -> SetMinThreads(This,lcMinThreads)
  1663. #define IThreadPoolKnobs_SetQueueDepth(This,lcQueueDepth)
  1664.     (This)->lpVtbl -> SetQueueDepth(This,lcQueueDepth)
  1665. #endif /* COBJMACROS */
  1666. #endif  /* C style interface */
  1667. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_GetMaxThreads_Proxy( 
  1668.     IThreadPoolKnobs * This,
  1669.     long *plcMaxThreads);
  1670. void __RPC_STUB IThreadPoolKnobs_GetMaxThreads_Stub(
  1671.     IRpcStubBuffer *This,
  1672.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1673.     PRPC_MESSAGE _pRpcMessage,
  1674.     DWORD *_pdwStubPhase);
  1675. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_GetCurrentThreads_Proxy( 
  1676.     IThreadPoolKnobs * This,
  1677.     long *plcCurrentThreads);
  1678. void __RPC_STUB IThreadPoolKnobs_GetCurrentThreads_Stub(
  1679.     IRpcStubBuffer *This,
  1680.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1681.     PRPC_MESSAGE _pRpcMessage,
  1682.     DWORD *_pdwStubPhase);
  1683. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_SetMaxThreads_Proxy( 
  1684.     IThreadPoolKnobs * This,
  1685.     long lcMaxThreads);
  1686. void __RPC_STUB IThreadPoolKnobs_SetMaxThreads_Stub(
  1687.     IRpcStubBuffer *This,
  1688.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1689.     PRPC_MESSAGE _pRpcMessage,
  1690.     DWORD *_pdwStubPhase);
  1691. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_GetDeleteDelay_Proxy( 
  1692.     IThreadPoolKnobs * This,
  1693.     long *pmsecDeleteDelay);
  1694. void __RPC_STUB IThreadPoolKnobs_GetDeleteDelay_Stub(
  1695.     IRpcStubBuffer *This,
  1696.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1697.     PRPC_MESSAGE _pRpcMessage,
  1698.     DWORD *_pdwStubPhase);
  1699. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_SetDeleteDelay_Proxy( 
  1700.     IThreadPoolKnobs * This,
  1701.     long msecDeleteDelay);
  1702. void __RPC_STUB IThreadPoolKnobs_SetDeleteDelay_Stub(
  1703.     IRpcStubBuffer *This,
  1704.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1705.     PRPC_MESSAGE _pRpcMessage,
  1706.     DWORD *_pdwStubPhase);
  1707. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_GetMaxQueuedRequests_Proxy( 
  1708.     IThreadPoolKnobs * This,
  1709.     long *plcMaxQueuedRequests);
  1710. void __RPC_STUB IThreadPoolKnobs_GetMaxQueuedRequests_Stub(
  1711.     IRpcStubBuffer *This,
  1712.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1713.     PRPC_MESSAGE _pRpcMessage,
  1714.     DWORD *_pdwStubPhase);
  1715. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_GetCurrentQueuedRequests_Proxy( 
  1716.     IThreadPoolKnobs * This,
  1717.     long *plcCurrentQueuedRequests);
  1718. void __RPC_STUB IThreadPoolKnobs_GetCurrentQueuedRequests_Stub(
  1719.     IRpcStubBuffer *This,
  1720.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1721.     PRPC_MESSAGE _pRpcMessage,
  1722.     DWORD *_pdwStubPhase);
  1723. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_SetMaxQueuedRequests_Proxy( 
  1724.     IThreadPoolKnobs * This,
  1725.     long lcMaxQueuedRequests);
  1726. void __RPC_STUB IThreadPoolKnobs_SetMaxQueuedRequests_Stub(
  1727.     IRpcStubBuffer *This,
  1728.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1729.     PRPC_MESSAGE _pRpcMessage,
  1730.     DWORD *_pdwStubPhase);
  1731. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_SetMinThreads_Proxy( 
  1732.     IThreadPoolKnobs * This,
  1733.     long lcMinThreads);
  1734. void __RPC_STUB IThreadPoolKnobs_SetMinThreads_Stub(
  1735.     IRpcStubBuffer *This,
  1736.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1737.     PRPC_MESSAGE _pRpcMessage,
  1738.     DWORD *_pdwStubPhase);
  1739. HRESULT STDMETHODCALLTYPE IThreadPoolKnobs_SetQueueDepth_Proxy( 
  1740.     IThreadPoolKnobs * This,
  1741.     long lcQueueDepth);
  1742. void __RPC_STUB IThreadPoolKnobs_SetQueueDepth_Stub(
  1743.     IRpcStubBuffer *This,
  1744.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1745.     PRPC_MESSAGE _pRpcMessage,
  1746.     DWORD *_pdwStubPhase);
  1747. #endif  /* __IThreadPoolKnobs_INTERFACE_DEFINED__ */
  1748. #ifndef __IComStaThreadPoolKnobs_INTERFACE_DEFINED__
  1749. #define __IComStaThreadPoolKnobs_INTERFACE_DEFINED__
  1750. /* interface IComStaThreadPoolKnobs */
  1751. /* [unique][uuid][object] */ 
  1752. EXTERN_C const IID IID_IComStaThreadPoolKnobs;
  1753. #if defined(__cplusplus) && !defined(CINTERFACE)
  1754.     
  1755.     MIDL_INTERFACE("324B64FA-33B6-11d2-98B7-00C04F8EE1C4")
  1756.     IComStaThreadPoolKnobs : public IUnknown
  1757.     {
  1758.     public:
  1759.         virtual HRESULT STDMETHODCALLTYPE SetMinThreadCount( 
  1760.             DWORD minThreads) = 0;
  1761.         
  1762.         virtual HRESULT STDMETHODCALLTYPE GetMinThreadCount( 
  1763.             /* [out] */ DWORD *minThreads) = 0;
  1764.         
  1765.         virtual HRESULT STDMETHODCALLTYPE SetMaxThreadCount( 
  1766.             DWORD maxThreads) = 0;
  1767.         
  1768.         virtual HRESULT STDMETHODCALLTYPE GetMaxThreadCount( 
  1769.             /* [out] */ DWORD *maxThreads) = 0;
  1770.         
  1771.         virtual HRESULT STDMETHODCALLTYPE SetActivityPerThread( 
  1772.             DWORD activitiesPerThread) = 0;
  1773.         
  1774.         virtual HRESULT STDMETHODCALLTYPE GetActivityPerThread( 
  1775.             /* [out] */ DWORD *activitiesPerThread) = 0;
  1776.         
  1777.         virtual HRESULT STDMETHODCALLTYPE SetActivityRatio( 
  1778.             DOUBLE activityRatio) = 0;
  1779.         
  1780.         virtual HRESULT STDMETHODCALLTYPE GetActivityRatio( 
  1781.             /* [out] */ DOUBLE *activityRatio) = 0;
  1782.         
  1783.         virtual HRESULT STDMETHODCALLTYPE GetThreadCount( 
  1784.             /* [out] */ DWORD *pdwThreads) = 0;
  1785.         
  1786.         virtual HRESULT STDMETHODCALLTYPE GetQueueDepth( 
  1787.             /* [out] */ DWORD *pdwQDepth) = 0;
  1788.         
  1789.         virtual HRESULT STDMETHODCALLTYPE SetQueueDepth( 
  1790.             /* [in] */ long dwQDepth) = 0;
  1791.         
  1792.     };
  1793.     
  1794. #else  /* C style interface */
  1795.     typedef struct IComStaThreadPoolKnobsVtbl
  1796.     {
  1797.         BEGIN_INTERFACE
  1798.         
  1799.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1800.             IComStaThreadPoolKnobs * This,
  1801.             /* [in] */ REFIID riid,
  1802.             /* [iid_is][out] */ void **ppvObject);
  1803.         
  1804.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1805.             IComStaThreadPoolKnobs * This);
  1806.         
  1807.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1808.             IComStaThreadPoolKnobs * This);
  1809.         
  1810.         HRESULT ( STDMETHODCALLTYPE *SetMinThreadCount )( 
  1811.             IComStaThreadPoolKnobs * This,
  1812.             DWORD minThreads);
  1813.         
  1814.         HRESULT ( STDMETHODCALLTYPE *GetMinThreadCount )( 
  1815.             IComStaThreadPoolKnobs * This,
  1816.             /* [out] */ DWORD *minThreads);
  1817.         
  1818.         HRESULT ( STDMETHODCALLTYPE *SetMaxThreadCount )( 
  1819.             IComStaThreadPoolKnobs * This,
  1820.             DWORD maxThreads);
  1821.         
  1822.         HRESULT ( STDMETHODCALLTYPE *GetMaxThreadCount )( 
  1823.             IComStaThreadPoolKnobs * This,
  1824.             /* [out] */ DWORD *maxThreads);
  1825.         
  1826.         HRESULT ( STDMETHODCALLTYPE *SetActivityPerThread )( 
  1827.             IComStaThreadPoolKnobs * This,
  1828.             DWORD activitiesPerThread);
  1829.         
  1830.         HRESULT ( STDMETHODCALLTYPE *GetActivityPerThread )( 
  1831.             IComStaThreadPoolKnobs * This,
  1832.             /* [out] */ DWORD *activitiesPerThread);
  1833.         
  1834.         HRESULT ( STDMETHODCALLTYPE *SetActivityRatio )( 
  1835.             IComStaThreadPoolKnobs * This,
  1836.             DOUBLE activityRatio);
  1837.         
  1838.         HRESULT ( STDMETHODCALLTYPE *GetActivityRatio )( 
  1839.             IComStaThreadPoolKnobs * This,
  1840.             /* [out] */ DOUBLE *activityRatio);
  1841.         
  1842.         HRESULT ( STDMETHODCALLTYPE *GetThreadCount )( 
  1843.             IComStaThreadPoolKnobs * This,
  1844.             /* [out] */ DWORD *pdwThreads);
  1845.         
  1846.         HRESULT ( STDMETHODCALLTYPE *GetQueueDepth )( 
  1847.             IComStaThreadPoolKnobs * This,
  1848.             /* [out] */ DWORD *pdwQDepth);
  1849.         
  1850.         HRESULT ( STDMETHODCALLTYPE *SetQueueDepth )( 
  1851.             IComStaThreadPoolKnobs * This,
  1852.             /* [in] */ long dwQDepth);
  1853.         
  1854.         END_INTERFACE
  1855.     } IComStaThreadPoolKnobsVtbl;
  1856.     interface IComStaThreadPoolKnobs
  1857.     {
  1858.         CONST_VTBL struct IComStaThreadPoolKnobsVtbl *lpVtbl;
  1859.     };
  1860.     
  1861. #ifdef COBJMACROS
  1862. #define IComStaThreadPoolKnobs_QueryInterface(This,riid,ppvObject)
  1863.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1864. #define IComStaThreadPoolKnobs_AddRef(This)
  1865.     (This)->lpVtbl -> AddRef(This)
  1866. #define IComStaThreadPoolKnobs_Release(This)
  1867.     (This)->lpVtbl -> Release(This)
  1868. #define IComStaThreadPoolKnobs_SetMinThreadCount(This,minThreads)
  1869.     (This)->lpVtbl -> SetMinThreadCount(This,minThreads)
  1870. #define IComStaThreadPoolKnobs_GetMinThreadCount(This,minThreads)
  1871.     (This)->lpVtbl -> GetMinThreadCount(This,minThreads)
  1872. #define IComStaThreadPoolKnobs_SetMaxThreadCount(This,maxThreads)
  1873.     (This)->lpVtbl -> SetMaxThreadCount(This,maxThreads)
  1874. #define IComStaThreadPoolKnobs_GetMaxThreadCount(This,maxThreads)
  1875.     (This)->lpVtbl -> GetMaxThreadCount(This,maxThreads)
  1876. #define IComStaThreadPoolKnobs_SetActivityPerThread(This,activitiesPerThread)
  1877.     (This)->lpVtbl -> SetActivityPerThread(This,activitiesPerThread)
  1878. #define IComStaThreadPoolKnobs_GetActivityPerThread(This,activitiesPerThread)
  1879.     (This)->lpVtbl -> GetActivityPerThread(This,activitiesPerThread)
  1880. #define IComStaThreadPoolKnobs_SetActivityRatio(This,activityRatio)
  1881.     (This)->lpVtbl -> SetActivityRatio(This,activityRatio)
  1882. #define IComStaThreadPoolKnobs_GetActivityRatio(This,activityRatio)
  1883.     (This)->lpVtbl -> GetActivityRatio(This,activityRatio)
  1884. #define IComStaThreadPoolKnobs_GetThreadCount(This,pdwThreads)
  1885.     (This)->lpVtbl -> GetThreadCount(This,pdwThreads)
  1886. #define IComStaThreadPoolKnobs_GetQueueDepth(This,pdwQDepth)
  1887.     (This)->lpVtbl -> GetQueueDepth(This,pdwQDepth)
  1888. #define IComStaThreadPoolKnobs_SetQueueDepth(This,dwQDepth)
  1889.     (This)->lpVtbl -> SetQueueDepth(This,dwQDepth)
  1890. #endif /* COBJMACROS */
  1891. #endif  /* C style interface */
  1892. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_SetMinThreadCount_Proxy( 
  1893.     IComStaThreadPoolKnobs * This,
  1894.     DWORD minThreads);
  1895. void __RPC_STUB IComStaThreadPoolKnobs_SetMinThreadCount_Stub(
  1896.     IRpcStubBuffer *This,
  1897.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1898.     PRPC_MESSAGE _pRpcMessage,
  1899.     DWORD *_pdwStubPhase);
  1900. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_GetMinThreadCount_Proxy( 
  1901.     IComStaThreadPoolKnobs * This,
  1902.     /* [out] */ DWORD *minThreads);
  1903. void __RPC_STUB IComStaThreadPoolKnobs_GetMinThreadCount_Stub(
  1904.     IRpcStubBuffer *This,
  1905.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1906.     PRPC_MESSAGE _pRpcMessage,
  1907.     DWORD *_pdwStubPhase);
  1908. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_SetMaxThreadCount_Proxy( 
  1909.     IComStaThreadPoolKnobs * This,
  1910.     DWORD maxThreads);
  1911. void __RPC_STUB IComStaThreadPoolKnobs_SetMaxThreadCount_Stub(
  1912.     IRpcStubBuffer *This,
  1913.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1914.     PRPC_MESSAGE _pRpcMessage,
  1915.     DWORD *_pdwStubPhase);
  1916. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_GetMaxThreadCount_Proxy( 
  1917.     IComStaThreadPoolKnobs * This,
  1918.     /* [out] */ DWORD *maxThreads);
  1919. void __RPC_STUB IComStaThreadPoolKnobs_GetMaxThreadCount_Stub(
  1920.     IRpcStubBuffer *This,
  1921.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1922.     PRPC_MESSAGE _pRpcMessage,
  1923.     DWORD *_pdwStubPhase);
  1924. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_SetActivityPerThread_Proxy( 
  1925.     IComStaThreadPoolKnobs * This,
  1926.     DWORD activitiesPerThread);
  1927. void __RPC_STUB IComStaThreadPoolKnobs_SetActivityPerThread_Stub(
  1928.     IRpcStubBuffer *This,
  1929.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1930.     PRPC_MESSAGE _pRpcMessage,
  1931.     DWORD *_pdwStubPhase);
  1932. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_GetActivityPerThread_Proxy( 
  1933.     IComStaThreadPoolKnobs * This,
  1934.     /* [out] */ DWORD *activitiesPerThread);
  1935. void __RPC_STUB IComStaThreadPoolKnobs_GetActivityPerThread_Stub(
  1936.     IRpcStubBuffer *This,
  1937.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1938.     PRPC_MESSAGE _pRpcMessage,
  1939.     DWORD *_pdwStubPhase);
  1940. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_SetActivityRatio_Proxy( 
  1941.     IComStaThreadPoolKnobs * This,
  1942.     DOUBLE activityRatio);
  1943. void __RPC_STUB IComStaThreadPoolKnobs_SetActivityRatio_Stub(
  1944.     IRpcStubBuffer *This,
  1945.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1946.     PRPC_MESSAGE _pRpcMessage,
  1947.     DWORD *_pdwStubPhase);
  1948. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_GetActivityRatio_Proxy( 
  1949.     IComStaThreadPoolKnobs * This,
  1950.     /* [out] */ DOUBLE *activityRatio);
  1951. void __RPC_STUB IComStaThreadPoolKnobs_GetActivityRatio_Stub(
  1952.     IRpcStubBuffer *This,
  1953.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1954.     PRPC_MESSAGE _pRpcMessage,
  1955.     DWORD *_pdwStubPhase);
  1956. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_GetThreadCount_Proxy( 
  1957.     IComStaThreadPoolKnobs * This,
  1958.     /* [out] */ DWORD *pdwThreads);
  1959. void __RPC_STUB IComStaThreadPoolKnobs_GetThreadCount_Stub(
  1960.     IRpcStubBuffer *This,
  1961.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1962.     PRPC_MESSAGE _pRpcMessage,
  1963.     DWORD *_pdwStubPhase);
  1964. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_GetQueueDepth_Proxy( 
  1965.     IComStaThreadPoolKnobs * This,
  1966.     /* [out] */ DWORD *pdwQDepth);
  1967. void __RPC_STUB IComStaThreadPoolKnobs_GetQueueDepth_Stub(
  1968.     IRpcStubBuffer *This,
  1969.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1970.     PRPC_MESSAGE _pRpcMessage,
  1971.     DWORD *_pdwStubPhase);
  1972. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs_SetQueueDepth_Proxy( 
  1973.     IComStaThreadPoolKnobs * This,
  1974.     /* [in] */ long dwQDepth);
  1975. void __RPC_STUB IComStaThreadPoolKnobs_SetQueueDepth_Stub(
  1976.     IRpcStubBuffer *This,
  1977.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1978.     PRPC_MESSAGE _pRpcMessage,
  1979.     DWORD *_pdwStubPhase);
  1980. #endif  /* __IComStaThreadPoolKnobs_INTERFACE_DEFINED__ */
  1981. #ifndef __IComMtaThreadPoolKnobs_INTERFACE_DEFINED__
  1982. #define __IComMtaThreadPoolKnobs_INTERFACE_DEFINED__
  1983. /* interface IComMtaThreadPoolKnobs */
  1984. /* [unique][uuid][object] */ 
  1985. EXTERN_C const IID IID_IComMtaThreadPoolKnobs;
  1986. #if defined(__cplusplus) && !defined(CINTERFACE)
  1987.     
  1988.     MIDL_INTERFACE("F9A76D2E-76A5-43eb-A0C4-49BEC8E48480")
  1989.     IComMtaThreadPoolKnobs : public IUnknown
  1990.     {
  1991.     public:
  1992.         virtual HRESULT STDMETHODCALLTYPE MTASetMaxThreadCount( 
  1993.             DWORD dwMaxThreads) = 0;
  1994.         
  1995.         virtual HRESULT STDMETHODCALLTYPE MTAGetMaxThreadCount( 
  1996.             /* [out] */ DWORD *pdwMaxThreads) = 0;
  1997.         
  1998.         virtual HRESULT STDMETHODCALLTYPE MTASetThrottleValue( 
  1999.             DWORD dwThrottle) = 0;
  2000.         
  2001.         virtual HRESULT STDMETHODCALLTYPE MTAGetThrottleValue( 
  2002.             /* [out] */ DWORD *pdwThrottle) = 0;
  2003.         
  2004.     };
  2005.     
  2006. #else  /* C style interface */
  2007.     typedef struct IComMtaThreadPoolKnobsVtbl
  2008.     {
  2009.         BEGIN_INTERFACE
  2010.         
  2011.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2012.             IComMtaThreadPoolKnobs * This,
  2013.             /* [in] */ REFIID riid,
  2014.             /* [iid_is][out] */ void **ppvObject);
  2015.         
  2016.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2017.             IComMtaThreadPoolKnobs * This);
  2018.         
  2019.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2020.             IComMtaThreadPoolKnobs * This);
  2021.         
  2022.         HRESULT ( STDMETHODCALLTYPE *MTASetMaxThreadCount )( 
  2023.             IComMtaThreadPoolKnobs * This,
  2024.             DWORD dwMaxThreads);
  2025.         
  2026.         HRESULT ( STDMETHODCALLTYPE *MTAGetMaxThreadCount )( 
  2027.             IComMtaThreadPoolKnobs * This,
  2028.             /* [out] */ DWORD *pdwMaxThreads);
  2029.         
  2030.         HRESULT ( STDMETHODCALLTYPE *MTASetThrottleValue )( 
  2031.             IComMtaThreadPoolKnobs * This,
  2032.             DWORD dwThrottle);
  2033.         
  2034.         HRESULT ( STDMETHODCALLTYPE *MTAGetThrottleValue )( 
  2035.             IComMtaThreadPoolKnobs * This,
  2036.             /* [out] */ DWORD *pdwThrottle);
  2037.         
  2038.         END_INTERFACE
  2039.     } IComMtaThreadPoolKnobsVtbl;
  2040.     interface IComMtaThreadPoolKnobs
  2041.     {
  2042.         CONST_VTBL struct IComMtaThreadPoolKnobsVtbl *lpVtbl;
  2043.     };
  2044.     
  2045. #ifdef COBJMACROS
  2046. #define IComMtaThreadPoolKnobs_QueryInterface(This,riid,ppvObject)
  2047.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2048. #define IComMtaThreadPoolKnobs_AddRef(This)
  2049.     (This)->lpVtbl -> AddRef(This)
  2050. #define IComMtaThreadPoolKnobs_Release(This)
  2051.     (This)->lpVtbl -> Release(This)
  2052. #define IComMtaThreadPoolKnobs_MTASetMaxThreadCount(This,dwMaxThreads)
  2053.     (This)->lpVtbl -> MTASetMaxThreadCount(This,dwMaxThreads)
  2054. #define IComMtaThreadPoolKnobs_MTAGetMaxThreadCount(This,pdwMaxThreads)
  2055.     (This)->lpVtbl -> MTAGetMaxThreadCount(This,pdwMaxThreads)
  2056. #define IComMtaThreadPoolKnobs_MTASetThrottleValue(This,dwThrottle)
  2057.     (This)->lpVtbl -> MTASetThrottleValue(This,dwThrottle)
  2058. #define IComMtaThreadPoolKnobs_MTAGetThrottleValue(This,pdwThrottle)
  2059.     (This)->lpVtbl -> MTAGetThrottleValue(This,pdwThrottle)
  2060. #endif /* COBJMACROS */
  2061. #endif  /* C style interface */
  2062. HRESULT STDMETHODCALLTYPE IComMtaThreadPoolKnobs_MTASetMaxThreadCount_Proxy( 
  2063.     IComMtaThreadPoolKnobs * This,
  2064.     DWORD dwMaxThreads);
  2065. void __RPC_STUB IComMtaThreadPoolKnobs_MTASetMaxThreadCount_Stub(
  2066.     IRpcStubBuffer *This,
  2067.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2068.     PRPC_MESSAGE _pRpcMessage,
  2069.     DWORD *_pdwStubPhase);
  2070. HRESULT STDMETHODCALLTYPE IComMtaThreadPoolKnobs_MTAGetMaxThreadCount_Proxy( 
  2071.     IComMtaThreadPoolKnobs * This,
  2072.     /* [out] */ DWORD *pdwMaxThreads);
  2073. void __RPC_STUB IComMtaThreadPoolKnobs_MTAGetMaxThreadCount_Stub(
  2074.     IRpcStubBuffer *This,
  2075.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2076.     PRPC_MESSAGE _pRpcMessage,
  2077.     DWORD *_pdwStubPhase);
  2078. HRESULT STDMETHODCALLTYPE IComMtaThreadPoolKnobs_MTASetThrottleValue_Proxy( 
  2079.     IComMtaThreadPoolKnobs * This,
  2080.     DWORD dwThrottle);
  2081. void __RPC_STUB IComMtaThreadPoolKnobs_MTASetThrottleValue_Stub(
  2082.     IRpcStubBuffer *This,
  2083.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2084.     PRPC_MESSAGE _pRpcMessage,
  2085.     DWORD *_pdwStubPhase);
  2086. HRESULT STDMETHODCALLTYPE IComMtaThreadPoolKnobs_MTAGetThrottleValue_Proxy( 
  2087.     IComMtaThreadPoolKnobs * This,
  2088.     /* [out] */ DWORD *pdwThrottle);
  2089. void __RPC_STUB IComMtaThreadPoolKnobs_MTAGetThrottleValue_Stub(
  2090.     IRpcStubBuffer *This,
  2091.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2092.     PRPC_MESSAGE _pRpcMessage,
  2093.     DWORD *_pdwStubPhase);
  2094. #endif  /* __IComMtaThreadPoolKnobs_INTERFACE_DEFINED__ */
  2095. #ifndef __IComStaThreadPoolKnobs2_INTERFACE_DEFINED__
  2096. #define __IComStaThreadPoolKnobs2_INTERFACE_DEFINED__
  2097. /* interface IComStaThreadPoolKnobs2 */
  2098. /* [unique][uuid][object] */ 
  2099. EXTERN_C const IID IID_IComStaThreadPoolKnobs2;
  2100. #if defined(__cplusplus) && !defined(CINTERFACE)
  2101.     
  2102.     MIDL_INTERFACE("73707523-FF9A-4974-BF84-2108DC213740")
  2103.     IComStaThreadPoolKnobs2 : public IComStaThreadPoolKnobs
  2104.     {
  2105.     public:
  2106.         virtual HRESULT STDMETHODCALLTYPE GetMaxCPULoad( 
  2107.             /* [out] */ DWORD *pdwLoad) = 0;
  2108.         
  2109.         virtual HRESULT STDMETHODCALLTYPE SetMaxCPULoad( 
  2110.             long pdwLoad) = 0;
  2111.         
  2112.         virtual HRESULT STDMETHODCALLTYPE GetCPUMetricEnabled( 
  2113.             /* [out] */ BOOL *pbMetricEnabled) = 0;
  2114.         
  2115.         virtual HRESULT STDMETHODCALLTYPE SetCPUMetricEnabled( 
  2116.             BOOL bMetricEnabled) = 0;
  2117.         
  2118.         virtual HRESULT STDMETHODCALLTYPE GetCreateThreadsAggressively( 
  2119.             /* [out] */ BOOL *pbMetricEnabled) = 0;
  2120.         
  2121.         virtual HRESULT STDMETHODCALLTYPE SetCreateThreadsAggressively( 
  2122.             BOOL bMetricEnabled) = 0;
  2123.         
  2124.         virtual HRESULT STDMETHODCALLTYPE GetMaxCSR( 
  2125.             /* [out] */ DWORD *pdwCSR) = 0;
  2126.         
  2127.         virtual HRESULT STDMETHODCALLTYPE SetMaxCSR( 
  2128.             long dwCSR) = 0;
  2129.         
  2130.         virtual HRESULT STDMETHODCALLTYPE GetWaitTimeForThreadCleanup( 
  2131.             /* [out] */ DWORD *pdwThreadCleanupWaitTime) = 0;
  2132.         
  2133.         virtual HRESULT STDMETHODCALLTYPE SetWaitTimeForThreadCleanup( 
  2134.             long dwThreadCleanupWaitTime) = 0;
  2135.         
  2136.     };
  2137.     
  2138. #else  /* C style interface */
  2139.     typedef struct IComStaThreadPoolKnobs2Vtbl
  2140.     {
  2141.         BEGIN_INTERFACE
  2142.         
  2143.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2144.             IComStaThreadPoolKnobs2 * This,
  2145.             /* [in] */ REFIID riid,
  2146.             /* [iid_is][out] */ void **ppvObject);
  2147.         
  2148.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2149.             IComStaThreadPoolKnobs2 * This);
  2150.         
  2151.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2152.             IComStaThreadPoolKnobs2 * This);
  2153.         
  2154.         HRESULT ( STDMETHODCALLTYPE *SetMinThreadCount )( 
  2155.             IComStaThreadPoolKnobs2 * This,
  2156.             DWORD minThreads);
  2157.         
  2158.         HRESULT ( STDMETHODCALLTYPE *GetMinThreadCount )( 
  2159.             IComStaThreadPoolKnobs2 * This,
  2160.             /* [out] */ DWORD *minThreads);
  2161.         
  2162.         HRESULT ( STDMETHODCALLTYPE *SetMaxThreadCount )( 
  2163.             IComStaThreadPoolKnobs2 * This,
  2164.             DWORD maxThreads);
  2165.         
  2166.         HRESULT ( STDMETHODCALLTYPE *GetMaxThreadCount )( 
  2167.             IComStaThreadPoolKnobs2 * This,
  2168.             /* [out] */ DWORD *maxThreads);
  2169.         
  2170.         HRESULT ( STDMETHODCALLTYPE *SetActivityPerThread )( 
  2171.             IComStaThreadPoolKnobs2 * This,
  2172.             DWORD activitiesPerThread);
  2173.         
  2174.         HRESULT ( STDMETHODCALLTYPE *GetActivityPerThread )( 
  2175.             IComStaThreadPoolKnobs2 * This,
  2176.             /* [out] */ DWORD *activitiesPerThread);
  2177.         
  2178.         HRESULT ( STDMETHODCALLTYPE *SetActivityRatio )( 
  2179.             IComStaThreadPoolKnobs2 * This,
  2180.             DOUBLE activityRatio);
  2181.         
  2182.         HRESULT ( STDMETHODCALLTYPE *GetActivityRatio )( 
  2183.             IComStaThreadPoolKnobs2 * This,
  2184.             /* [out] */ DOUBLE *activityRatio);
  2185.         
  2186.         HRESULT ( STDMETHODCALLTYPE *GetThreadCount )( 
  2187.             IComStaThreadPoolKnobs2 * This,
  2188.             /* [out] */ DWORD *pdwThreads);
  2189.         
  2190.         HRESULT ( STDMETHODCALLTYPE *GetQueueDepth )( 
  2191.             IComStaThreadPoolKnobs2 * This,
  2192.             /* [out] */ DWORD *pdwQDepth);
  2193.         
  2194.         HRESULT ( STDMETHODCALLTYPE *SetQueueDepth )( 
  2195.             IComStaThreadPoolKnobs2 * This,
  2196.             /* [in] */ long dwQDepth);
  2197.         
  2198.         HRESULT ( STDMETHODCALLTYPE *GetMaxCPULoad )( 
  2199.             IComStaThreadPoolKnobs2 * This,
  2200.             /* [out] */ DWORD *pdwLoad);
  2201.         
  2202.         HRESULT ( STDMETHODCALLTYPE *SetMaxCPULoad )( 
  2203.             IComStaThreadPoolKnobs2 * This,
  2204.             long pdwLoad);
  2205.         
  2206.         HRESULT ( STDMETHODCALLTYPE *GetCPUMetricEnabled )( 
  2207.             IComStaThreadPoolKnobs2 * This,
  2208.             /* [out] */ BOOL *pbMetricEnabled);
  2209.         
  2210.         HRESULT ( STDMETHODCALLTYPE *SetCPUMetricEnabled )( 
  2211.             IComStaThreadPoolKnobs2 * This,
  2212.             BOOL bMetricEnabled);
  2213.         
  2214.         HRESULT ( STDMETHODCALLTYPE *GetCreateThreadsAggressively )( 
  2215.             IComStaThreadPoolKnobs2 * This,
  2216.             /* [out] */ BOOL *pbMetricEnabled);
  2217.         
  2218.         HRESULT ( STDMETHODCALLTYPE *SetCreateThreadsAggressively )( 
  2219.             IComStaThreadPoolKnobs2 * This,
  2220.             BOOL bMetricEnabled);
  2221.         
  2222.         HRESULT ( STDMETHODCALLTYPE *GetMaxCSR )( 
  2223.             IComStaThreadPoolKnobs2 * This,
  2224.             /* [out] */ DWORD *pdwCSR);
  2225.         
  2226.         HRESULT ( STDMETHODCALLTYPE *SetMaxCSR )( 
  2227.             IComStaThreadPoolKnobs2 * This,
  2228.             long dwCSR);
  2229.         
  2230.         HRESULT ( STDMETHODCALLTYPE *GetWaitTimeForThreadCleanup )( 
  2231.             IComStaThreadPoolKnobs2 * This,
  2232.             /* [out] */ DWORD *pdwThreadCleanupWaitTime);
  2233.         
  2234.         HRESULT ( STDMETHODCALLTYPE *SetWaitTimeForThreadCleanup )( 
  2235.             IComStaThreadPoolKnobs2 * This,
  2236.             long dwThreadCleanupWaitTime);
  2237.         
  2238.         END_INTERFACE
  2239.     } IComStaThreadPoolKnobs2Vtbl;
  2240.     interface IComStaThreadPoolKnobs2
  2241.     {
  2242.         CONST_VTBL struct IComStaThreadPoolKnobs2Vtbl *lpVtbl;
  2243.     };
  2244.     
  2245. #ifdef COBJMACROS
  2246. #define IComStaThreadPoolKnobs2_QueryInterface(This,riid,ppvObject)
  2247.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2248. #define IComStaThreadPoolKnobs2_AddRef(This)
  2249.     (This)->lpVtbl -> AddRef(This)
  2250. #define IComStaThreadPoolKnobs2_Release(This)
  2251.     (This)->lpVtbl -> Release(This)
  2252. #define IComStaThreadPoolKnobs2_SetMinThreadCount(This,minThreads)
  2253.     (This)->lpVtbl -> SetMinThreadCount(This,minThreads)
  2254. #define IComStaThreadPoolKnobs2_GetMinThreadCount(This,minThreads)
  2255.     (This)->lpVtbl -> GetMinThreadCount(This,minThreads)
  2256. #define IComStaThreadPoolKnobs2_SetMaxThreadCount(This,maxThreads)
  2257.     (This)->lpVtbl -> SetMaxThreadCount(This,maxThreads)
  2258. #define IComStaThreadPoolKnobs2_GetMaxThreadCount(This,maxThreads)
  2259.     (This)->lpVtbl -> GetMaxThreadCount(This,maxThreads)
  2260. #define IComStaThreadPoolKnobs2_SetActivityPerThread(This,activitiesPerThread)
  2261.     (This)->lpVtbl -> SetActivityPerThread(This,activitiesPerThread)
  2262. #define IComStaThreadPoolKnobs2_GetActivityPerThread(This,activitiesPerThread)
  2263.     (This)->lpVtbl -> GetActivityPerThread(This,activitiesPerThread)
  2264. #define IComStaThreadPoolKnobs2_SetActivityRatio(This,activityRatio)
  2265.     (This)->lpVtbl -> SetActivityRatio(This,activityRatio)
  2266. #define IComStaThreadPoolKnobs2_GetActivityRatio(This,activityRatio)
  2267.     (This)->lpVtbl -> GetActivityRatio(This,activityRatio)
  2268. #define IComStaThreadPoolKnobs2_GetThreadCount(This,pdwThreads)
  2269.     (This)->lpVtbl -> GetThreadCount(This,pdwThreads)
  2270. #define IComStaThreadPoolKnobs2_GetQueueDepth(This,pdwQDepth)
  2271.     (This)->lpVtbl -> GetQueueDepth(This,pdwQDepth)
  2272. #define IComStaThreadPoolKnobs2_SetQueueDepth(This,dwQDepth)
  2273.     (This)->lpVtbl -> SetQueueDepth(This,dwQDepth)
  2274. #define IComStaThreadPoolKnobs2_GetMaxCPULoad(This,pdwLoad)
  2275.     (This)->lpVtbl -> GetMaxCPULoad(This,pdwLoad)
  2276. #define IComStaThreadPoolKnobs2_SetMaxCPULoad(This,pdwLoad)
  2277.     (This)->lpVtbl -> SetMaxCPULoad(This,pdwLoad)
  2278. #define IComStaThreadPoolKnobs2_GetCPUMetricEnabled(This,pbMetricEnabled)
  2279.     (This)->lpVtbl -> GetCPUMetricEnabled(This,pbMetricEnabled)
  2280. #define IComStaThreadPoolKnobs2_SetCPUMetricEnabled(This,bMetricEnabled)
  2281.     (This)->lpVtbl -> SetCPUMetricEnabled(This,bMetricEnabled)
  2282. #define IComStaThreadPoolKnobs2_GetCreateThreadsAggressively(This,pbMetricEnabled)
  2283.     (This)->lpVtbl -> GetCreateThreadsAggressively(This,pbMetricEnabled)
  2284. #define IComStaThreadPoolKnobs2_SetCreateThreadsAggressively(This,bMetricEnabled)
  2285.     (This)->lpVtbl -> SetCreateThreadsAggressively(This,bMetricEnabled)
  2286. #define IComStaThreadPoolKnobs2_GetMaxCSR(This,pdwCSR)
  2287.     (This)->lpVtbl -> GetMaxCSR(This,pdwCSR)
  2288. #define IComStaThreadPoolKnobs2_SetMaxCSR(This,dwCSR)
  2289.     (This)->lpVtbl -> SetMaxCSR(This,dwCSR)
  2290. #define IComStaThreadPoolKnobs2_GetWaitTimeForThreadCleanup(This,pdwThreadCleanupWaitTime)
  2291.     (This)->lpVtbl -> GetWaitTimeForThreadCleanup(This,pdwThreadCleanupWaitTime)
  2292. #define IComStaThreadPoolKnobs2_SetWaitTimeForThreadCleanup(This,dwThreadCleanupWaitTime)
  2293.     (This)->lpVtbl -> SetWaitTimeForThreadCleanup(This,dwThreadCleanupWaitTime)
  2294. #endif /* COBJMACROS */
  2295. #endif  /* C style interface */
  2296. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_GetMaxCPULoad_Proxy( 
  2297.     IComStaThreadPoolKnobs2 * This,
  2298.     /* [out] */ DWORD *pdwLoad);
  2299. void __RPC_STUB IComStaThreadPoolKnobs2_GetMaxCPULoad_Stub(
  2300.     IRpcStubBuffer *This,
  2301.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2302.     PRPC_MESSAGE _pRpcMessage,
  2303.     DWORD *_pdwStubPhase);
  2304. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_SetMaxCPULoad_Proxy( 
  2305.     IComStaThreadPoolKnobs2 * This,
  2306.     long pdwLoad);
  2307. void __RPC_STUB IComStaThreadPoolKnobs2_SetMaxCPULoad_Stub(
  2308.     IRpcStubBuffer *This,
  2309.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2310.     PRPC_MESSAGE _pRpcMessage,
  2311.     DWORD *_pdwStubPhase);
  2312. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_GetCPUMetricEnabled_Proxy( 
  2313.     IComStaThreadPoolKnobs2 * This,
  2314.     /* [out] */ BOOL *pbMetricEnabled);
  2315. void __RPC_STUB IComStaThreadPoolKnobs2_GetCPUMetricEnabled_Stub(
  2316.     IRpcStubBuffer *This,
  2317.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2318.     PRPC_MESSAGE _pRpcMessage,
  2319.     DWORD *_pdwStubPhase);
  2320. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_SetCPUMetricEnabled_Proxy( 
  2321.     IComStaThreadPoolKnobs2 * This,
  2322.     BOOL bMetricEnabled);
  2323. void __RPC_STUB IComStaThreadPoolKnobs2_SetCPUMetricEnabled_Stub(
  2324.     IRpcStubBuffer *This,
  2325.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2326.     PRPC_MESSAGE _pRpcMessage,
  2327.     DWORD *_pdwStubPhase);
  2328. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_GetCreateThreadsAggressively_Proxy( 
  2329.     IComStaThreadPoolKnobs2 * This,
  2330.     /* [out] */ BOOL *pbMetricEnabled);
  2331. void __RPC_STUB IComStaThreadPoolKnobs2_GetCreateThreadsAggressively_Stub(
  2332.     IRpcStubBuffer *This,
  2333.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2334.     PRPC_MESSAGE _pRpcMessage,
  2335.     DWORD *_pdwStubPhase);
  2336. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_SetCreateThreadsAggressively_Proxy( 
  2337.     IComStaThreadPoolKnobs2 * This,
  2338.     BOOL bMetricEnabled);
  2339. void __RPC_STUB IComStaThreadPoolKnobs2_SetCreateThreadsAggressively_Stub(
  2340.     IRpcStubBuffer *This,
  2341.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2342.     PRPC_MESSAGE _pRpcMessage,
  2343.     DWORD *_pdwStubPhase);
  2344. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_GetMaxCSR_Proxy( 
  2345.     IComStaThreadPoolKnobs2 * This,
  2346.     /* [out] */ DWORD *pdwCSR);
  2347. void __RPC_STUB IComStaThreadPoolKnobs2_GetMaxCSR_Stub(
  2348.     IRpcStubBuffer *This,
  2349.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2350.     PRPC_MESSAGE _pRpcMessage,
  2351.     DWORD *_pdwStubPhase);
  2352. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_SetMaxCSR_Proxy( 
  2353.     IComStaThreadPoolKnobs2 * This,
  2354.     long dwCSR);
  2355. void __RPC_STUB IComStaThreadPoolKnobs2_SetMaxCSR_Stub(
  2356.     IRpcStubBuffer *This,
  2357.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2358.     PRPC_MESSAGE _pRpcMessage,
  2359.     DWORD *_pdwStubPhase);
  2360. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_GetWaitTimeForThreadCleanup_Proxy( 
  2361.     IComStaThreadPoolKnobs2 * This,
  2362.     /* [out] */ DWORD *pdwThreadCleanupWaitTime);
  2363. void __RPC_STUB IComStaThreadPoolKnobs2_GetWaitTimeForThreadCleanup_Stub(
  2364.     IRpcStubBuffer *This,
  2365.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2366.     PRPC_MESSAGE _pRpcMessage,
  2367.     DWORD *_pdwStubPhase);
  2368. HRESULT STDMETHODCALLTYPE IComStaThreadPoolKnobs2_SetWaitTimeForThreadCleanup_Proxy( 
  2369.     IComStaThreadPoolKnobs2 * This,
  2370.     long dwThreadCleanupWaitTime);
  2371. void __RPC_STUB IComStaThreadPoolKnobs2_SetWaitTimeForThreadCleanup_Stub(
  2372.     IRpcStubBuffer *This,
  2373.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2374.     PRPC_MESSAGE _pRpcMessage,
  2375.     DWORD *_pdwStubPhase);
  2376. #endif  /* __IComStaThreadPoolKnobs2_INTERFACE_DEFINED__ */
  2377. #ifndef __IProcessInitializer_INTERFACE_DEFINED__
  2378. #define __IProcessInitializer_INTERFACE_DEFINED__
  2379. /* interface IProcessInitializer */
  2380. /* [uuid][unique][object] */ 
  2381. EXTERN_C const IID IID_IProcessInitializer;
  2382. #if defined(__cplusplus) && !defined(CINTERFACE)
  2383.     
  2384.     MIDL_INTERFACE("1113f52d-dc7f-4943-aed6-88d04027e32a")
  2385.     IProcessInitializer : public IUnknown
  2386.     {
  2387.     public:
  2388.         virtual HRESULT STDMETHODCALLTYPE Startup( 
  2389.             /* [in] */ IUnknown *punkProcessControl) = 0;
  2390.         
  2391.         virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  2392.         
  2393.     };
  2394.     
  2395. #else  /* C style interface */
  2396.     typedef struct IProcessInitializerVtbl
  2397.     {
  2398.         BEGIN_INTERFACE
  2399.         
  2400.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2401.             IProcessInitializer * This,
  2402.             /* [in] */ REFIID riid,
  2403.             /* [iid_is][out] */ void **ppvObject);
  2404.         
  2405.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2406.             IProcessInitializer * This);
  2407.         
  2408.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2409.             IProcessInitializer * This);
  2410.         
  2411.         HRESULT ( STDMETHODCALLTYPE *Startup )( 
  2412.             IProcessInitializer * This,
  2413.             /* [in] */ IUnknown *punkProcessControl);
  2414.         
  2415.         HRESULT ( STDMETHODCALLTYPE *Shutdown )( 
  2416.             IProcessInitializer * This);
  2417.         
  2418.         END_INTERFACE
  2419.     } IProcessInitializerVtbl;
  2420.     interface IProcessInitializer
  2421.     {
  2422.         CONST_VTBL struct IProcessInitializerVtbl *lpVtbl;
  2423.     };
  2424.     
  2425. #ifdef COBJMACROS
  2426. #define IProcessInitializer_QueryInterface(This,riid,ppvObject)
  2427.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2428. #define IProcessInitializer_AddRef(This)
  2429.     (This)->lpVtbl -> AddRef(This)
  2430. #define IProcessInitializer_Release(This)
  2431.     (This)->lpVtbl -> Release(This)
  2432. #define IProcessInitializer_Startup(This,punkProcessControl)
  2433.     (This)->lpVtbl -> Startup(This,punkProcessControl)
  2434. #define IProcessInitializer_Shutdown(This)
  2435.     (This)->lpVtbl -> Shutdown(This)
  2436. #endif /* COBJMACROS */
  2437. #endif  /* C style interface */
  2438. HRESULT STDMETHODCALLTYPE IProcessInitializer_Startup_Proxy( 
  2439.     IProcessInitializer * This,
  2440.     /* [in] */ IUnknown *punkProcessControl);
  2441. void __RPC_STUB IProcessInitializer_Startup_Stub(
  2442.     IRpcStubBuffer *This,
  2443.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2444.     PRPC_MESSAGE _pRpcMessage,
  2445.     DWORD *_pdwStubPhase);
  2446. HRESULT STDMETHODCALLTYPE IProcessInitializer_Shutdown_Proxy( 
  2447.     IProcessInitializer * This);
  2448. void __RPC_STUB IProcessInitializer_Shutdown_Stub(
  2449.     IRpcStubBuffer *This,
  2450.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2451.     PRPC_MESSAGE _pRpcMessage,
  2452.     DWORD *_pdwStubPhase);
  2453. #endif  /* __IProcessInitializer_INTERFACE_DEFINED__ */
  2454. #ifndef __COMSVCSLib_LIBRARY_DEFINED__
  2455. #define __COMSVCSLib_LIBRARY_DEFINED__
  2456. /* library COMSVCSLib */
  2457. /* [helpfile][helpstring][version][uuid] */ 
  2458. typedef /* [public][helpcontext][helpstring] */ 
  2459. enum __MIDL___MIDL_itf_autosvcs_0385_0001
  2460.     { mtsErrCtxAborted = 0x8004e002,
  2461. mtsErrCtxAborting = 0x8004e003,
  2462. mtsErrCtxNoContext = 0x8004e004,
  2463. mtsErrCtxNotRegistered = 0x8004e005,
  2464. mtsErrCtxSynchTimeout = 0x8004e006,
  2465. mtsErrCtxOldReference = 0x8004e007,
  2466. mtsErrCtxRoleNotFound = 0x8004e00c,
  2467. mtsErrCtxNoSecurity = 0x8004e00d,
  2468. mtsErrCtxWrongThread = 0x8004e00e,
  2469. mtsErrCtxTMNotAvailable = 0x8004e00f,
  2470. comQCErrApplicationNotQueued = 0x80110600,
  2471. comQCErrNoQueueableInterfaces = 0x80110601,
  2472. comQCErrQueuingServiceNotAvailable = 0x80110602,
  2473. comQCErrQueueTransactMismatch = 0x80110603,
  2474. comqcErrRecorderMarshalled = 0x80110604,
  2475. comqcErrOutParam = 0x80110605,
  2476. comqcErrRecorderNotTrusted = 0x80110606,
  2477. comqcErrPSLoad = 0x80110607,
  2478. comqcErrMarshaledObjSameTxn = 0x80110608,
  2479. comqcErrInvalidMessage = 0x80110650,
  2480. comqcErrMsmqSidUnavailable = 0x80110651,
  2481. comqcErrWrongMsgExtension = 0x80110652,
  2482. comqcErrMsmqServiceUnavailable = 0x80110653,
  2483. comqcErrMsgNotAuthenticated = 0x80110654,
  2484. comqcErrMsmqConnectorUsed = 0x80110655,
  2485. comqcErrBadMarshaledObject = 0x80110656
  2486.     }  Error_Constants;
  2487. typedef /* [public] */ 
  2488. enum __MIDL___MIDL_itf_autosvcs_0385_0002
  2489.     { LockSetGet = 0,
  2490. LockMethod = LockSetGet + 1
  2491.     }  LockModes;
  2492. typedef /* [public] */ 
  2493. enum __MIDL___MIDL_itf_autosvcs_0385_0003
  2494.     { Standard = 0,
  2495. Process = Standard + 1
  2496.     }  ReleaseModes;
  2497. #ifndef _tagCrmFlags_
  2498. #define _tagCrmFlags_
  2499. typedef 
  2500. enum tagCRMFLAGS
  2501.     { CRMFLAG_FORGETTARGET = 0x1,
  2502. CRMFLAG_WRITTENDURINGPREPARE = 0x2,
  2503. CRMFLAG_WRITTENDURINGCOMMIT = 0x4,
  2504. CRMFLAG_WRITTENDURINGABORT = 0x8,
  2505. CRMFLAG_WRITTENDURINGRECOVERY = 0x10,
  2506. CRMFLAG_WRITTENDURINGREPLAY = 0x20,
  2507. CRMFLAG_REPLAYINPROGRESS = 0x40
  2508.     }  CRMFLAGS;
  2509. #endif _tagCrmFlags_
  2510. #ifndef _tagCrmRegFlags_
  2511. #define _tagCrmRegFlags_
  2512. typedef 
  2513. enum tagCRMREGFLAGS
  2514.     { CRMREGFLAG_PREPAREPHASE = 0x1,
  2515. CRMREGFLAG_COMMITPHASE = 0x2,
  2516. CRMREGFLAG_ABORTPHASE = 0x4,
  2517. CRMREGFLAG_ALLPHASES = 0x7,
  2518. CRMREGFLAG_FAILIFINDOUBTSREMAIN = 0x10
  2519.     }  CRMREGFLAGS;
  2520. #endif _tagCrmRegFlags_
  2521. EXTERN_C const IID LIBID_COMSVCSLib;
  2522. EXTERN_C const CLSID CLSID_SecurityIdentity;
  2523. #ifdef __cplusplus
  2524. class DECLSPEC_UUID("ecabb0a5-7f19-11d2-978e-0000f8757e2a")
  2525. SecurityIdentity;
  2526. #endif
  2527. EXTERN_C const CLSID CLSID_SecurityCallers;
  2528. #ifdef __cplusplus
  2529. class DECLSPEC_UUID("ecabb0a6-7f19-11d2-978e-0000f8757e2a")
  2530. SecurityCallers;
  2531. #endif
  2532. EXTERN_C const CLSID CLSID_SecurityCallContext;
  2533. #ifdef __cplusplus
  2534. class DECLSPEC_UUID("ecabb0a7-7f19-11d2-978e-0000f8757e2a")
  2535. SecurityCallContext;
  2536. #endif
  2537. EXTERN_C const CLSID CLSID_GetSecurityCallContextAppObject;
  2538. #ifdef __cplusplus
  2539. class DECLSPEC_UUID("ecabb0a8-7f19-11d2-978e-0000f8757e2a")
  2540. GetSecurityCallContextAppObject;
  2541. #endif
  2542. EXTERN_C const CLSID CLSID_Dummy30040732;
  2543. #ifdef __cplusplus
  2544. class DECLSPEC_UUID("ecabb0a9-7f19-11d2-978e-0000f8757e2a")
  2545. Dummy30040732;
  2546. #endif
  2547. EXTERN_C const CLSID CLSID_TransactionContext;
  2548. #ifdef __cplusplus
  2549. class DECLSPEC_UUID("7999FC25-D3C6-11CF-ACAB-00A024A55AEF")
  2550. TransactionContext;
  2551. #endif
  2552. EXTERN_C const CLSID CLSID_TransactionContextEx;
  2553. #ifdef __cplusplus
  2554. class DECLSPEC_UUID("5cb66670-d3d4-11cf-acab-00a024a55aef")
  2555. TransactionContextEx;
  2556. #endif
  2557. EXTERN_C const CLSID CLSID_ByotServerEx;
  2558. #ifdef __cplusplus
  2559. class DECLSPEC_UUID("ecabb0aa-7f19-11d2-978e-0000f8757e2a")
  2560. ByotServerEx;
  2561. #endif
  2562. EXTERN_C const CLSID CLSID_CServiceConfig;
  2563. #ifdef __cplusplus
  2564. class DECLSPEC_UUID("ecabb0c8-7f19-11d2-978e-0000f8757e2a")
  2565. CServiceConfig;
  2566. #endif
  2567. EXTERN_C const CLSID CLSID_SharedProperty;
  2568. #ifdef __cplusplus
  2569. class DECLSPEC_UUID("2A005C05-A5DE-11CF-9E66-00AA00A3F464")
  2570. SharedProperty;
  2571. #endif
  2572. EXTERN_C const CLSID CLSID_SharedPropertyGroup;
  2573. #ifdef __cplusplus
  2574. class DECLSPEC_UUID("2A005C0B-A5DE-11CF-9E66-00AA00A3F464")
  2575. SharedPropertyGroup;
  2576. #endif
  2577. EXTERN_C const CLSID CLSID_SharedPropertyGroupManager;
  2578. #ifdef __cplusplus
  2579. class DECLSPEC_UUID("2A005C11-A5DE-11CF-9E66-00AA00A3F464")
  2580. SharedPropertyGroupManager;
  2581. #endif
  2582. EXTERN_C const CLSID CLSID_COMEvents;
  2583. #ifdef __cplusplus
  2584. class DECLSPEC_UUID("ecabb0ab-7f19-11d2-978e-0000f8757e2a")
  2585. COMEvents;
  2586. #endif
  2587. EXTERN_C const CLSID CLSID_CoMTSLocator;
  2588. #ifdef __cplusplus
  2589. class DECLSPEC_UUID("ecabb0ac-7f19-11d2-978e-0000f8757e2a")
  2590. CoMTSLocator;
  2591. #endif
  2592. EXTERN_C const CLSID CLSID_MtsGrp;
  2593. #ifdef __cplusplus
  2594. class DECLSPEC_UUID("4B2E958D-0393-11D1-B1AB-00AA00BA3258")
  2595. MtsGrp;
  2596. #endif
  2597. EXTERN_C const CLSID CLSID_ComServiceEvents;
  2598. #ifdef __cplusplus
  2599. class DECLSPEC_UUID("ecabb0c3-7f19-11d2-978e-0000f8757e2a")
  2600. ComServiceEvents;
  2601. #endif
  2602. EXTERN_C const CLSID CLSID_ComSystemAppEventData;
  2603. #ifdef __cplusplus
  2604. class DECLSPEC_UUID("ecabb0c6-7f19-11d2-978e-0000f8757e2a")
  2605. ComSystemAppEventData;
  2606. #endif
  2607. EXTERN_C const CLSID CLSID_CRMClerk;
  2608. #ifdef __cplusplus
  2609. class DECLSPEC_UUID("ecabb0bd-7f19-11d2-978e-0000f8757e2a")
  2610. CRMClerk;
  2611. #endif
  2612. EXTERN_C const CLSID CLSID_CRMRecoveryClerk;
  2613. #ifdef __cplusplus
  2614. class DECLSPEC_UUID("ecabb0be-7f19-11d2-978e-0000f8757e2a")
  2615. CRMRecoveryClerk;
  2616. #endif
  2617. EXTERN_C const CLSID CLSID_LBEvents;
  2618. #ifdef __cplusplus
  2619. class DECLSPEC_UUID("ecabb0c1-7f19-11d2-978e-0000f8757e2a")
  2620. LBEvents;
  2621. #endif
  2622. EXTERN_C const CLSID CLSID_MessageMover;
  2623. #ifdef __cplusplus
  2624. class DECLSPEC_UUID("ecabb0bf-7f19-11d2-978e-0000f8757e2a")
  2625. MessageMover;
  2626. #endif
  2627. EXTERN_C const CLSID CLSID_DispenserManager;
  2628. #ifdef __cplusplus
  2629. class DECLSPEC_UUID("ecabb0c0-7f19-11d2-978e-0000f8757e2a")
  2630. DispenserManager;
  2631. #endif
  2632. EXTERN_C const CLSID CLSID_PoolMgr;
  2633. #ifdef __cplusplus
  2634. class DECLSPEC_UUID("ecabafb5-7f19-11d2-978e-0000f8757e2a")
  2635. PoolMgr;
  2636. #endif
  2637. EXTERN_C const CLSID CLSID_EventServer;
  2638. #ifdef __cplusplus
  2639. class DECLSPEC_UUID("ecabafbc-7f19-11d2-978e-0000f8757e2a")
  2640. EventServer;
  2641. #endif
  2642. #endif /* __COMSVCSLib_LIBRARY_DEFINED__ */
  2643. /* Additional Prototypes for ALL interfaces */
  2644. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
  2645. unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
  2646. unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
  2647. void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
  2648. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
  2649. unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
  2650. unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
  2651. void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
  2652. /* end of Additional Prototypes */
  2653. #ifdef __cplusplus
  2654. }
  2655. #endif
  2656. #endif