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

模拟服务器

开发平台:

C/C++

  1.         
  2.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNextItem )( 
  3.             IResultData * This,
  4.             /* [out][in] */ LPRESULTDATAITEM item);
  5.         
  6.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ModifyItemState )( 
  7.             IResultData * This,
  8.             /* [in] */ int nIndex,
  9.             /* [in] */ HRESULTITEM itemID,
  10.             /* [in] */ UINT uAdd,
  11.             /* [in] */ UINT uRemove);
  12.         
  13.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ModifyViewStyle )( 
  14.             IResultData * This,
  15.             /* [in] */ MMC_RESULT_VIEW_STYLE add,
  16.             /* [in] */ MMC_RESULT_VIEW_STYLE remove);
  17.         
  18.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetViewMode )( 
  19.             IResultData * This,
  20.             /* [in] */ long lViewMode);
  21.         
  22.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetViewMode )( 
  23.             IResultData * This,
  24.             /* [out] */ long *lViewMode);
  25.         
  26.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdateItem )( 
  27.             IResultData * This,
  28.             /* [in] */ HRESULTITEM itemID);
  29.         
  30.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sort )( 
  31.             IResultData * This,
  32.             /* [in] */ int nColumn,
  33.             /* [in] */ DWORD dwSortOptions,
  34.             /* [in] */ LPARAM lUserParam);
  35.         
  36.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetDescBarText )( 
  37.             IResultData * This,
  38.             /* [in] */ LPOLESTR DescText);
  39.         
  40.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItemCount )( 
  41.             IResultData * This,
  42.             /* [in] */ int nItemCount,
  43.             /* [in] */ DWORD dwOptions);
  44.         
  45.         END_INTERFACE
  46.     } IResultDataVtbl;
  47.     interface IResultData
  48.     {
  49.         CONST_VTBL struct IResultDataVtbl *lpVtbl;
  50.     };
  51.     
  52. #ifdef COBJMACROS
  53. #define IResultData_QueryInterface(This,riid,ppvObject)
  54.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  55. #define IResultData_AddRef(This)
  56.     (This)->lpVtbl -> AddRef(This)
  57. #define IResultData_Release(This)
  58.     (This)->lpVtbl -> Release(This)
  59. #define IResultData_InsertItem(This,item)
  60.     (This)->lpVtbl -> InsertItem(This,item)
  61. #define IResultData_DeleteItem(This,itemID,nCol)
  62.     (This)->lpVtbl -> DeleteItem(This,itemID,nCol)
  63. #define IResultData_FindItemByLParam(This,lParam,pItemID)
  64.     (This)->lpVtbl -> FindItemByLParam(This,lParam,pItemID)
  65. #define IResultData_DeleteAllRsltItems(This)
  66.     (This)->lpVtbl -> DeleteAllRsltItems(This)
  67. #define IResultData_SetItem(This,item)
  68.     (This)->lpVtbl -> SetItem(This,item)
  69. #define IResultData_GetItem(This,item)
  70.     (This)->lpVtbl -> GetItem(This,item)
  71. #define IResultData_GetNextItem(This,item)
  72.     (This)->lpVtbl -> GetNextItem(This,item)
  73. #define IResultData_ModifyItemState(This,nIndex,itemID,uAdd,uRemove)
  74.     (This)->lpVtbl -> ModifyItemState(This,nIndex,itemID,uAdd,uRemove)
  75. #define IResultData_ModifyViewStyle(This,add,remove)
  76.     (This)->lpVtbl -> ModifyViewStyle(This,add,remove)
  77. #define IResultData_SetViewMode(This,lViewMode)
  78.     (This)->lpVtbl -> SetViewMode(This,lViewMode)
  79. #define IResultData_GetViewMode(This,lViewMode)
  80.     (This)->lpVtbl -> GetViewMode(This,lViewMode)
  81. #define IResultData_UpdateItem(This,itemID)
  82.     (This)->lpVtbl -> UpdateItem(This,itemID)
  83. #define IResultData_Sort(This,nColumn,dwSortOptions,lUserParam)
  84.     (This)->lpVtbl -> Sort(This,nColumn,dwSortOptions,lUserParam)
  85. #define IResultData_SetDescBarText(This,DescText)
  86.     (This)->lpVtbl -> SetDescBarText(This,DescText)
  87. #define IResultData_SetItemCount(This,nItemCount,dwOptions)
  88.     (This)->lpVtbl -> SetItemCount(This,nItemCount,dwOptions)
  89. #endif /* COBJMACROS */
  90. #endif  /* C style interface */
  91. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_InsertItem_Proxy( 
  92.     IResultData * This,
  93.     /* [out][in] */ LPRESULTDATAITEM item);
  94. void __RPC_STUB IResultData_InsertItem_Stub(
  95.     IRpcStubBuffer *This,
  96.     IRpcChannelBuffer *_pRpcChannelBuffer,
  97.     PRPC_MESSAGE _pRpcMessage,
  98.     DWORD *_pdwStubPhase);
  99. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_DeleteItem_Proxy( 
  100.     IResultData * This,
  101.     /* [in] */ HRESULTITEM itemID,
  102.     /* [in] */ int nCol);
  103. void __RPC_STUB IResultData_DeleteItem_Stub(
  104.     IRpcStubBuffer *This,
  105.     IRpcChannelBuffer *_pRpcChannelBuffer,
  106.     PRPC_MESSAGE _pRpcMessage,
  107.     DWORD *_pdwStubPhase);
  108. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_FindItemByLParam_Proxy( 
  109.     IResultData * This,
  110.     /* [in] */ LPARAM lParam,
  111.     /* [out] */ HRESULTITEM *pItemID);
  112. void __RPC_STUB IResultData_FindItemByLParam_Stub(
  113.     IRpcStubBuffer *This,
  114.     IRpcChannelBuffer *_pRpcChannelBuffer,
  115.     PRPC_MESSAGE _pRpcMessage,
  116.     DWORD *_pdwStubPhase);
  117. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_DeleteAllRsltItems_Proxy( 
  118.     IResultData * This);
  119. void __RPC_STUB IResultData_DeleteAllRsltItems_Stub(
  120.     IRpcStubBuffer *This,
  121.     IRpcChannelBuffer *_pRpcChannelBuffer,
  122.     PRPC_MESSAGE _pRpcMessage,
  123.     DWORD *_pdwStubPhase);
  124. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_SetItem_Proxy( 
  125.     IResultData * This,
  126.     /* [in] */ LPRESULTDATAITEM item);
  127. void __RPC_STUB IResultData_SetItem_Stub(
  128.     IRpcStubBuffer *This,
  129.     IRpcChannelBuffer *_pRpcChannelBuffer,
  130.     PRPC_MESSAGE _pRpcMessage,
  131.     DWORD *_pdwStubPhase);
  132. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_GetItem_Proxy( 
  133.     IResultData * This,
  134.     /* [out][in] */ LPRESULTDATAITEM item);
  135. void __RPC_STUB IResultData_GetItem_Stub(
  136.     IRpcStubBuffer *This,
  137.     IRpcChannelBuffer *_pRpcChannelBuffer,
  138.     PRPC_MESSAGE _pRpcMessage,
  139.     DWORD *_pdwStubPhase);
  140. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_GetNextItem_Proxy( 
  141.     IResultData * This,
  142.     /* [out][in] */ LPRESULTDATAITEM item);
  143. void __RPC_STUB IResultData_GetNextItem_Stub(
  144.     IRpcStubBuffer *This,
  145.     IRpcChannelBuffer *_pRpcChannelBuffer,
  146.     PRPC_MESSAGE _pRpcMessage,
  147.     DWORD *_pdwStubPhase);
  148. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_ModifyItemState_Proxy( 
  149.     IResultData * This,
  150.     /* [in] */ int nIndex,
  151.     /* [in] */ HRESULTITEM itemID,
  152.     /* [in] */ UINT uAdd,
  153.     /* [in] */ UINT uRemove);
  154. void __RPC_STUB IResultData_ModifyItemState_Stub(
  155.     IRpcStubBuffer *This,
  156.     IRpcChannelBuffer *_pRpcChannelBuffer,
  157.     PRPC_MESSAGE _pRpcMessage,
  158.     DWORD *_pdwStubPhase);
  159. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_ModifyViewStyle_Proxy( 
  160.     IResultData * This,
  161.     /* [in] */ MMC_RESULT_VIEW_STYLE add,
  162.     /* [in] */ MMC_RESULT_VIEW_STYLE remove);
  163. void __RPC_STUB IResultData_ModifyViewStyle_Stub(
  164.     IRpcStubBuffer *This,
  165.     IRpcChannelBuffer *_pRpcChannelBuffer,
  166.     PRPC_MESSAGE _pRpcMessage,
  167.     DWORD *_pdwStubPhase);
  168. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_SetViewMode_Proxy( 
  169.     IResultData * This,
  170.     /* [in] */ long lViewMode);
  171. void __RPC_STUB IResultData_SetViewMode_Stub(
  172.     IRpcStubBuffer *This,
  173.     IRpcChannelBuffer *_pRpcChannelBuffer,
  174.     PRPC_MESSAGE _pRpcMessage,
  175.     DWORD *_pdwStubPhase);
  176. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_GetViewMode_Proxy( 
  177.     IResultData * This,
  178.     /* [out] */ long *lViewMode);
  179. void __RPC_STUB IResultData_GetViewMode_Stub(
  180.     IRpcStubBuffer *This,
  181.     IRpcChannelBuffer *_pRpcChannelBuffer,
  182.     PRPC_MESSAGE _pRpcMessage,
  183.     DWORD *_pdwStubPhase);
  184. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_UpdateItem_Proxy( 
  185.     IResultData * This,
  186.     /* [in] */ HRESULTITEM itemID);
  187. void __RPC_STUB IResultData_UpdateItem_Stub(
  188.     IRpcStubBuffer *This,
  189.     IRpcChannelBuffer *_pRpcChannelBuffer,
  190.     PRPC_MESSAGE _pRpcMessage,
  191.     DWORD *_pdwStubPhase);
  192. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_Sort_Proxy( 
  193.     IResultData * This,
  194.     /* [in] */ int nColumn,
  195.     /* [in] */ DWORD dwSortOptions,
  196.     /* [in] */ LPARAM lUserParam);
  197. void __RPC_STUB IResultData_Sort_Stub(
  198.     IRpcStubBuffer *This,
  199.     IRpcChannelBuffer *_pRpcChannelBuffer,
  200.     PRPC_MESSAGE _pRpcMessage,
  201.     DWORD *_pdwStubPhase);
  202. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_SetDescBarText_Proxy( 
  203.     IResultData * This,
  204.     /* [in] */ LPOLESTR DescText);
  205. void __RPC_STUB IResultData_SetDescBarText_Stub(
  206.     IRpcStubBuffer *This,
  207.     IRpcChannelBuffer *_pRpcChannelBuffer,
  208.     PRPC_MESSAGE _pRpcMessage,
  209.     DWORD *_pdwStubPhase);
  210. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_SetItemCount_Proxy( 
  211.     IResultData * This,
  212.     /* [in] */ int nItemCount,
  213.     /* [in] */ DWORD dwOptions);
  214. void __RPC_STUB IResultData_SetItemCount_Stub(
  215.     IRpcStubBuffer *This,
  216.     IRpcChannelBuffer *_pRpcChannelBuffer,
  217.     PRPC_MESSAGE _pRpcMessage,
  218.     DWORD *_pdwStubPhase);
  219. #endif  /* __IResultData_INTERFACE_DEFINED__ */
  220. #ifndef __IConsoleNameSpace_INTERFACE_DEFINED__
  221. #define __IConsoleNameSpace_INTERFACE_DEFINED__
  222. /* interface IConsoleNameSpace */
  223. /* [unique][helpstring][uuid][object] */ 
  224. EXTERN_C const IID IID_IConsoleNameSpace;
  225. #if defined(__cplusplus) && !defined(CINTERFACE)
  226.     
  227.     MIDL_INTERFACE("BEDEB620-F24D-11cf-8AFC-00AA003CA9F6")
  228.     IConsoleNameSpace : public IUnknown
  229.     {
  230.     public:
  231.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertItem( 
  232.             /* [out][in] */ LPSCOPEDATAITEM item) = 0;
  233.         
  234.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteItem( 
  235.             /* [in] */ HSCOPEITEM hItem,
  236.             /* [in] */ long fDeleteThis) = 0;
  237.         
  238.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetItem( 
  239.             /* [in] */ LPSCOPEDATAITEM item) = 0;
  240.         
  241.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetItem( 
  242.             /* [out][in] */ LPSCOPEDATAITEM item) = 0;
  243.         
  244.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetChildItem( 
  245.             /* [in] */ HSCOPEITEM item,
  246.             /* [out] */ HSCOPEITEM *pItemChild,
  247.             /* [out] */ MMC_COOKIE *pCookie) = 0;
  248.         
  249.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNextItem( 
  250.             /* [in] */ HSCOPEITEM item,
  251.             /* [out] */ HSCOPEITEM *pItemNext,
  252.             /* [out] */ MMC_COOKIE *pCookie) = 0;
  253.         
  254.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetParentItem( 
  255.             /* [in] */ HSCOPEITEM item,
  256.             /* [out] */ HSCOPEITEM *pItemParent,
  257.             /* [out] */ MMC_COOKIE *pCookie) = 0;
  258.         
  259.     };
  260.     
  261. #else  /* C style interface */
  262.     typedef struct IConsoleNameSpaceVtbl
  263.     {
  264.         BEGIN_INTERFACE
  265.         
  266.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  267.             IConsoleNameSpace * This,
  268.             /* [in] */ REFIID riid,
  269.             /* [iid_is][out] */ void **ppvObject);
  270.         
  271.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  272.             IConsoleNameSpace * This);
  273.         
  274.         ULONG ( STDMETHODCALLTYPE *Release )( 
  275.             IConsoleNameSpace * This);
  276.         
  277.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertItem )( 
  278.             IConsoleNameSpace * This,
  279.             /* [out][in] */ LPSCOPEDATAITEM item);
  280.         
  281.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteItem )( 
  282.             IConsoleNameSpace * This,
  283.             /* [in] */ HSCOPEITEM hItem,
  284.             /* [in] */ long fDeleteThis);
  285.         
  286.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItem )( 
  287.             IConsoleNameSpace * This,
  288.             /* [in] */ LPSCOPEDATAITEM item);
  289.         
  290.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetItem )( 
  291.             IConsoleNameSpace * This,
  292.             /* [out][in] */ LPSCOPEDATAITEM item);
  293.         
  294.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetChildItem )( 
  295.             IConsoleNameSpace * This,
  296.             /* [in] */ HSCOPEITEM item,
  297.             /* [out] */ HSCOPEITEM *pItemChild,
  298.             /* [out] */ MMC_COOKIE *pCookie);
  299.         
  300.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNextItem )( 
  301.             IConsoleNameSpace * This,
  302.             /* [in] */ HSCOPEITEM item,
  303.             /* [out] */ HSCOPEITEM *pItemNext,
  304.             /* [out] */ MMC_COOKIE *pCookie);
  305.         
  306.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetParentItem )( 
  307.             IConsoleNameSpace * This,
  308.             /* [in] */ HSCOPEITEM item,
  309.             /* [out] */ HSCOPEITEM *pItemParent,
  310.             /* [out] */ MMC_COOKIE *pCookie);
  311.         
  312.         END_INTERFACE
  313.     } IConsoleNameSpaceVtbl;
  314.     interface IConsoleNameSpace
  315.     {
  316.         CONST_VTBL struct IConsoleNameSpaceVtbl *lpVtbl;
  317.     };
  318.     
  319. #ifdef COBJMACROS
  320. #define IConsoleNameSpace_QueryInterface(This,riid,ppvObject)
  321.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  322. #define IConsoleNameSpace_AddRef(This)
  323.     (This)->lpVtbl -> AddRef(This)
  324. #define IConsoleNameSpace_Release(This)
  325.     (This)->lpVtbl -> Release(This)
  326. #define IConsoleNameSpace_InsertItem(This,item)
  327.     (This)->lpVtbl -> InsertItem(This,item)
  328. #define IConsoleNameSpace_DeleteItem(This,hItem,fDeleteThis)
  329.     (This)->lpVtbl -> DeleteItem(This,hItem,fDeleteThis)
  330. #define IConsoleNameSpace_SetItem(This,item)
  331.     (This)->lpVtbl -> SetItem(This,item)
  332. #define IConsoleNameSpace_GetItem(This,item)
  333.     (This)->lpVtbl -> GetItem(This,item)
  334. #define IConsoleNameSpace_GetChildItem(This,item,pItemChild,pCookie)
  335.     (This)->lpVtbl -> GetChildItem(This,item,pItemChild,pCookie)
  336. #define IConsoleNameSpace_GetNextItem(This,item,pItemNext,pCookie)
  337.     (This)->lpVtbl -> GetNextItem(This,item,pItemNext,pCookie)
  338. #define IConsoleNameSpace_GetParentItem(This,item,pItemParent,pCookie)
  339.     (This)->lpVtbl -> GetParentItem(This,item,pItemParent,pCookie)
  340. #endif /* COBJMACROS */
  341. #endif  /* C style interface */
  342. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_InsertItem_Proxy( 
  343.     IConsoleNameSpace * This,
  344.     /* [out][in] */ LPSCOPEDATAITEM item);
  345. void __RPC_STUB IConsoleNameSpace_InsertItem_Stub(
  346.     IRpcStubBuffer *This,
  347.     IRpcChannelBuffer *_pRpcChannelBuffer,
  348.     PRPC_MESSAGE _pRpcMessage,
  349.     DWORD *_pdwStubPhase);
  350. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_DeleteItem_Proxy( 
  351.     IConsoleNameSpace * This,
  352.     /* [in] */ HSCOPEITEM hItem,
  353.     /* [in] */ long fDeleteThis);
  354. void __RPC_STUB IConsoleNameSpace_DeleteItem_Stub(
  355.     IRpcStubBuffer *This,
  356.     IRpcChannelBuffer *_pRpcChannelBuffer,
  357.     PRPC_MESSAGE _pRpcMessage,
  358.     DWORD *_pdwStubPhase);
  359. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_SetItem_Proxy( 
  360.     IConsoleNameSpace * This,
  361.     /* [in] */ LPSCOPEDATAITEM item);
  362. void __RPC_STUB IConsoleNameSpace_SetItem_Stub(
  363.     IRpcStubBuffer *This,
  364.     IRpcChannelBuffer *_pRpcChannelBuffer,
  365.     PRPC_MESSAGE _pRpcMessage,
  366.     DWORD *_pdwStubPhase);
  367. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_GetItem_Proxy( 
  368.     IConsoleNameSpace * This,
  369.     /* [out][in] */ LPSCOPEDATAITEM item);
  370. void __RPC_STUB IConsoleNameSpace_GetItem_Stub(
  371.     IRpcStubBuffer *This,
  372.     IRpcChannelBuffer *_pRpcChannelBuffer,
  373.     PRPC_MESSAGE _pRpcMessage,
  374.     DWORD *_pdwStubPhase);
  375. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_GetChildItem_Proxy( 
  376.     IConsoleNameSpace * This,
  377.     /* [in] */ HSCOPEITEM item,
  378.     /* [out] */ HSCOPEITEM *pItemChild,
  379.     /* [out] */ MMC_COOKIE *pCookie);
  380. void __RPC_STUB IConsoleNameSpace_GetChildItem_Stub(
  381.     IRpcStubBuffer *This,
  382.     IRpcChannelBuffer *_pRpcChannelBuffer,
  383.     PRPC_MESSAGE _pRpcMessage,
  384.     DWORD *_pdwStubPhase);
  385. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_GetNextItem_Proxy( 
  386.     IConsoleNameSpace * This,
  387.     /* [in] */ HSCOPEITEM item,
  388.     /* [out] */ HSCOPEITEM *pItemNext,
  389.     /* [out] */ MMC_COOKIE *pCookie);
  390. void __RPC_STUB IConsoleNameSpace_GetNextItem_Stub(
  391.     IRpcStubBuffer *This,
  392.     IRpcChannelBuffer *_pRpcChannelBuffer,
  393.     PRPC_MESSAGE _pRpcMessage,
  394.     DWORD *_pdwStubPhase);
  395. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_GetParentItem_Proxy( 
  396.     IConsoleNameSpace * This,
  397.     /* [in] */ HSCOPEITEM item,
  398.     /* [out] */ HSCOPEITEM *pItemParent,
  399.     /* [out] */ MMC_COOKIE *pCookie);
  400. void __RPC_STUB IConsoleNameSpace_GetParentItem_Stub(
  401.     IRpcStubBuffer *This,
  402.     IRpcChannelBuffer *_pRpcChannelBuffer,
  403.     PRPC_MESSAGE _pRpcMessage,
  404.     DWORD *_pdwStubPhase);
  405. #endif  /* __IConsoleNameSpace_INTERFACE_DEFINED__ */
  406. #ifndef __IConsoleNameSpace2_INTERFACE_DEFINED__
  407. #define __IConsoleNameSpace2_INTERFACE_DEFINED__
  408. /* interface IConsoleNameSpace2 */
  409. /* [unique][helpstring][uuid][object] */ 
  410. EXTERN_C const IID IID_IConsoleNameSpace2;
  411. #if defined(__cplusplus) && !defined(CINTERFACE)
  412.     
  413.     MIDL_INTERFACE("255F18CC-65DB-11D1-A7DC-00C04FD8D565")
  414.     IConsoleNameSpace2 : public IConsoleNameSpace
  415.     {
  416.     public:
  417.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Expand( 
  418.             /* [in] */ HSCOPEITEM hItem) = 0;
  419.         
  420.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddExtension( 
  421.             /* [in] */ HSCOPEITEM hItem,
  422.             /* [in] */ LPCLSID lpClsid) = 0;
  423.         
  424.     };
  425.     
  426. #else  /* C style interface */
  427.     typedef struct IConsoleNameSpace2Vtbl
  428.     {
  429.         BEGIN_INTERFACE
  430.         
  431.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  432.             IConsoleNameSpace2 * This,
  433.             /* [in] */ REFIID riid,
  434.             /* [iid_is][out] */ void **ppvObject);
  435.         
  436.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  437.             IConsoleNameSpace2 * This);
  438.         
  439.         ULONG ( STDMETHODCALLTYPE *Release )( 
  440.             IConsoleNameSpace2 * This);
  441.         
  442.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertItem )( 
  443.             IConsoleNameSpace2 * This,
  444.             /* [out][in] */ LPSCOPEDATAITEM item);
  445.         
  446.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteItem )( 
  447.             IConsoleNameSpace2 * This,
  448.             /* [in] */ HSCOPEITEM hItem,
  449.             /* [in] */ long fDeleteThis);
  450.         
  451.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItem )( 
  452.             IConsoleNameSpace2 * This,
  453.             /* [in] */ LPSCOPEDATAITEM item);
  454.         
  455.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetItem )( 
  456.             IConsoleNameSpace2 * This,
  457.             /* [out][in] */ LPSCOPEDATAITEM item);
  458.         
  459.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetChildItem )( 
  460.             IConsoleNameSpace2 * This,
  461.             /* [in] */ HSCOPEITEM item,
  462.             /* [out] */ HSCOPEITEM *pItemChild,
  463.             /* [out] */ MMC_COOKIE *pCookie);
  464.         
  465.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNextItem )( 
  466.             IConsoleNameSpace2 * This,
  467.             /* [in] */ HSCOPEITEM item,
  468.             /* [out] */ HSCOPEITEM *pItemNext,
  469.             /* [out] */ MMC_COOKIE *pCookie);
  470.         
  471.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetParentItem )( 
  472.             IConsoleNameSpace2 * This,
  473.             /* [in] */ HSCOPEITEM item,
  474.             /* [out] */ HSCOPEITEM *pItemParent,
  475.             /* [out] */ MMC_COOKIE *pCookie);
  476.         
  477.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Expand )( 
  478.             IConsoleNameSpace2 * This,
  479.             /* [in] */ HSCOPEITEM hItem);
  480.         
  481.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddExtension )( 
  482.             IConsoleNameSpace2 * This,
  483.             /* [in] */ HSCOPEITEM hItem,
  484.             /* [in] */ LPCLSID lpClsid);
  485.         
  486.         END_INTERFACE
  487.     } IConsoleNameSpace2Vtbl;
  488.     interface IConsoleNameSpace2
  489.     {
  490.         CONST_VTBL struct IConsoleNameSpace2Vtbl *lpVtbl;
  491.     };
  492.     
  493. #ifdef COBJMACROS
  494. #define IConsoleNameSpace2_QueryInterface(This,riid,ppvObject)
  495.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  496. #define IConsoleNameSpace2_AddRef(This)
  497.     (This)->lpVtbl -> AddRef(This)
  498. #define IConsoleNameSpace2_Release(This)
  499.     (This)->lpVtbl -> Release(This)
  500. #define IConsoleNameSpace2_InsertItem(This,item)
  501.     (This)->lpVtbl -> InsertItem(This,item)
  502. #define IConsoleNameSpace2_DeleteItem(This,hItem,fDeleteThis)
  503.     (This)->lpVtbl -> DeleteItem(This,hItem,fDeleteThis)
  504. #define IConsoleNameSpace2_SetItem(This,item)
  505.     (This)->lpVtbl -> SetItem(This,item)
  506. #define IConsoleNameSpace2_GetItem(This,item)
  507.     (This)->lpVtbl -> GetItem(This,item)
  508. #define IConsoleNameSpace2_GetChildItem(This,item,pItemChild,pCookie)
  509.     (This)->lpVtbl -> GetChildItem(This,item,pItemChild,pCookie)
  510. #define IConsoleNameSpace2_GetNextItem(This,item,pItemNext,pCookie)
  511.     (This)->lpVtbl -> GetNextItem(This,item,pItemNext,pCookie)
  512. #define IConsoleNameSpace2_GetParentItem(This,item,pItemParent,pCookie)
  513.     (This)->lpVtbl -> GetParentItem(This,item,pItemParent,pCookie)
  514. #define IConsoleNameSpace2_Expand(This,hItem)
  515.     (This)->lpVtbl -> Expand(This,hItem)
  516. #define IConsoleNameSpace2_AddExtension(This,hItem,lpClsid)
  517.     (This)->lpVtbl -> AddExtension(This,hItem,lpClsid)
  518. #endif /* COBJMACROS */
  519. #endif  /* C style interface */
  520. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace2_Expand_Proxy( 
  521.     IConsoleNameSpace2 * This,
  522.     /* [in] */ HSCOPEITEM hItem);
  523. void __RPC_STUB IConsoleNameSpace2_Expand_Stub(
  524.     IRpcStubBuffer *This,
  525.     IRpcChannelBuffer *_pRpcChannelBuffer,
  526.     PRPC_MESSAGE _pRpcMessage,
  527.     DWORD *_pdwStubPhase);
  528. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace2_AddExtension_Proxy( 
  529.     IConsoleNameSpace2 * This,
  530.     /* [in] */ HSCOPEITEM hItem,
  531.     /* [in] */ LPCLSID lpClsid);
  532. void __RPC_STUB IConsoleNameSpace2_AddExtension_Stub(
  533.     IRpcStubBuffer *This,
  534.     IRpcChannelBuffer *_pRpcChannelBuffer,
  535.     PRPC_MESSAGE _pRpcMessage,
  536.     DWORD *_pdwStubPhase);
  537. #endif  /* __IConsoleNameSpace2_INTERFACE_DEFINED__ */
  538. /* interface __MIDL_itf_mmc_0124 */
  539. /* [local] */ 
  540. typedef struct _PSP *HPROPSHEETPAGE;
  541. extern RPC_IF_HANDLE __MIDL_itf_mmc_0124_v0_0_c_ifspec;
  542. extern RPC_IF_HANDLE __MIDL_itf_mmc_0124_v0_0_s_ifspec;
  543. #ifndef __IPropertySheetCallback_INTERFACE_DEFINED__
  544. #define __IPropertySheetCallback_INTERFACE_DEFINED__
  545. /* interface IPropertySheetCallback */
  546. /* [unique][helpstring][uuid][object][local] */ 
  547. EXTERN_C const IID IID_IPropertySheetCallback;
  548. #if defined(__cplusplus) && !defined(CINTERFACE)
  549.     
  550.     MIDL_INTERFACE("85DE64DD-EF21-11cf-A285-00C04FD8DBE6")
  551.     IPropertySheetCallback : public IUnknown
  552.     {
  553.     public:
  554.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddPage( 
  555.             /* [in] */ HPROPSHEETPAGE hPage) = 0;
  556.         
  557.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemovePage( 
  558.             /* [in] */ HPROPSHEETPAGE hPage) = 0;
  559.         
  560.     };
  561.     
  562. #else  /* C style interface */
  563.     typedef struct IPropertySheetCallbackVtbl
  564.     {
  565.         BEGIN_INTERFACE
  566.         
  567.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  568.             IPropertySheetCallback * This,
  569.             /* [in] */ REFIID riid,
  570.             /* [iid_is][out] */ void **ppvObject);
  571.         
  572.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  573.             IPropertySheetCallback * This);
  574.         
  575.         ULONG ( STDMETHODCALLTYPE *Release )( 
  576.             IPropertySheetCallback * This);
  577.         
  578.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPage )( 
  579.             IPropertySheetCallback * This,
  580.             /* [in] */ HPROPSHEETPAGE hPage);
  581.         
  582.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemovePage )( 
  583.             IPropertySheetCallback * This,
  584.             /* [in] */ HPROPSHEETPAGE hPage);
  585.         
  586.         END_INTERFACE
  587.     } IPropertySheetCallbackVtbl;
  588.     interface IPropertySheetCallback
  589.     {
  590.         CONST_VTBL struct IPropertySheetCallbackVtbl *lpVtbl;
  591.     };
  592.     
  593. #ifdef COBJMACROS
  594. #define IPropertySheetCallback_QueryInterface(This,riid,ppvObject)
  595.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  596. #define IPropertySheetCallback_AddRef(This)
  597.     (This)->lpVtbl -> AddRef(This)
  598. #define IPropertySheetCallback_Release(This)
  599.     (This)->lpVtbl -> Release(This)
  600. #define IPropertySheetCallback_AddPage(This,hPage)
  601.     (This)->lpVtbl -> AddPage(This,hPage)
  602. #define IPropertySheetCallback_RemovePage(This,hPage)
  603.     (This)->lpVtbl -> RemovePage(This,hPage)
  604. #endif /* COBJMACROS */
  605. #endif  /* C style interface */
  606. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetCallback_AddPage_Proxy( 
  607.     IPropertySheetCallback * This,
  608.     /* [in] */ HPROPSHEETPAGE hPage);
  609. void __RPC_STUB IPropertySheetCallback_AddPage_Stub(
  610.     IRpcStubBuffer *This,
  611.     IRpcChannelBuffer *_pRpcChannelBuffer,
  612.     PRPC_MESSAGE _pRpcMessage,
  613.     DWORD *_pdwStubPhase);
  614. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetCallback_RemovePage_Proxy( 
  615.     IPropertySheetCallback * This,
  616.     /* [in] */ HPROPSHEETPAGE hPage);
  617. void __RPC_STUB IPropertySheetCallback_RemovePage_Stub(
  618.     IRpcStubBuffer *This,
  619.     IRpcChannelBuffer *_pRpcChannelBuffer,
  620.     PRPC_MESSAGE _pRpcMessage,
  621.     DWORD *_pdwStubPhase);
  622. #endif  /* __IPropertySheetCallback_INTERFACE_DEFINED__ */
  623. #ifndef __IPropertySheetProvider_INTERFACE_DEFINED__
  624. #define __IPropertySheetProvider_INTERFACE_DEFINED__
  625. /* interface IPropertySheetProvider */
  626. /* [unique][helpstring][uuid][object] */ 
  627. EXTERN_C const IID IID_IPropertySheetProvider;
  628. #if defined(__cplusplus) && !defined(CINTERFACE)
  629.     
  630.     MIDL_INTERFACE("85DE64DE-EF21-11cf-A285-00C04FD8DBE6")
  631.     IPropertySheetProvider : public IUnknown
  632.     {
  633.     public:
  634.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreatePropertySheet( 
  635.             /* [in] */ LPCWSTR title,
  636.             /* [in] */ boolean type,
  637.             /* [in] */ MMC_COOKIE cookie,
  638.             /* [in] */ LPDATAOBJECT pIDataObjectm,
  639.             /* [in] */ DWORD dwOptions) = 0;
  640.         
  641.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindPropertySheet( 
  642.             /* [in] */ MMC_COOKIE cookie,
  643.             /* [in] */ LPCOMPONENT lpComponent,
  644.             /* [in] */ LPDATAOBJECT lpDataObject) = 0;
  645.         
  646.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddPrimaryPages( 
  647.             LPUNKNOWN lpUnknown,
  648.             BOOL bCreateHandle,
  649.             HWND hNotifyWindow,
  650.             BOOL bScopePane) = 0;
  651.         
  652.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddExtensionPages( void) = 0;
  653.         
  654.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Show( 
  655.             /* [in] */ LONG_PTR window,
  656.             /* [in] */ int page) = 0;
  657.         
  658.     };
  659.     
  660. #else  /* C style interface */
  661.     typedef struct IPropertySheetProviderVtbl
  662.     {
  663.         BEGIN_INTERFACE
  664.         
  665.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  666.             IPropertySheetProvider * This,
  667.             /* [in] */ REFIID riid,
  668.             /* [iid_is][out] */ void **ppvObject);
  669.         
  670.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  671.             IPropertySheetProvider * This);
  672.         
  673.         ULONG ( STDMETHODCALLTYPE *Release )( 
  674.             IPropertySheetProvider * This);
  675.         
  676.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreatePropertySheet )( 
  677.             IPropertySheetProvider * This,
  678.             /* [in] */ LPCWSTR title,
  679.             /* [in] */ boolean type,
  680.             /* [in] */ MMC_COOKIE cookie,
  681.             /* [in] */ LPDATAOBJECT pIDataObjectm,
  682.             /* [in] */ DWORD dwOptions);
  683.         
  684.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindPropertySheet )( 
  685.             IPropertySheetProvider * This,
  686.             /* [in] */ MMC_COOKIE cookie,
  687.             /* [in] */ LPCOMPONENT lpComponent,
  688.             /* [in] */ LPDATAOBJECT lpDataObject);
  689.         
  690.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPrimaryPages )( 
  691.             IPropertySheetProvider * This,
  692.             LPUNKNOWN lpUnknown,
  693.             BOOL bCreateHandle,
  694.             HWND hNotifyWindow,
  695.             BOOL bScopePane);
  696.         
  697.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddExtensionPages )( 
  698.             IPropertySheetProvider * This);
  699.         
  700.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Show )( 
  701.             IPropertySheetProvider * This,
  702.             /* [in] */ LONG_PTR window,
  703.             /* [in] */ int page);
  704.         
  705.         END_INTERFACE
  706.     } IPropertySheetProviderVtbl;
  707.     interface IPropertySheetProvider
  708.     {
  709.         CONST_VTBL struct IPropertySheetProviderVtbl *lpVtbl;
  710.     };
  711.     
  712. #ifdef COBJMACROS
  713. #define IPropertySheetProvider_QueryInterface(This,riid,ppvObject)
  714.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  715. #define IPropertySheetProvider_AddRef(This)
  716.     (This)->lpVtbl -> AddRef(This)
  717. #define IPropertySheetProvider_Release(This)
  718.     (This)->lpVtbl -> Release(This)
  719. #define IPropertySheetProvider_CreatePropertySheet(This,title,type,cookie,pIDataObjectm,dwOptions)
  720.     (This)->lpVtbl -> CreatePropertySheet(This,title,type,cookie,pIDataObjectm,dwOptions)
  721. #define IPropertySheetProvider_FindPropertySheet(This,cookie,lpComponent,lpDataObject)
  722.     (This)->lpVtbl -> FindPropertySheet(This,cookie,lpComponent,lpDataObject)
  723. #define IPropertySheetProvider_AddPrimaryPages(This,lpUnknown,bCreateHandle,hNotifyWindow,bScopePane)
  724.     (This)->lpVtbl -> AddPrimaryPages(This,lpUnknown,bCreateHandle,hNotifyWindow,bScopePane)
  725. #define IPropertySheetProvider_AddExtensionPages(This)
  726.     (This)->lpVtbl -> AddExtensionPages(This)
  727. #define IPropertySheetProvider_Show(This,window,page)
  728.     (This)->lpVtbl -> Show(This,window,page)
  729. #endif /* COBJMACROS */
  730. #endif  /* C style interface */
  731. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_CreatePropertySheet_Proxy( 
  732.     IPropertySheetProvider * This,
  733.     /* [in] */ LPCWSTR title,
  734.     /* [in] */ boolean type,
  735.     /* [in] */ MMC_COOKIE cookie,
  736.     /* [in] */ LPDATAOBJECT pIDataObjectm,
  737.     /* [in] */ DWORD dwOptions);
  738. void __RPC_STUB IPropertySheetProvider_CreatePropertySheet_Stub(
  739.     IRpcStubBuffer *This,
  740.     IRpcChannelBuffer *_pRpcChannelBuffer,
  741.     PRPC_MESSAGE _pRpcMessage,
  742.     DWORD *_pdwStubPhase);
  743. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_FindPropertySheet_Proxy( 
  744.     IPropertySheetProvider * This,
  745.     /* [in] */ MMC_COOKIE cookie,
  746.     /* [in] */ LPCOMPONENT lpComponent,
  747.     /* [in] */ LPDATAOBJECT lpDataObject);
  748. void __RPC_STUB IPropertySheetProvider_FindPropertySheet_Stub(
  749.     IRpcStubBuffer *This,
  750.     IRpcChannelBuffer *_pRpcChannelBuffer,
  751.     PRPC_MESSAGE _pRpcMessage,
  752.     DWORD *_pdwStubPhase);
  753. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_AddPrimaryPages_Proxy( 
  754.     IPropertySheetProvider * This,
  755.     LPUNKNOWN lpUnknown,
  756.     BOOL bCreateHandle,
  757.     HWND hNotifyWindow,
  758.     BOOL bScopePane);
  759. void __RPC_STUB IPropertySheetProvider_AddPrimaryPages_Stub(
  760.     IRpcStubBuffer *This,
  761.     IRpcChannelBuffer *_pRpcChannelBuffer,
  762.     PRPC_MESSAGE _pRpcMessage,
  763.     DWORD *_pdwStubPhase);
  764. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_AddExtensionPages_Proxy( 
  765.     IPropertySheetProvider * This);
  766. void __RPC_STUB IPropertySheetProvider_AddExtensionPages_Stub(
  767.     IRpcStubBuffer *This,
  768.     IRpcChannelBuffer *_pRpcChannelBuffer,
  769.     PRPC_MESSAGE _pRpcMessage,
  770.     DWORD *_pdwStubPhase);
  771. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_Show_Proxy( 
  772.     IPropertySheetProvider * This,
  773.     /* [in] */ LONG_PTR window,
  774.     /* [in] */ int page);
  775. void __RPC_STUB IPropertySheetProvider_Show_Stub(
  776.     IRpcStubBuffer *This,
  777.     IRpcChannelBuffer *_pRpcChannelBuffer,
  778.     PRPC_MESSAGE _pRpcMessage,
  779.     DWORD *_pdwStubPhase);
  780. #endif  /* __IPropertySheetProvider_INTERFACE_DEFINED__ */
  781. #ifndef __IExtendPropertySheet_INTERFACE_DEFINED__
  782. #define __IExtendPropertySheet_INTERFACE_DEFINED__
  783. /* interface IExtendPropertySheet */
  784. /* [unique][helpstring][uuid][object] */ 
  785. EXTERN_C const IID IID_IExtendPropertySheet;
  786. #if defined(__cplusplus) && !defined(CINTERFACE)
  787.     
  788.     MIDL_INTERFACE("85DE64DC-EF21-11cf-A285-00C04FD8DBE6")
  789.     IExtendPropertySheet : public IUnknown
  790.     {
  791.     public:
  792.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreatePropertyPages( 
  793.             /* [in] */ LPPROPERTYSHEETCALLBACK lpProvider,
  794.             /* [in] */ LONG_PTR handle,
  795.             /* [in] */ LPDATAOBJECT lpIDataObject) = 0;
  796.         
  797.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryPagesFor( 
  798.             /* [in] */ LPDATAOBJECT lpDataObject) = 0;
  799.         
  800.     };
  801.     
  802. #else  /* C style interface */
  803.     typedef struct IExtendPropertySheetVtbl
  804.     {
  805.         BEGIN_INTERFACE
  806.         
  807.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  808.             IExtendPropertySheet * This,
  809.             /* [in] */ REFIID riid,
  810.             /* [iid_is][out] */ void **ppvObject);
  811.         
  812.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  813.             IExtendPropertySheet * This);
  814.         
  815.         ULONG ( STDMETHODCALLTYPE *Release )( 
  816.             IExtendPropertySheet * This);
  817.         
  818.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreatePropertyPages )( 
  819.             IExtendPropertySheet * This,
  820.             /* [in] */ LPPROPERTYSHEETCALLBACK lpProvider,
  821.             /* [in] */ LONG_PTR handle,
  822.             /* [in] */ LPDATAOBJECT lpIDataObject);
  823.         
  824.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryPagesFor )( 
  825.             IExtendPropertySheet * This,
  826.             /* [in] */ LPDATAOBJECT lpDataObject);
  827.         
  828.         END_INTERFACE
  829.     } IExtendPropertySheetVtbl;
  830.     interface IExtendPropertySheet
  831.     {
  832.         CONST_VTBL struct IExtendPropertySheetVtbl *lpVtbl;
  833.     };
  834.     
  835. #ifdef COBJMACROS
  836. #define IExtendPropertySheet_QueryInterface(This,riid,ppvObject)
  837.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  838. #define IExtendPropertySheet_AddRef(This)
  839.     (This)->lpVtbl -> AddRef(This)
  840. #define IExtendPropertySheet_Release(This)
  841.     (This)->lpVtbl -> Release(This)
  842. #define IExtendPropertySheet_CreatePropertyPages(This,lpProvider,handle,lpIDataObject)
  843.     (This)->lpVtbl -> CreatePropertyPages(This,lpProvider,handle,lpIDataObject)
  844. #define IExtendPropertySheet_QueryPagesFor(This,lpDataObject)
  845.     (This)->lpVtbl -> QueryPagesFor(This,lpDataObject)
  846. #endif /* COBJMACROS */
  847. #endif  /* C style interface */
  848. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendPropertySheet_CreatePropertyPages_Proxy( 
  849.     IExtendPropertySheet * This,
  850.     /* [in] */ LPPROPERTYSHEETCALLBACK lpProvider,
  851.     /* [in] */ LONG_PTR handle,
  852.     /* [in] */ LPDATAOBJECT lpIDataObject);
  853. void __RPC_STUB IExtendPropertySheet_CreatePropertyPages_Stub(
  854.     IRpcStubBuffer *This,
  855.     IRpcChannelBuffer *_pRpcChannelBuffer,
  856.     PRPC_MESSAGE _pRpcMessage,
  857.     DWORD *_pdwStubPhase);
  858. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendPropertySheet_QueryPagesFor_Proxy( 
  859.     IExtendPropertySheet * This,
  860.     /* [in] */ LPDATAOBJECT lpDataObject);
  861. void __RPC_STUB IExtendPropertySheet_QueryPagesFor_Stub(
  862.     IRpcStubBuffer *This,
  863.     IRpcChannelBuffer *_pRpcChannelBuffer,
  864.     PRPC_MESSAGE _pRpcMessage,
  865.     DWORD *_pdwStubPhase);
  866. #endif  /* __IExtendPropertySheet_INTERFACE_DEFINED__ */
  867. #ifndef __IControlbar_INTERFACE_DEFINED__
  868. #define __IControlbar_INTERFACE_DEFINED__
  869. /* interface IControlbar */
  870. /* [unique][helpstring][uuid][object] */ 
  871. EXTERN_C const IID IID_IControlbar;
  872. #if defined(__cplusplus) && !defined(CINTERFACE)
  873.     
  874.     MIDL_INTERFACE("69FB811E-6C1C-11D0-A2CB-00C04FD909DD")
  875.     IControlbar : public IUnknown
  876.     {
  877.     public:
  878.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Create( 
  879.             /* [in] */ MMC_CONTROL_TYPE nType,
  880.             /* [in] */ LPEXTENDCONTROLBAR pExtendControlbar,
  881.             /* [out] */ LPUNKNOWN *ppUnknown) = 0;
  882.         
  883.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Attach( 
  884.             /* [in] */ MMC_CONTROL_TYPE nType,
  885.             /* [in] */ LPUNKNOWN lpUnknown) = 0;
  886.         
  887.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Detach( 
  888.             /* [in] */ LPUNKNOWN lpUnknown) = 0;
  889.         
  890.     };
  891.     
  892. #else  /* C style interface */
  893.     typedef struct IControlbarVtbl
  894.     {
  895.         BEGIN_INTERFACE
  896.         
  897.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  898.             IControlbar * This,
  899.             /* [in] */ REFIID riid,
  900.             /* [iid_is][out] */ void **ppvObject);
  901.         
  902.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  903.             IControlbar * This);
  904.         
  905.         ULONG ( STDMETHODCALLTYPE *Release )( 
  906.             IControlbar * This);
  907.         
  908.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Create )( 
  909.             IControlbar * This,
  910.             /* [in] */ MMC_CONTROL_TYPE nType,
  911.             /* [in] */ LPEXTENDCONTROLBAR pExtendControlbar,
  912.             /* [out] */ LPUNKNOWN *ppUnknown);
  913.         
  914.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Attach )( 
  915.             IControlbar * This,
  916.             /* [in] */ MMC_CONTROL_TYPE nType,
  917.             /* [in] */ LPUNKNOWN lpUnknown);
  918.         
  919.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Detach )( 
  920.             IControlbar * This,
  921.             /* [in] */ LPUNKNOWN lpUnknown);
  922.         
  923.         END_INTERFACE
  924.     } IControlbarVtbl;
  925.     interface IControlbar
  926.     {
  927.         CONST_VTBL struct IControlbarVtbl *lpVtbl;
  928.     };
  929.     
  930. #ifdef COBJMACROS
  931. #define IControlbar_QueryInterface(This,riid,ppvObject)
  932.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  933. #define IControlbar_AddRef(This)
  934.     (This)->lpVtbl -> AddRef(This)
  935. #define IControlbar_Release(This)
  936.     (This)->lpVtbl -> Release(This)
  937. #define IControlbar_Create(This,nType,pExtendControlbar,ppUnknown)
  938.     (This)->lpVtbl -> Create(This,nType,pExtendControlbar,ppUnknown)
  939. #define IControlbar_Attach(This,nType,lpUnknown)
  940.     (This)->lpVtbl -> Attach(This,nType,lpUnknown)
  941. #define IControlbar_Detach(This,lpUnknown)
  942.     (This)->lpVtbl -> Detach(This,lpUnknown)
  943. #endif /* COBJMACROS */
  944. #endif  /* C style interface */
  945. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IControlbar_Create_Proxy( 
  946.     IControlbar * This,
  947.     /* [in] */ MMC_CONTROL_TYPE nType,
  948.     /* [in] */ LPEXTENDCONTROLBAR pExtendControlbar,
  949.     /* [out] */ LPUNKNOWN *ppUnknown);
  950. void __RPC_STUB IControlbar_Create_Stub(
  951.     IRpcStubBuffer *This,
  952.     IRpcChannelBuffer *_pRpcChannelBuffer,
  953.     PRPC_MESSAGE _pRpcMessage,
  954.     DWORD *_pdwStubPhase);
  955. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IControlbar_Attach_Proxy( 
  956.     IControlbar * This,
  957.     /* [in] */ MMC_CONTROL_TYPE nType,
  958.     /* [in] */ LPUNKNOWN lpUnknown);
  959. void __RPC_STUB IControlbar_Attach_Stub(
  960.     IRpcStubBuffer *This,
  961.     IRpcChannelBuffer *_pRpcChannelBuffer,
  962.     PRPC_MESSAGE _pRpcMessage,
  963.     DWORD *_pdwStubPhase);
  964. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IControlbar_Detach_Proxy( 
  965.     IControlbar * This,
  966.     /* [in] */ LPUNKNOWN lpUnknown);
  967. void __RPC_STUB IControlbar_Detach_Stub(
  968.     IRpcStubBuffer *This,
  969.     IRpcChannelBuffer *_pRpcChannelBuffer,
  970.     PRPC_MESSAGE _pRpcMessage,
  971.     DWORD *_pdwStubPhase);
  972. #endif  /* __IControlbar_INTERFACE_DEFINED__ */
  973. #ifndef __IExtendControlbar_INTERFACE_DEFINED__
  974. #define __IExtendControlbar_INTERFACE_DEFINED__
  975. /* interface IExtendControlbar */
  976. /* [unique][helpstring][uuid][object] */ 
  977. EXTERN_C const IID IID_IExtendControlbar;
  978. #if defined(__cplusplus) && !defined(CINTERFACE)
  979.     
  980.     MIDL_INTERFACE("49506520-6F40-11D0-A98B-00C04FD8D565")
  981.     IExtendControlbar : public IUnknown
  982.     {
  983.     public:
  984.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetControlbar( 
  985.             /* [in] */ LPCONTROLBAR pControlbar) = 0;
  986.         
  987.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ControlbarNotify( 
  988.             /* [in] */ MMC_NOTIFY_TYPE event,
  989.             /* [in] */ LPARAM arg,
  990.             /* [in] */ LPARAM param) = 0;
  991.         
  992.     };
  993.     
  994. #else  /* C style interface */
  995.     typedef struct IExtendControlbarVtbl
  996.     {
  997.         BEGIN_INTERFACE
  998.         
  999.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1000.             IExtendControlbar * This,
  1001.             /* [in] */ REFIID riid,
  1002.             /* [iid_is][out] */ void **ppvObject);
  1003.         
  1004.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1005.             IExtendControlbar * This);
  1006.         
  1007.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1008.             IExtendControlbar * This);
  1009.         
  1010.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetControlbar )( 
  1011.             IExtendControlbar * This,
  1012.             /* [in] */ LPCONTROLBAR pControlbar);
  1013.         
  1014.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ControlbarNotify )( 
  1015.             IExtendControlbar * This,
  1016.             /* [in] */ MMC_NOTIFY_TYPE event,
  1017.             /* [in] */ LPARAM arg,
  1018.             /* [in] */ LPARAM param);
  1019.         
  1020.         END_INTERFACE
  1021.     } IExtendControlbarVtbl;
  1022.     interface IExtendControlbar
  1023.     {
  1024.         CONST_VTBL struct IExtendControlbarVtbl *lpVtbl;
  1025.     };
  1026.     
  1027. #ifdef COBJMACROS
  1028. #define IExtendControlbar_QueryInterface(This,riid,ppvObject)
  1029.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1030. #define IExtendControlbar_AddRef(This)
  1031.     (This)->lpVtbl -> AddRef(This)
  1032. #define IExtendControlbar_Release(This)
  1033.     (This)->lpVtbl -> Release(This)
  1034. #define IExtendControlbar_SetControlbar(This,pControlbar)
  1035.     (This)->lpVtbl -> SetControlbar(This,pControlbar)
  1036. #define IExtendControlbar_ControlbarNotify(This,event,arg,param)
  1037.     (This)->lpVtbl -> ControlbarNotify(This,event,arg,param)
  1038. #endif /* COBJMACROS */
  1039. #endif  /* C style interface */
  1040. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendControlbar_SetControlbar_Proxy( 
  1041.     IExtendControlbar * This,
  1042.     /* [in] */ LPCONTROLBAR pControlbar);
  1043. void __RPC_STUB IExtendControlbar_SetControlbar_Stub(
  1044.     IRpcStubBuffer *This,
  1045.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1046.     PRPC_MESSAGE _pRpcMessage,
  1047.     DWORD *_pdwStubPhase);
  1048. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendControlbar_ControlbarNotify_Proxy( 
  1049.     IExtendControlbar * This,
  1050.     /* [in] */ MMC_NOTIFY_TYPE event,
  1051.     /* [in] */ LPARAM arg,
  1052.     /* [in] */ LPARAM param);
  1053. void __RPC_STUB IExtendControlbar_ControlbarNotify_Stub(
  1054.     IRpcStubBuffer *This,
  1055.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1056.     PRPC_MESSAGE _pRpcMessage,
  1057.     DWORD *_pdwStubPhase);
  1058. #endif  /* __IExtendControlbar_INTERFACE_DEFINED__ */
  1059. #ifndef __IToolbar_INTERFACE_DEFINED__
  1060. #define __IToolbar_INTERFACE_DEFINED__
  1061. /* interface IToolbar */
  1062. /* [unique][uuid][object] */ 
  1063. EXTERN_C const IID IID_IToolbar;
  1064. #if defined(__cplusplus) && !defined(CINTERFACE)
  1065.     
  1066.     MIDL_INTERFACE("43136EB9-D36C-11CF-ADBC-00AA00A80033")
  1067.     IToolbar : public IUnknown
  1068.     {
  1069.     public:
  1070.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddBitmap( 
  1071.             /* [in] */ int nImages,
  1072.             /* [in] */ HBITMAP hbmp,
  1073.             /* [in] */ int cxSize,
  1074.             /* [in] */ int cySize,
  1075.             /* [in] */ COLORREF crMask) = 0;
  1076.         
  1077.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddButtons( 
  1078.             /* [in] */ int nButtons,
  1079.             /* [in] */ LPMMCBUTTON lpButtons) = 0;
  1080.         
  1081.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertButton( 
  1082.             /* [in] */ int nIndex,
  1083.             /* [in] */ LPMMCBUTTON lpButton) = 0;
  1084.         
  1085.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteButton( 
  1086.             /* [in] */ int nIndex) = 0;
  1087.         
  1088.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetButtonState( 
  1089.             /* [in] */ int idCommand,
  1090.             /* [in] */ MMC_BUTTON_STATE nState,
  1091.             /* [out] */ BOOL *pState) = 0;
  1092.         
  1093.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetButtonState( 
  1094.             /* [in] */ int idCommand,
  1095.             /* [in] */ MMC_BUTTON_STATE nState,
  1096.             /* [in] */ BOOL bState) = 0;
  1097.         
  1098.     };
  1099.     
  1100. #else  /* C style interface */
  1101.     typedef struct IToolbarVtbl
  1102.     {
  1103.         BEGIN_INTERFACE
  1104.         
  1105.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1106.             IToolbar * This,
  1107.             /* [in] */ REFIID riid,
  1108.             /* [iid_is][out] */ void **ppvObject);
  1109.         
  1110.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1111.             IToolbar * This);
  1112.         
  1113.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1114.             IToolbar * This);
  1115.         
  1116.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddBitmap )( 
  1117.             IToolbar * This,
  1118.             /* [in] */ int nImages,
  1119.             /* [in] */ HBITMAP hbmp,
  1120.             /* [in] */ int cxSize,
  1121.             /* [in] */ int cySize,
  1122.             /* [in] */ COLORREF crMask);
  1123.         
  1124.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddButtons )( 
  1125.             IToolbar * This,
  1126.             /* [in] */ int nButtons,
  1127.             /* [in] */ LPMMCBUTTON lpButtons);
  1128.         
  1129.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertButton )( 
  1130.             IToolbar * This,
  1131.             /* [in] */ int nIndex,
  1132.             /* [in] */ LPMMCBUTTON lpButton);
  1133.         
  1134.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteButton )( 
  1135.             IToolbar * This,
  1136.             /* [in] */ int nIndex);
  1137.         
  1138.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetButtonState )( 
  1139.             IToolbar * This,
  1140.             /* [in] */ int idCommand,
  1141.             /* [in] */ MMC_BUTTON_STATE nState,
  1142.             /* [out] */ BOOL *pState);
  1143.         
  1144.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetButtonState )( 
  1145.             IToolbar * This,
  1146.             /* [in] */ int idCommand,
  1147.             /* [in] */ MMC_BUTTON_STATE nState,
  1148.             /* [in] */ BOOL bState);
  1149.         
  1150.         END_INTERFACE
  1151.     } IToolbarVtbl;
  1152.     interface IToolbar
  1153.     {
  1154.         CONST_VTBL struct IToolbarVtbl *lpVtbl;
  1155.     };
  1156.     
  1157. #ifdef COBJMACROS
  1158. #define IToolbar_QueryInterface(This,riid,ppvObject)
  1159.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1160. #define IToolbar_AddRef(This)
  1161.     (This)->lpVtbl -> AddRef(This)
  1162. #define IToolbar_Release(This)
  1163.     (This)->lpVtbl -> Release(This)
  1164. #define IToolbar_AddBitmap(This,nImages,hbmp,cxSize,cySize,crMask)
  1165.     (This)->lpVtbl -> AddBitmap(This,nImages,hbmp,cxSize,cySize,crMask)
  1166. #define IToolbar_AddButtons(This,nButtons,lpButtons)
  1167.     (This)->lpVtbl -> AddButtons(This,nButtons,lpButtons)
  1168. #define IToolbar_InsertButton(This,nIndex,lpButton)
  1169.     (This)->lpVtbl -> InsertButton(This,nIndex,lpButton)
  1170. #define IToolbar_DeleteButton(This,nIndex)
  1171.     (This)->lpVtbl -> DeleteButton(This,nIndex)
  1172. #define IToolbar_GetButtonState(This,idCommand,nState,pState)
  1173.     (This)->lpVtbl -> GetButtonState(This,idCommand,nState,pState)
  1174. #define IToolbar_SetButtonState(This,idCommand,nState,bState)
  1175.     (This)->lpVtbl -> SetButtonState(This,idCommand,nState,bState)
  1176. #endif /* COBJMACROS */
  1177. #endif  /* C style interface */
  1178. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_AddBitmap_Proxy( 
  1179.     IToolbar * This,
  1180.     /* [in] */ int nImages,
  1181.     /* [in] */ HBITMAP hbmp,
  1182.     /* [in] */ int cxSize,
  1183.     /* [in] */ int cySize,
  1184.     /* [in] */ COLORREF crMask);
  1185. void __RPC_STUB IToolbar_AddBitmap_Stub(
  1186.     IRpcStubBuffer *This,
  1187.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1188.     PRPC_MESSAGE _pRpcMessage,
  1189.     DWORD *_pdwStubPhase);
  1190. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_AddButtons_Proxy( 
  1191.     IToolbar * This,
  1192.     /* [in] */ int nButtons,
  1193.     /* [in] */ LPMMCBUTTON lpButtons);
  1194. void __RPC_STUB IToolbar_AddButtons_Stub(
  1195.     IRpcStubBuffer *This,
  1196.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1197.     PRPC_MESSAGE _pRpcMessage,
  1198.     DWORD *_pdwStubPhase);
  1199. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_InsertButton_Proxy( 
  1200.     IToolbar * This,
  1201.     /* [in] */ int nIndex,
  1202.     /* [in] */ LPMMCBUTTON lpButton);
  1203. void __RPC_STUB IToolbar_InsertButton_Stub(
  1204.     IRpcStubBuffer *This,
  1205.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1206.     PRPC_MESSAGE _pRpcMessage,
  1207.     DWORD *_pdwStubPhase);
  1208. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_DeleteButton_Proxy( 
  1209.     IToolbar * This,
  1210.     /* [in] */ int nIndex);
  1211. void __RPC_STUB IToolbar_DeleteButton_Stub(
  1212.     IRpcStubBuffer *This,
  1213.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1214.     PRPC_MESSAGE _pRpcMessage,
  1215.     DWORD *_pdwStubPhase);
  1216. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_GetButtonState_Proxy( 
  1217.     IToolbar * This,
  1218.     /* [in] */ int idCommand,
  1219.     /* [in] */ MMC_BUTTON_STATE nState,
  1220.     /* [out] */ BOOL *pState);
  1221. void __RPC_STUB IToolbar_GetButtonState_Stub(
  1222.     IRpcStubBuffer *This,
  1223.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1224.     PRPC_MESSAGE _pRpcMessage,
  1225.     DWORD *_pdwStubPhase);
  1226. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_SetButtonState_Proxy( 
  1227.     IToolbar * This,
  1228.     /* [in] */ int idCommand,
  1229.     /* [in] */ MMC_BUTTON_STATE nState,
  1230.     /* [in] */ BOOL bState);
  1231. void __RPC_STUB IToolbar_SetButtonState_Stub(
  1232.     IRpcStubBuffer *This,
  1233.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1234.     PRPC_MESSAGE _pRpcMessage,
  1235.     DWORD *_pdwStubPhase);
  1236. #endif  /* __IToolbar_INTERFACE_DEFINED__ */
  1237. #ifndef __IConsoleVerb_INTERFACE_DEFINED__
  1238. #define __IConsoleVerb_INTERFACE_DEFINED__
  1239. /* interface IConsoleVerb */
  1240. /* [unique][uuid][object] */ 
  1241. EXTERN_C const IID IID_IConsoleVerb;
  1242. #if defined(__cplusplus) && !defined(CINTERFACE)
  1243.     
  1244.     MIDL_INTERFACE("E49F7A60-74AF-11D0-A286-00C04FD8FE93")
  1245.     IConsoleVerb : public IUnknown
  1246.     {
  1247.     public:
  1248.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetVerbState( 
  1249.             /* [in] */ MMC_CONSOLE_VERB eCmdID,
  1250.             /* [in] */ MMC_BUTTON_STATE nState,
  1251.             /* [out] */ BOOL *pState) = 0;
  1252.         
  1253.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetVerbState( 
  1254.             /* [in] */ MMC_CONSOLE_VERB eCmdID,
  1255.             /* [in] */ MMC_BUTTON_STATE nState,
  1256.             /* [in] */ BOOL bState) = 0;
  1257.         
  1258.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDefaultVerb( 
  1259.             /* [in] */ MMC_CONSOLE_VERB eCmdID) = 0;
  1260.         
  1261.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDefaultVerb( 
  1262.             /* [out] */ MMC_CONSOLE_VERB *peCmdID) = 0;
  1263.         
  1264.     };
  1265.     
  1266. #else  /* C style interface */
  1267.     typedef struct IConsoleVerbVtbl
  1268.     {
  1269.         BEGIN_INTERFACE
  1270.         
  1271.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1272.             IConsoleVerb * This,
  1273.             /* [in] */ REFIID riid,
  1274.             /* [iid_is][out] */ void **ppvObject);
  1275.         
  1276.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1277.             IConsoleVerb * This);
  1278.         
  1279.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1280.             IConsoleVerb * This);
  1281.         
  1282.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetVerbState )( 
  1283.             IConsoleVerb * This,
  1284.             /* [in] */ MMC_CONSOLE_VERB eCmdID,
  1285.             /* [in] */ MMC_BUTTON_STATE nState,
  1286.             /* [out] */ BOOL *pState);
  1287.         
  1288.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetVerbState )( 
  1289.             IConsoleVerb * This,
  1290.             /* [in] */ MMC_CONSOLE_VERB eCmdID,
  1291.             /* [in] */ MMC_BUTTON_STATE nState,
  1292.             /* [in] */ BOOL bState);
  1293.         
  1294.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetDefaultVerb )( 
  1295.             IConsoleVerb * This,
  1296.             /* [in] */ MMC_CONSOLE_VERB eCmdID);
  1297.         
  1298.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDefaultVerb )( 
  1299.             IConsoleVerb * This,
  1300.             /* [out] */ MMC_CONSOLE_VERB *peCmdID);
  1301.         
  1302.         END_INTERFACE
  1303.     } IConsoleVerbVtbl;
  1304.     interface IConsoleVerb
  1305.     {
  1306.         CONST_VTBL struct IConsoleVerbVtbl *lpVtbl;
  1307.     };
  1308.     
  1309. #ifdef COBJMACROS
  1310. #define IConsoleVerb_QueryInterface(This,riid,ppvObject)
  1311.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1312. #define IConsoleVerb_AddRef(This)
  1313.     (This)->lpVtbl -> AddRef(This)
  1314. #define IConsoleVerb_Release(This)
  1315.     (This)->lpVtbl -> Release(This)
  1316. #define IConsoleVerb_GetVerbState(This,eCmdID,nState,pState)
  1317.     (This)->lpVtbl -> GetVerbState(This,eCmdID,nState,pState)
  1318. #define IConsoleVerb_SetVerbState(This,eCmdID,nState,bState)
  1319.     (This)->lpVtbl -> SetVerbState(This,eCmdID,nState,bState)
  1320. #define IConsoleVerb_SetDefaultVerb(This,eCmdID)
  1321.     (This)->lpVtbl -> SetDefaultVerb(This,eCmdID)
  1322. #define IConsoleVerb_GetDefaultVerb(This,peCmdID)
  1323.     (This)->lpVtbl -> GetDefaultVerb(This,peCmdID)
  1324. #endif /* COBJMACROS */
  1325. #endif  /* C style interface */
  1326. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleVerb_GetVerbState_Proxy( 
  1327.     IConsoleVerb * This,
  1328.     /* [in] */ MMC_CONSOLE_VERB eCmdID,
  1329.     /* [in] */ MMC_BUTTON_STATE nState,
  1330.     /* [out] */ BOOL *pState);
  1331. void __RPC_STUB IConsoleVerb_GetVerbState_Stub(
  1332.     IRpcStubBuffer *This,
  1333.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1334.     PRPC_MESSAGE _pRpcMessage,
  1335.     DWORD *_pdwStubPhase);
  1336. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleVerb_SetVerbState_Proxy( 
  1337.     IConsoleVerb * This,
  1338.     /* [in] */ MMC_CONSOLE_VERB eCmdID,
  1339.     /* [in] */ MMC_BUTTON_STATE nState,
  1340.     /* [in] */ BOOL bState);
  1341. void __RPC_STUB IConsoleVerb_SetVerbState_Stub(
  1342.     IRpcStubBuffer *This,
  1343.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1344.     PRPC_MESSAGE _pRpcMessage,
  1345.     DWORD *_pdwStubPhase);
  1346. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleVerb_SetDefaultVerb_Proxy( 
  1347.     IConsoleVerb * This,
  1348.     /* [in] */ MMC_CONSOLE_VERB eCmdID);
  1349. void __RPC_STUB IConsoleVerb_SetDefaultVerb_Stub(
  1350.     IRpcStubBuffer *This,
  1351.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1352.     PRPC_MESSAGE _pRpcMessage,
  1353.     DWORD *_pdwStubPhase);
  1354. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleVerb_GetDefaultVerb_Proxy( 
  1355.     IConsoleVerb * This,
  1356.     /* [out] */ MMC_CONSOLE_VERB *peCmdID);
  1357. void __RPC_STUB IConsoleVerb_GetDefaultVerb_Stub(
  1358.     IRpcStubBuffer *This,
  1359.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1360.     PRPC_MESSAGE _pRpcMessage,
  1361.     DWORD *_pdwStubPhase);
  1362. #endif  /* __IConsoleVerb_INTERFACE_DEFINED__ */
  1363. #ifndef __ISnapinAbout_INTERFACE_DEFINED__
  1364. #define __ISnapinAbout_INTERFACE_DEFINED__
  1365. /* interface ISnapinAbout */
  1366. /* [unique][uuid][object] */ 
  1367. EXTERN_C const IID IID_ISnapinAbout;
  1368. #if defined(__cplusplus) && !defined(CINTERFACE)
  1369.     
  1370.     MIDL_INTERFACE("1245208C-A151-11D0-A7D7-00C04FD909DD")
  1371.     ISnapinAbout : public IUnknown
  1372.     {
  1373.     public:
  1374.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinDescription( 
  1375.             /* [out] */ LPOLESTR *lpDescription) = 0;
  1376.         
  1377.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProvider( 
  1378.             /* [out] */ LPOLESTR *lpName) = 0;
  1379.         
  1380.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinVersion( 
  1381.             /* [out] */ LPOLESTR *lpVersion) = 0;
  1382.         
  1383.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinImage( 
  1384.             /* [out] */ HICON *hAppIcon) = 0;
  1385.         
  1386.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStaticFolderImage( 
  1387.             /* [out] */ HBITMAP *hSmallImage,
  1388.             /* [out] */ HBITMAP *hSmallImageOpen,
  1389.             /* [out] */ HBITMAP *hLargeImage,
  1390.             /* [out] */ COLORREF *cMask) = 0;
  1391.         
  1392.     };
  1393.     
  1394. #else  /* C style interface */
  1395.     typedef struct ISnapinAboutVtbl
  1396.     {
  1397.         BEGIN_INTERFACE
  1398.         
  1399.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1400.             ISnapinAbout * This,
  1401.             /* [in] */ REFIID riid,
  1402.             /* [iid_is][out] */ void **ppvObject);
  1403.         
  1404.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1405.             ISnapinAbout * This);
  1406.         
  1407.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1408.             ISnapinAbout * This);
  1409.         
  1410.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSnapinDescription )( 
  1411.             ISnapinAbout * This,
  1412.             /* [out] */ LPOLESTR *lpDescription);
  1413.         
  1414.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetProvider )( 
  1415.             ISnapinAbout * This,
  1416.             /* [out] */ LPOLESTR *lpName);
  1417.         
  1418.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSnapinVersion )( 
  1419.             ISnapinAbout * This,
  1420.             /* [out] */ LPOLESTR *lpVersion);
  1421.         
  1422.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSnapinImage )( 
  1423.             ISnapinAbout * This,
  1424.             /* [out] */ HICON *hAppIcon);
  1425.         
  1426.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStaticFolderImage )( 
  1427.             ISnapinAbout * This,
  1428.             /* [out] */ HBITMAP *hSmallImage,
  1429.             /* [out] */ HBITMAP *hSmallImageOpen,
  1430.             /* [out] */ HBITMAP *hLargeImage,
  1431.             /* [out] */ COLORREF *cMask);
  1432.         
  1433.         END_INTERFACE
  1434.     } ISnapinAboutVtbl;
  1435.     interface ISnapinAbout
  1436.     {
  1437.         CONST_VTBL struct ISnapinAboutVtbl *lpVtbl;
  1438.     };
  1439.     
  1440. #ifdef COBJMACROS
  1441. #define ISnapinAbout_QueryInterface(This,riid,ppvObject)
  1442.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1443. #define ISnapinAbout_AddRef(This)
  1444.     (This)->lpVtbl -> AddRef(This)
  1445. #define ISnapinAbout_Release(This)
  1446.     (This)->lpVtbl -> Release(This)
  1447. #define ISnapinAbout_GetSnapinDescription(This,lpDescription)
  1448.     (This)->lpVtbl -> GetSnapinDescription(This,lpDescription)
  1449. #define ISnapinAbout_GetProvider(This,lpName)
  1450.     (This)->lpVtbl -> GetProvider(This,lpName)
  1451. #define ISnapinAbout_GetSnapinVersion(This,lpVersion)
  1452.     (This)->lpVtbl -> GetSnapinVersion(This,lpVersion)
  1453. #define ISnapinAbout_GetSnapinImage(This,hAppIcon)
  1454.     (This)->lpVtbl -> GetSnapinImage(This,hAppIcon)
  1455. #define ISnapinAbout_GetStaticFolderImage(This,hSmallImage,hSmallImageOpen,hLargeImage,cMask)
  1456.     (This)->lpVtbl -> GetStaticFolderImage(This,hSmallImage,hSmallImageOpen,hLargeImage,cMask)
  1457. #endif /* COBJMACROS */
  1458. #endif  /* C style interface */
  1459. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetSnapinDescription_Proxy( 
  1460.     ISnapinAbout * This,
  1461.     /* [out] */ LPOLESTR *lpDescription);
  1462. void __RPC_STUB ISnapinAbout_GetSnapinDescription_Stub(
  1463.     IRpcStubBuffer *This,
  1464.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1465.     PRPC_MESSAGE _pRpcMessage,
  1466.     DWORD *_pdwStubPhase);
  1467. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetProvider_Proxy( 
  1468.     ISnapinAbout * This,
  1469.     /* [out] */ LPOLESTR *lpName);
  1470. void __RPC_STUB ISnapinAbout_GetProvider_Stub(
  1471.     IRpcStubBuffer *This,
  1472.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1473.     PRPC_MESSAGE _pRpcMessage,
  1474.     DWORD *_pdwStubPhase);
  1475. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetSnapinVersion_Proxy( 
  1476.     ISnapinAbout * This,
  1477.     /* [out] */ LPOLESTR *lpVersion);
  1478. void __RPC_STUB ISnapinAbout_GetSnapinVersion_Stub(
  1479.     IRpcStubBuffer *This,
  1480.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1481.     PRPC_MESSAGE _pRpcMessage,
  1482.     DWORD *_pdwStubPhase);
  1483. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetSnapinImage_Proxy( 
  1484.     ISnapinAbout * This,
  1485.     /* [out] */ HICON *hAppIcon);
  1486. void __RPC_STUB ISnapinAbout_GetSnapinImage_Stub(
  1487.     IRpcStubBuffer *This,
  1488.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1489.     PRPC_MESSAGE _pRpcMessage,
  1490.     DWORD *_pdwStubPhase);
  1491. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetStaticFolderImage_Proxy( 
  1492.     ISnapinAbout * This,
  1493.     /* [out] */ HBITMAP *hSmallImage,
  1494.     /* [out] */ HBITMAP *hSmallImageOpen,
  1495.     /* [out] */ HBITMAP *hLargeImage,
  1496.     /* [out] */ COLORREF *cMask);
  1497. void __RPC_STUB ISnapinAbout_GetStaticFolderImage_Stub(
  1498.     IRpcStubBuffer *This,
  1499.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1500.     PRPC_MESSAGE _pRpcMessage,
  1501.     DWORD *_pdwStubPhase);
  1502. #endif  /* __ISnapinAbout_INTERFACE_DEFINED__ */
  1503. #ifndef __IMenuButton_INTERFACE_DEFINED__
  1504. #define __IMenuButton_INTERFACE_DEFINED__
  1505. /* interface IMenuButton */
  1506. /* [unique][uuid][object] */ 
  1507. EXTERN_C const IID IID_IMenuButton;
  1508. #if defined(__cplusplus) && !defined(CINTERFACE)
  1509.     
  1510.     MIDL_INTERFACE("951ED750-D080-11d0-B197-000000000000")
  1511.     IMenuButton : public IUnknown
  1512.     {
  1513.     public:
  1514.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddButton( 
  1515.             /* [in] */ int idCommand,
  1516.             /* [in] */ LPOLESTR lpButtonText,
  1517.             /* [in] */ LPOLESTR lpTooltipText) = 0;
  1518.         
  1519.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetButton( 
  1520.             /* [in] */ int idCommand,
  1521.             /* [in] */ LPOLESTR lpButtonText,
  1522.             /* [in] */ LPOLESTR lpTooltipText) = 0;
  1523.         
  1524.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetButtonState( 
  1525.             /* [in] */ int idCommand,
  1526.             /* [in] */ MMC_BUTTON_STATE nState,
  1527.             /* [in] */ BOOL bState) = 0;
  1528.         
  1529.     };
  1530.     
  1531. #else  /* C style interface */
  1532.     typedef struct IMenuButtonVtbl
  1533.     {
  1534.         BEGIN_INTERFACE
  1535.         
  1536.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1537.             IMenuButton * This,
  1538.             /* [in] */ REFIID riid,
  1539.             /* [iid_is][out] */ void **ppvObject);
  1540.         
  1541.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1542.             IMenuButton * This);
  1543.         
  1544.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1545.             IMenuButton * This);
  1546.         
  1547.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddButton )( 
  1548.             IMenuButton * This,
  1549.             /* [in] */ int idCommand,
  1550.             /* [in] */ LPOLESTR lpButtonText,
  1551.             /* [in] */ LPOLESTR lpTooltipText);
  1552.         
  1553.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetButton )( 
  1554.             IMenuButton * This,
  1555.             /* [in] */ int idCommand,
  1556.             /* [in] */ LPOLESTR lpButtonText,
  1557.             /* [in] */ LPOLESTR lpTooltipText);
  1558.         
  1559.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetButtonState )( 
  1560.             IMenuButton * This,
  1561.             /* [in] */ int idCommand,
  1562.             /* [in] */ MMC_BUTTON_STATE nState,
  1563.             /* [in] */ BOOL bState);
  1564.         
  1565.         END_INTERFACE
  1566.     } IMenuButtonVtbl;
  1567.     interface IMenuButton
  1568.     {
  1569.         CONST_VTBL struct IMenuButtonVtbl *lpVtbl;
  1570.     };
  1571.     
  1572. #ifdef COBJMACROS
  1573. #define IMenuButton_QueryInterface(This,riid,ppvObject)
  1574.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1575. #define IMenuButton_AddRef(This)
  1576.     (This)->lpVtbl -> AddRef(This)
  1577. #define IMenuButton_Release(This)
  1578.     (This)->lpVtbl -> Release(This)
  1579. #define IMenuButton_AddButton(This,idCommand,lpButtonText,lpTooltipText)
  1580.     (This)->lpVtbl -> AddButton(This,idCommand,lpButtonText,lpTooltipText)
  1581. #define IMenuButton_SetButton(This,idCommand,lpButtonText,lpTooltipText)
  1582.     (This)->lpVtbl -> SetButton(This,idCommand,lpButtonText,lpTooltipText)
  1583. #define IMenuButton_SetButtonState(This,idCommand,nState,bState)
  1584.     (This)->lpVtbl -> SetButtonState(This,idCommand,nState,bState)
  1585. #endif /* COBJMACROS */
  1586. #endif  /* C style interface */
  1587. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMenuButton_AddButton_Proxy( 
  1588.     IMenuButton * This,
  1589.     /* [in] */ int idCommand,
  1590.     /* [in] */ LPOLESTR lpButtonText,
  1591.     /* [in] */ LPOLESTR lpTooltipText);
  1592. void __RPC_STUB IMenuButton_AddButton_Stub(
  1593.     IRpcStubBuffer *This,
  1594.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1595.     PRPC_MESSAGE _pRpcMessage,
  1596.     DWORD *_pdwStubPhase);
  1597. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMenuButton_SetButton_Proxy( 
  1598.     IMenuButton * This,
  1599.     /* [in] */ int idCommand,
  1600.     /* [in] */ LPOLESTR lpButtonText,
  1601.     /* [in] */ LPOLESTR lpTooltipText);
  1602. void __RPC_STUB IMenuButton_SetButton_Stub(
  1603.     IRpcStubBuffer *This,
  1604.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1605.     PRPC_MESSAGE _pRpcMessage,
  1606.     DWORD *_pdwStubPhase);
  1607. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMenuButton_SetButtonState_Proxy( 
  1608.     IMenuButton * This,
  1609.     /* [in] */ int idCommand,
  1610.     /* [in] */ MMC_BUTTON_STATE nState,
  1611.     /* [in] */ BOOL bState);
  1612. void __RPC_STUB IMenuButton_SetButtonState_Stub(
  1613.     IRpcStubBuffer *This,
  1614.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1615.     PRPC_MESSAGE _pRpcMessage,
  1616.     DWORD *_pdwStubPhase);
  1617. #endif  /* __IMenuButton_INTERFACE_DEFINED__ */
  1618. #ifndef __ISnapinHelp_INTERFACE_DEFINED__
  1619. #define __ISnapinHelp_INTERFACE_DEFINED__
  1620. /* interface ISnapinHelp */
  1621. /* [unique][uuid][object] */ 
  1622. EXTERN_C const IID IID_ISnapinHelp;
  1623. #if defined(__cplusplus) && !defined(CINTERFACE)
  1624.     
  1625.     MIDL_INTERFACE("A6B15ACE-DF59-11D0-A7DD-00C04FD909DD")
  1626.     ISnapinHelp : public IUnknown
  1627.     {
  1628.     public:
  1629.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetHelpTopic( 
  1630.             /* [out] */ LPOLESTR *lpCompiledHelpFile) = 0;
  1631.         
  1632.     };
  1633.     
  1634. #else  /* C style interface */
  1635.     typedef struct ISnapinHelpVtbl
  1636.     {
  1637.         BEGIN_INTERFACE
  1638.         
  1639.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1640.             ISnapinHelp * This,
  1641.             /* [in] */ REFIID riid,
  1642.             /* [iid_is][out] */ void **ppvObject);
  1643.         
  1644.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1645.             ISnapinHelp * This);
  1646.         
  1647.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1648.             ISnapinHelp * This);
  1649.         
  1650.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetHelpTopic )( 
  1651.             ISnapinHelp * This,
  1652.             /* [out] */ LPOLESTR *lpCompiledHelpFile);
  1653.         
  1654.         END_INTERFACE
  1655.     } ISnapinHelpVtbl;
  1656.     interface ISnapinHelp
  1657.     {
  1658.         CONST_VTBL struct ISnapinHelpVtbl *lpVtbl;
  1659.     };
  1660.     
  1661. #ifdef COBJMACROS
  1662. #define ISnapinHelp_QueryInterface(This,riid,ppvObject)
  1663.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1664. #define ISnapinHelp_AddRef(This)
  1665.     (This)->lpVtbl -> AddRef(This)
  1666. #define ISnapinHelp_Release(This)
  1667.     (This)->lpVtbl -> Release(This)
  1668. #define ISnapinHelp_GetHelpTopic(This,lpCompiledHelpFile)
  1669.     (This)->lpVtbl -> GetHelpTopic(This,lpCompiledHelpFile)
  1670. #endif /* COBJMACROS */
  1671. #endif  /* C style interface */
  1672. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinHelp_GetHelpTopic_Proxy( 
  1673.     ISnapinHelp * This,
  1674.     /* [out] */ LPOLESTR *lpCompiledHelpFile);
  1675. void __RPC_STUB ISnapinHelp_GetHelpTopic_Stub(
  1676.     IRpcStubBuffer *This,
  1677.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1678.     PRPC_MESSAGE _pRpcMessage,
  1679.     DWORD *_pdwStubPhase);
  1680. #endif  /* __ISnapinHelp_INTERFACE_DEFINED__ */
  1681. /* interface __MIDL_itf_mmc_0134 */
  1682. /* [local] */ 
  1683. #if (MMC_VER >= 0x0110)
  1684. extern RPC_IF_HANDLE __MIDL_itf_mmc_0134_v0_0_c_ifspec;
  1685. extern RPC_IF_HANDLE __MIDL_itf_mmc_0134_v0_0_s_ifspec;
  1686. #ifndef __IExtendPropertySheet2_INTERFACE_DEFINED__
  1687. #define __IExtendPropertySheet2_INTERFACE_DEFINED__
  1688. /* interface IExtendPropertySheet2 */
  1689. /* [unique][helpstring][uuid][object] */ 
  1690. EXTERN_C const IID IID_IExtendPropertySheet2;
  1691. #if defined(__cplusplus) && !defined(CINTERFACE)
  1692.     
  1693.     MIDL_INTERFACE("B7A87232-4A51-11D1-A7EA-00C04FD909DD")
  1694.     IExtendPropertySheet2 : public IExtendPropertySheet
  1695.     {
  1696.     public:
  1697.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetWatermarks( 
  1698.             /* [in] */ LPDATAOBJECT lpIDataObject,
  1699.             /* [out] */ HBITMAP *lphWatermark,
  1700.             /* [out] */ HBITMAP *lphHeader,
  1701.             /* [out] */ HPALETTE *lphPalette,
  1702.             /* [out] */ BOOL *bStretch) = 0;
  1703.         
  1704.     };
  1705.     
  1706. #else  /* C style interface */
  1707.     typedef struct IExtendPropertySheet2Vtbl
  1708.     {
  1709.         BEGIN_INTERFACE
  1710.         
  1711.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1712.             IExtendPropertySheet2 * This,
  1713.             /* [in] */ REFIID riid,
  1714.             /* [iid_is][out] */ void **ppvObject);
  1715.         
  1716.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1717.             IExtendPropertySheet2 * This);
  1718.         
  1719.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1720.             IExtendPropertySheet2 * This);
  1721.         
  1722.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreatePropertyPages )( 
  1723.             IExtendPropertySheet2 * This,
  1724.             /* [in] */ LPPROPERTYSHEETCALLBACK lpProvider,
  1725.             /* [in] */ LONG_PTR handle,
  1726.             /* [in] */ LPDATAOBJECT lpIDataObject);
  1727.         
  1728.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryPagesFor )( 
  1729.             IExtendPropertySheet2 * This,
  1730.             /* [in] */ LPDATAOBJECT lpDataObject);
  1731.         
  1732.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetWatermarks )( 
  1733.             IExtendPropertySheet2 * This,
  1734.             /* [in] */ LPDATAOBJECT lpIDataObject,
  1735.             /* [out] */ HBITMAP *lphWatermark,
  1736.             /* [out] */ HBITMAP *lphHeader,
  1737.             /* [out] */ HPALETTE *lphPalette,
  1738.             /* [out] */ BOOL *bStretch);
  1739.         
  1740.         END_INTERFACE
  1741.     } IExtendPropertySheet2Vtbl;
  1742.     interface IExtendPropertySheet2
  1743.     {
  1744.         CONST_VTBL struct IExtendPropertySheet2Vtbl *lpVtbl;
  1745.     };
  1746.     
  1747. #ifdef COBJMACROS
  1748. #define IExtendPropertySheet2_QueryInterface(This,riid,ppvObject)
  1749.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1750. #define IExtendPropertySheet2_AddRef(This)
  1751.     (This)->lpVtbl -> AddRef(This)
  1752. #define IExtendPropertySheet2_Release(This)
  1753.     (This)->lpVtbl -> Release(This)
  1754. #define IExtendPropertySheet2_CreatePropertyPages(This,lpProvider,handle,lpIDataObject)
  1755.     (This)->lpVtbl -> CreatePropertyPages(This,lpProvider,handle,lpIDataObject)
  1756. #define IExtendPropertySheet2_QueryPagesFor(This,lpDataObject)
  1757.     (This)->lpVtbl -> QueryPagesFor(This,lpDataObject)
  1758. #define IExtendPropertySheet2_GetWatermarks(This,lpIDataObject,lphWatermark,lphHeader,lphPalette,bStretch)
  1759.     (This)->lpVtbl -> GetWatermarks(This,lpIDataObject,lphWatermark,lphHeader,lphPalette,bStretch)
  1760. #endif /* COBJMACROS */
  1761. #endif  /* C style interface */
  1762. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendPropertySheet2_GetWatermarks_Proxy( 
  1763.     IExtendPropertySheet2 * This,
  1764.     /* [in] */ LPDATAOBJECT lpIDataObject,
  1765.     /* [out] */ HBITMAP *lphWatermark,
  1766.     /* [out] */ HBITMAP *lphHeader,
  1767.     /* [out] */ HPALETTE *lphPalette,
  1768.     /* [out] */ BOOL *bStretch);
  1769. void __RPC_STUB IExtendPropertySheet2_GetWatermarks_Stub(
  1770.     IRpcStubBuffer *This,
  1771.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1772.     PRPC_MESSAGE _pRpcMessage,
  1773.     DWORD *_pdwStubPhase);
  1774. #endif  /* __IExtendPropertySheet2_INTERFACE_DEFINED__ */
  1775. #ifndef __IHeaderCtrl2_INTERFACE_DEFINED__
  1776. #define __IHeaderCtrl2_INTERFACE_DEFINED__
  1777. /* interface IHeaderCtrl2 */
  1778. /* [unique][helpstring][uuid][object] */ 
  1779. EXTERN_C const IID IID_IHeaderCtrl2;
  1780. #if defined(__cplusplus) && !defined(CINTERFACE)
  1781.     
  1782.     MIDL_INTERFACE("9757abb8-1b32-11d1-a7ce-00c04fd8d565")
  1783.     IHeaderCtrl2 : public IHeaderCtrl
  1784.     {
  1785.     public:
  1786.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetChangeTimeOut( 
  1787.             /* [in] */ unsigned long uTimeout) = 0;
  1788.         
  1789.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetColumnFilter( 
  1790.             /* [in] */ UINT nColumn,
  1791.             /* [in] */ DWORD dwType,
  1792.             /* [in] */ MMC_FILTERDATA *pFilterData) = 0;
  1793.         
  1794.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetColumnFilter( 
  1795.             /* [in] */ UINT nColumn,
  1796.             /* [out][in] */ LPDWORD pdwType,
  1797.             /* [out][in] */ MMC_FILTERDATA *pFilterData) = 0;
  1798.         
  1799.     };
  1800.     
  1801. #else  /* C style interface */
  1802.     typedef struct IHeaderCtrl2Vtbl
  1803.     {
  1804.         BEGIN_INTERFACE
  1805.         
  1806.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1807.             IHeaderCtrl2 * This,
  1808.             /* [in] */ REFIID riid,
  1809.             /* [iid_is][out] */ void **ppvObject);
  1810.         
  1811.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1812.             IHeaderCtrl2 * This);
  1813.         
  1814.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1815.             IHeaderCtrl2 * This);
  1816.         
  1817.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertColumn )( 
  1818.             IHeaderCtrl2 * This,
  1819.             /* [in] */ int nCol,
  1820.             /* [in] */ LPCWSTR title,
  1821.             /* [in] */ int nFormat,
  1822.             /* [in] */ int nWidth);
  1823.         
  1824.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteColumn )( 
  1825.             IHeaderCtrl2 * This,
  1826.             /* [in] */ int nCol);
  1827.         
  1828.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnText )( 
  1829.             IHeaderCtrl2 * This,
  1830.             /* [in] */ int nCol,
  1831.             /* [in] */ LPCWSTR title);
  1832.         
  1833.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnText )( 
  1834.             IHeaderCtrl2 * This,
  1835.             /* [in] */ int nCol,
  1836.             /* [out] */ LPOLESTR *pText);
  1837.         
  1838.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnWidth )( 
  1839.             IHeaderCtrl2 * This,
  1840.             /* [in] */ int nCol,
  1841.             /* [in] */ int nWidth);
  1842.         
  1843.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnWidth )( 
  1844.             IHeaderCtrl2 * This,
  1845.             /* [in] */ int nCol,
  1846.             /* [out] */ int *pWidth);
  1847.         
  1848.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetChangeTimeOut )( 
  1849.             IHeaderCtrl2 * This,
  1850.             /* [in] */ unsigned long uTimeout);
  1851.         
  1852.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnFilter )( 
  1853.             IHeaderCtrl2 * This,
  1854.             /* [in] */ UINT nColumn,
  1855.             /* [in] */ DWORD dwType,
  1856.             /* [in] */ MMC_FILTERDATA *pFilterData);
  1857.         
  1858.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnFilter )( 
  1859.             IHeaderCtrl2 * This,
  1860.             /* [in] */ UINT nColumn,
  1861.             /* [out][in] */ LPDWORD pdwType,
  1862.             /* [out][in] */ MMC_FILTERDATA *pFilterData);
  1863.         
  1864.         END_INTERFACE
  1865.     } IHeaderCtrl2Vtbl;
  1866.     interface IHeaderCtrl2
  1867.     {
  1868.         CONST_VTBL struct IHeaderCtrl2Vtbl *lpVtbl;
  1869.     };
  1870.     
  1871. #ifdef COBJMACROS
  1872. #define IHeaderCtrl2_QueryInterface(This,riid,ppvObject)
  1873.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1874. #define IHeaderCtrl2_AddRef(This)
  1875.     (This)->lpVtbl -> AddRef(This)
  1876. #define IHeaderCtrl2_Release(This)
  1877.     (This)->lpVtbl -> Release(This)
  1878. #define IHeaderCtrl2_InsertColumn(This,nCol,title,nFormat,nWidth)
  1879.     (This)->lpVtbl -> InsertColumn(This,nCol,title,nFormat,nWidth)
  1880. #define IHeaderCtrl2_DeleteColumn(This,nCol)
  1881.     (This)->lpVtbl -> DeleteColumn(This,nCol)
  1882. #define IHeaderCtrl2_SetColumnText(This,nCol,title)
  1883.     (This)->lpVtbl -> SetColumnText(This,nCol,title)
  1884. #define IHeaderCtrl2_GetColumnText(This,nCol,pText)
  1885.     (This)->lpVtbl -> GetColumnText(This,nCol,pText)
  1886. #define IHeaderCtrl2_SetColumnWidth(This,nCol,nWidth)
  1887.     (This)->lpVtbl -> SetColumnWidth(This,nCol,nWidth)
  1888. #define IHeaderCtrl2_GetColumnWidth(This,nCol,pWidth)
  1889.     (This)->lpVtbl -> GetColumnWidth(This,nCol,pWidth)
  1890. #define IHeaderCtrl2_SetChangeTimeOut(This,uTimeout)
  1891.     (This)->lpVtbl -> SetChangeTimeOut(This,uTimeout)
  1892. #define IHeaderCtrl2_SetColumnFilter(This,nColumn,dwType,pFilterData)
  1893.     (This)->lpVtbl -> SetColumnFilter(This,nColumn,dwType,pFilterData)
  1894. #define IHeaderCtrl2_GetColumnFilter(This,nColumn,pdwType,pFilterData)
  1895.     (This)->lpVtbl -> GetColumnFilter(This,nColumn,pdwType,pFilterData)
  1896. #endif /* COBJMACROS */
  1897. #endif  /* C style interface */
  1898. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl2_SetChangeTimeOut_Proxy( 
  1899.     IHeaderCtrl2 * This,
  1900.     /* [in] */ unsigned long uTimeout);
  1901. void __RPC_STUB IHeaderCtrl2_SetChangeTimeOut_Stub(
  1902.     IRpcStubBuffer *This,
  1903.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1904.     PRPC_MESSAGE _pRpcMessage,
  1905.     DWORD *_pdwStubPhase);
  1906. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl2_SetColumnFilter_Proxy( 
  1907.     IHeaderCtrl2 * This,
  1908.     /* [in] */ UINT nColumn,
  1909.     /* [in] */ DWORD dwType,
  1910.     /* [in] */ MMC_FILTERDATA *pFilterData);
  1911. void __RPC_STUB IHeaderCtrl2_SetColumnFilter_Stub(
  1912.     IRpcStubBuffer *This,
  1913.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1914.     PRPC_MESSAGE _pRpcMessage,
  1915.     DWORD *_pdwStubPhase);
  1916. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl2_GetColumnFilter_Proxy( 
  1917.     IHeaderCtrl2 * This,
  1918.     /* [in] */ UINT nColumn,
  1919.     /* [out][in] */ LPDWORD pdwType,
  1920.     /* [out][in] */ MMC_FILTERDATA *pFilterData);
  1921. void __RPC_STUB IHeaderCtrl2_GetColumnFilter_Stub(
  1922.     IRpcStubBuffer *This,
  1923.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1924.     PRPC_MESSAGE _pRpcMessage,
  1925.     DWORD *_pdwStubPhase);
  1926. #endif  /* __IHeaderCtrl2_INTERFACE_DEFINED__ */
  1927. #ifndef __ISnapinHelp2_INTERFACE_DEFINED__
  1928. #define __ISnapinHelp2_INTERFACE_DEFINED__
  1929. /* interface ISnapinHelp2 */
  1930. /* [unique][helpstring][uuid][object] */ 
  1931. EXTERN_C const IID IID_ISnapinHelp2;
  1932. #if defined(__cplusplus) && !defined(CINTERFACE)
  1933.     
  1934.     MIDL_INTERFACE("4861A010-20F9-11d2-A510-00C04FB6DD2C")
  1935.     ISnapinHelp2 : public ISnapinHelp
  1936.     {
  1937.     public:
  1938.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLinkedTopics( 
  1939.             /* [out] */ LPOLESTR *lpCompiledHelpFiles) = 0;
  1940.         
  1941.     };
  1942.     
  1943. #else  /* C style interface */
  1944.     typedef struct ISnapinHelp2Vtbl
  1945.     {
  1946.         BEGIN_INTERFACE
  1947.         
  1948.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1949.             ISnapinHelp2 * This,
  1950.             /* [in] */ REFIID riid,
  1951.             /* [iid_is][out] */ void **ppvObject);
  1952.         
  1953.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1954.             ISnapinHelp2 * This);
  1955.         
  1956.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1957.             ISnapinHelp2 * This);
  1958.         
  1959.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetHelpTopic )( 
  1960.             ISnapinHelp2 * This,
  1961.             /* [out] */ LPOLESTR *lpCompiledHelpFile);
  1962.         
  1963.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLinkedTopics )( 
  1964.             ISnapinHelp2 * This,
  1965.             /* [out] */ LPOLESTR *lpCompiledHelpFiles);
  1966.         
  1967.         END_INTERFACE
  1968.     } ISnapinHelp2Vtbl;
  1969.     interface ISnapinHelp2
  1970.     {
  1971.         CONST_VTBL struct ISnapinHelp2Vtbl *lpVtbl;
  1972.     };
  1973.     
  1974. #ifdef COBJMACROS
  1975. #define ISnapinHelp2_QueryInterface(This,riid,ppvObject)
  1976.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1977. #define ISnapinHelp2_AddRef(This)
  1978.     (This)->lpVtbl -> AddRef(This)
  1979. #define ISnapinHelp2_Release(This)
  1980.     (This)->lpVtbl -> Release(This)
  1981. #define ISnapinHelp2_GetHelpTopic(This,lpCompiledHelpFile)
  1982.     (This)->lpVtbl -> GetHelpTopic(This,lpCompiledHelpFile)
  1983. #define ISnapinHelp2_GetLinkedTopics(This,lpCompiledHelpFiles)
  1984.     (This)->lpVtbl -> GetLinkedTopics(This,lpCompiledHelpFiles)
  1985. #endif /* COBJMACROS */
  1986. #endif  /* C style interface */
  1987. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinHelp2_GetLinkedTopics_Proxy( 
  1988.     ISnapinHelp2 * This,
  1989.     /* [out] */ LPOLESTR *lpCompiledHelpFiles);
  1990. void __RPC_STUB ISnapinHelp2_GetLinkedTopics_Stub(
  1991.     IRpcStubBuffer *This,
  1992.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1993.     PRPC_MESSAGE _pRpcMessage,
  1994.     DWORD *_pdwStubPhase);
  1995. #endif  /* __ISnapinHelp2_INTERFACE_DEFINED__ */
  1996. /* interface __MIDL_itf_mmc_0137 */
  1997. /* [local] */ 
  1998. typedef 
  1999. enum _MMC_TASK_DISPLAY_TYPE
  2000.     { MMC_TASK_DISPLAY_UNINITIALIZED = 0,
  2001. MMC_TASK_DISPLAY_TYPE_SYMBOL = MMC_TASK_DISPLAY_UNINITIALIZED + 1,
  2002. MMC_TASK_DISPLAY_TYPE_VANILLA_GIF = MMC_TASK_DISPLAY_TYPE_SYMBOL + 1,
  2003. MMC_TASK_DISPLAY_TYPE_CHOCOLATE_GIF = MMC_TASK_DISPLAY_TYPE_VANILLA_GIF + 1,
  2004. MMC_TASK_DISPLAY_TYPE_BITMAP = MMC_TASK_DISPLAY_TYPE_CHOCOLATE_GIF + 1
  2005.     }  MMC_TASK_DISPLAY_TYPE;
  2006. typedef struct _MMC_TASK_DISPLAY_SYMBOL
  2007.     {
  2008.     LPOLESTR szFontFamilyName;
  2009.     LPOLESTR szURLtoEOT;
  2010.     LPOLESTR szSymbolString;
  2011.     }  MMC_TASK_DISPLAY_SYMBOL;
  2012. typedef struct _MMC_TASK_DISPLAY_BITMAP
  2013.     {
  2014.     LPOLESTR szMouseOverBitmap;
  2015.     LPOLESTR szMouseOffBitmap;
  2016.     }  MMC_TASK_DISPLAY_BITMAP;
  2017. typedef struct _MMC_TASK_DISPLAY_OBJECT
  2018.     {
  2019.     MMC_TASK_DISPLAY_TYPE eDisplayType;
  2020.     /* [switch_is][switch_type] */ union 
  2021.         {
  2022.         /* [case()] */ MMC_TASK_DISPLAY_BITMAP uBitmap;
  2023.         /* [case()] */ MMC_TASK_DISPLAY_SYMBOL uSymbol;
  2024.         /* [default] */  /* Empty union arm */ 
  2025.         }  ;
  2026.     }  MMC_TASK_DISPLAY_OBJECT;
  2027. typedef 
  2028. enum _MMC_ACTION_TYPE
  2029.     { MMC_ACTION_UNINITIALIZED = -1,
  2030. MMC_ACTION_ID = MMC_ACTION_UNINITIALIZED + 1,
  2031. MMC_ACTION_LINK = MMC_ACTION_ID + 1,
  2032. MMC_ACTION_SCRIPT = MMC_ACTION_LINK + 1
  2033.     }  MMC_ACTION_TYPE;
  2034. typedef struct _MMC_TASK
  2035.     {
  2036.     MMC_TASK_DISPLAY_OBJECT sDisplayObject;
  2037.     LPOLESTR szText;
  2038.     LPOLESTR szHelpString;
  2039.     MMC_ACTION_TYPE eActionType;
  2040.     union 
  2041.         {
  2042.         LONG_PTR nCommandID;
  2043.         LPOLESTR szActionURL;
  2044.         LPOLESTR szScript;
  2045.         }  ;
  2046.     }  MMC_TASK;
  2047. typedef struct _MMC_LISTPAD_INFO
  2048.     {
  2049.     LPOLESTR szTitle;
  2050.     LPOLESTR szButtonText;
  2051.     LONG_PTR nCommandID;
  2052.     }  MMC_LISTPAD_INFO;
  2053. typedef DWORD MMC_STRING_ID;
  2054. extern RPC_IF_HANDLE __MIDL_itf_mmc_0137_v0_0_c_ifspec;
  2055. extern RPC_IF_HANDLE __MIDL_itf_mmc_0137_v0_0_s_ifspec;
  2056. #ifndef __IEnumTASK_INTERFACE_DEFINED__
  2057. #define __IEnumTASK_INTERFACE_DEFINED__
  2058. /* interface IEnumTASK */
  2059. /* [unique][helpstring][uuid][object][local] */ 
  2060. EXTERN_C const IID IID_IEnumTASK;
  2061. #if defined(__cplusplus) && !defined(CINTERFACE)
  2062.     
  2063.     MIDL_INTERFACE("338698b1-5a02-11d1-9fec-00600832db4a")
  2064.     IEnumTASK : public IUnknown
  2065.     {
  2066.     public:
  2067.         virtual HRESULT STDMETHODCALLTYPE Next( 
  2068.             /* [in] */ ULONG celt,
  2069.             /* [length_is][size_is][out] */ MMC_TASK *rgelt,
  2070.             /* [out] */ ULONG *pceltFetched) = 0;
  2071.         
  2072.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  2073.             /* [in] */ ULONG celt) = 0;
  2074.         
  2075.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2076.         
  2077.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  2078.             /* [out] */ IEnumTASK **ppenum) = 0;
  2079.         
  2080.     };
  2081.     
  2082. #else  /* C style interface */
  2083.     typedef struct IEnumTASKVtbl
  2084.     {
  2085.         BEGIN_INTERFACE
  2086.         
  2087.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2088.             IEnumTASK * This,
  2089.             /* [in] */ REFIID riid,
  2090.             /* [iid_is][out] */ void **ppvObject);
  2091.         
  2092.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2093.             IEnumTASK * This);
  2094.         
  2095.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2096.             IEnumTASK * This);
  2097.         
  2098.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  2099.             IEnumTASK * This,
  2100.             /* [in] */ ULONG celt,
  2101.             /* [length_is][size_is][out] */ MMC_TASK *rgelt,
  2102.             /* [out] */ ULONG *pceltFetched);
  2103.         
  2104.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  2105.             IEnumTASK * This,
  2106.             /* [in] */ ULONG celt);
  2107.         
  2108.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2109.             IEnumTASK * This);
  2110.         
  2111.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  2112.             IEnumTASK * This,
  2113.             /* [out] */ IEnumTASK **ppenum);
  2114.         
  2115.         END_INTERFACE
  2116.     } IEnumTASKVtbl;
  2117.     interface IEnumTASK
  2118.     {
  2119.         CONST_VTBL struct IEnumTASKVtbl *lpVtbl;
  2120.     };
  2121.     
  2122. #ifdef COBJMACROS
  2123. #define IEnumTASK_QueryInterface(This,riid,ppvObject)
  2124.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2125. #define IEnumTASK_AddRef(This)
  2126.     (This)->lpVtbl -> AddRef(This)
  2127. #define IEnumTASK_Release(This)
  2128.     (This)->lpVtbl -> Release(This)
  2129. #define IEnumTASK_Next(This,celt,rgelt,pceltFetched)
  2130.     (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  2131. #define IEnumTASK_Skip(This,celt)
  2132.     (This)->lpVtbl -> Skip(This,celt)
  2133. #define IEnumTASK_Reset(This)
  2134.     (This)->lpVtbl -> Reset(This)
  2135. #define IEnumTASK_Clone(This,ppenum)
  2136.     (This)->lpVtbl -> Clone(This,ppenum)
  2137. #endif /* COBJMACROS */
  2138. #endif  /* C style interface */
  2139. HRESULT STDMETHODCALLTYPE IEnumTASK_Next_Proxy( 
  2140.     IEnumTASK * This,
  2141.     /* [in] */ ULONG celt,
  2142.     /* [length_is][size_is][out] */ MMC_TASK *rgelt,
  2143.     /* [out] */ ULONG *pceltFetched);
  2144. void __RPC_STUB IEnumTASK_Next_Stub(
  2145.     IRpcStubBuffer *This,
  2146.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2147.     PRPC_MESSAGE _pRpcMessage,
  2148.     DWORD *_pdwStubPhase);
  2149. HRESULT STDMETHODCALLTYPE IEnumTASK_Skip_Proxy( 
  2150.     IEnumTASK * This,
  2151.     /* [in] */ ULONG celt);
  2152. void __RPC_STUB IEnumTASK_Skip_Stub(
  2153.     IRpcStubBuffer *This,
  2154.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2155.     PRPC_MESSAGE _pRpcMessage,
  2156.     DWORD *_pdwStubPhase);
  2157. HRESULT STDMETHODCALLTYPE IEnumTASK_Reset_Proxy( 
  2158.     IEnumTASK * This);
  2159. void __RPC_STUB IEnumTASK_Reset_Stub(
  2160.     IRpcStubBuffer *This,
  2161.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2162.     PRPC_MESSAGE _pRpcMessage,
  2163.     DWORD *_pdwStubPhase);
  2164. HRESULT STDMETHODCALLTYPE IEnumTASK_Clone_Proxy( 
  2165.     IEnumTASK * This,
  2166.     /* [out] */ IEnumTASK **ppenum);
  2167. void __RPC_STUB IEnumTASK_Clone_Stub(
  2168.     IRpcStubBuffer *This,
  2169.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2170.     PRPC_MESSAGE _pRpcMessage,
  2171.     DWORD *_pdwStubPhase);
  2172. #endif  /* __IEnumTASK_INTERFACE_DEFINED__ */
  2173. #ifndef __IExtendTaskPad_INTERFACE_DEFINED__
  2174. #define __IExtendTaskPad_INTERFACE_DEFINED__
  2175. /* interface IExtendTaskPad */
  2176. /* [unique][helpstring][uuid][object][local] */ 
  2177. EXTERN_C const IID IID_IExtendTaskPad;
  2178. #if defined(__cplusplus) && !defined(CINTERFACE)
  2179.     
  2180.     MIDL_INTERFACE("8dee6511-554d-11d1-9fea-00600832db4a")
  2181.     IExtendTaskPad : public IUnknown
  2182.     {
  2183.     public:
  2184.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE TaskNotify( 
  2185.             /* [in] */ IDataObject *pdo,
  2186.             /* [in] */ VARIANT *arg,
  2187.             /* [in] */ VARIANT *param) = 0;
  2188.         
  2189.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumTasks( 
  2190.             /* [in] */ IDataObject *pdo,
  2191.             /* [string][in] */ LPOLESTR szTaskGroup,
  2192.             /* [out] */ IEnumTASK **ppEnumTASK) = 0;
  2193.         
  2194.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTitle( 
  2195.             /* [string][in] */ LPOLESTR pszGroup,
  2196.             /* [string][out] */ LPOLESTR *pszTitle) = 0;
  2197.         
  2198.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDescriptiveText( 
  2199.             /* [string][in] */ LPOLESTR pszGroup,
  2200.             /* [string][out] */ LPOLESTR *pszDescriptiveText) = 0;
  2201.         
  2202.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBackground( 
  2203.             /* [string][in] */ LPOLESTR pszGroup,
  2204.             /* [out] */ MMC_TASK_DISPLAY_OBJECT *pTDO) = 0;
  2205.         
  2206.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetListPadInfo( 
  2207.             /* [string][in] */ LPOLESTR pszGroup,
  2208.             /* [out] */ MMC_LISTPAD_INFO *lpListPadInfo) = 0;