Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8859 lines
257 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for mmc.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __mmc_h__
  27. #define __mmc_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IComponentData_FWD_DEFINED__
  33. #define __IComponentData_FWD_DEFINED__
  34. typedef interface IComponentData IComponentData;
  35. #endif /* __IComponentData_FWD_DEFINED__ */
  36. #ifndef __IComponent_FWD_DEFINED__
  37. #define __IComponent_FWD_DEFINED__
  38. typedef interface IComponent IComponent;
  39. #endif /* __IComponent_FWD_DEFINED__ */
  40. #ifndef __IResultDataCompare_FWD_DEFINED__
  41. #define __IResultDataCompare_FWD_DEFINED__
  42. typedef interface IResultDataCompare IResultDataCompare;
  43. #endif /* __IResultDataCompare_FWD_DEFINED__ */
  44. #ifndef __IResultOwnerData_FWD_DEFINED__
  45. #define __IResultOwnerData_FWD_DEFINED__
  46. typedef interface IResultOwnerData IResultOwnerData;
  47. #endif /* __IResultOwnerData_FWD_DEFINED__ */
  48. #ifndef __IConsole_FWD_DEFINED__
  49. #define __IConsole_FWD_DEFINED__
  50. typedef interface IConsole IConsole;
  51. #endif /* __IConsole_FWD_DEFINED__ */
  52. #ifndef __IHeaderCtrl_FWD_DEFINED__
  53. #define __IHeaderCtrl_FWD_DEFINED__
  54. typedef interface IHeaderCtrl IHeaderCtrl;
  55. #endif /* __IHeaderCtrl_FWD_DEFINED__ */
  56. #ifndef __IContextMenuCallback_FWD_DEFINED__
  57. #define __IContextMenuCallback_FWD_DEFINED__
  58. typedef interface IContextMenuCallback IContextMenuCallback;
  59. #endif /* __IContextMenuCallback_FWD_DEFINED__ */
  60. #ifndef __IContextMenuProvider_FWD_DEFINED__
  61. #define __IContextMenuProvider_FWD_DEFINED__
  62. typedef interface IContextMenuProvider IContextMenuProvider;
  63. #endif /* __IContextMenuProvider_FWD_DEFINED__ */
  64. #ifndef __IExtendContextMenu_FWD_DEFINED__
  65. #define __IExtendContextMenu_FWD_DEFINED__
  66. typedef interface IExtendContextMenu IExtendContextMenu;
  67. #endif /* __IExtendContextMenu_FWD_DEFINED__ */
  68. #ifndef __IImageList_FWD_DEFINED__
  69. #define __IImageList_FWD_DEFINED__
  70. typedef interface IImageList IImageList;
  71. #endif /* __IImageList_FWD_DEFINED__ */
  72. #ifndef __IResultData_FWD_DEFINED__
  73. #define __IResultData_FWD_DEFINED__
  74. typedef interface IResultData IResultData;
  75. #endif /* __IResultData_FWD_DEFINED__ */
  76. #ifndef __IConsoleNameSpace_FWD_DEFINED__
  77. #define __IConsoleNameSpace_FWD_DEFINED__
  78. typedef interface IConsoleNameSpace IConsoleNameSpace;
  79. #endif /* __IConsoleNameSpace_FWD_DEFINED__ */
  80. #ifndef __IConsoleNameSpace2_FWD_DEFINED__
  81. #define __IConsoleNameSpace2_FWD_DEFINED__
  82. typedef interface IConsoleNameSpace2 IConsoleNameSpace2;
  83. #endif /* __IConsoleNameSpace2_FWD_DEFINED__ */
  84. #ifndef __IPropertySheetCallback_FWD_DEFINED__
  85. #define __IPropertySheetCallback_FWD_DEFINED__
  86. typedef interface IPropertySheetCallback IPropertySheetCallback;
  87. #endif /* __IPropertySheetCallback_FWD_DEFINED__ */
  88. #ifndef __IPropertySheetProvider_FWD_DEFINED__
  89. #define __IPropertySheetProvider_FWD_DEFINED__
  90. typedef interface IPropertySheetProvider IPropertySheetProvider;
  91. #endif /* __IPropertySheetProvider_FWD_DEFINED__ */
  92. #ifndef __IExtendPropertySheet_FWD_DEFINED__
  93. #define __IExtendPropertySheet_FWD_DEFINED__
  94. typedef interface IExtendPropertySheet IExtendPropertySheet;
  95. #endif /* __IExtendPropertySheet_FWD_DEFINED__ */
  96. #ifndef __IControlbar_FWD_DEFINED__
  97. #define __IControlbar_FWD_DEFINED__
  98. typedef interface IControlbar IControlbar;
  99. #endif /* __IControlbar_FWD_DEFINED__ */
  100. #ifndef __IExtendControlbar_FWD_DEFINED__
  101. #define __IExtendControlbar_FWD_DEFINED__
  102. typedef interface IExtendControlbar IExtendControlbar;
  103. #endif /* __IExtendControlbar_FWD_DEFINED__ */
  104. #ifndef __IToolbar_FWD_DEFINED__
  105. #define __IToolbar_FWD_DEFINED__
  106. typedef interface IToolbar IToolbar;
  107. #endif /* __IToolbar_FWD_DEFINED__ */
  108. #ifndef __IConsoleVerb_FWD_DEFINED__
  109. #define __IConsoleVerb_FWD_DEFINED__
  110. typedef interface IConsoleVerb IConsoleVerb;
  111. #endif /* __IConsoleVerb_FWD_DEFINED__ */
  112. #ifndef __ISnapinAbout_FWD_DEFINED__
  113. #define __ISnapinAbout_FWD_DEFINED__
  114. typedef interface ISnapinAbout ISnapinAbout;
  115. #endif /* __ISnapinAbout_FWD_DEFINED__ */
  116. #ifndef __IMenuButton_FWD_DEFINED__
  117. #define __IMenuButton_FWD_DEFINED__
  118. typedef interface IMenuButton IMenuButton;
  119. #endif /* __IMenuButton_FWD_DEFINED__ */
  120. #ifndef __ISnapinHelp_FWD_DEFINED__
  121. #define __ISnapinHelp_FWD_DEFINED__
  122. typedef interface ISnapinHelp ISnapinHelp;
  123. #endif /* __ISnapinHelp_FWD_DEFINED__ */
  124. #ifndef __IExtendPropertySheet2_FWD_DEFINED__
  125. #define __IExtendPropertySheet2_FWD_DEFINED__
  126. typedef interface IExtendPropertySheet2 IExtendPropertySheet2;
  127. #endif /* __IExtendPropertySheet2_FWD_DEFINED__ */
  128. #ifndef __IHeaderCtrl2_FWD_DEFINED__
  129. #define __IHeaderCtrl2_FWD_DEFINED__
  130. typedef interface IHeaderCtrl2 IHeaderCtrl2;
  131. #endif /* __IHeaderCtrl2_FWD_DEFINED__ */
  132. #ifndef __ISnapinHelp2_FWD_DEFINED__
  133. #define __ISnapinHelp2_FWD_DEFINED__
  134. typedef interface ISnapinHelp2 ISnapinHelp2;
  135. #endif /* __ISnapinHelp2_FWD_DEFINED__ */
  136. #ifndef __IEnumTASK_FWD_DEFINED__
  137. #define __IEnumTASK_FWD_DEFINED__
  138. typedef interface IEnumTASK IEnumTASK;
  139. #endif /* __IEnumTASK_FWD_DEFINED__ */
  140. #ifndef __IExtendTaskPad_FWD_DEFINED__
  141. #define __IExtendTaskPad_FWD_DEFINED__
  142. typedef interface IExtendTaskPad IExtendTaskPad;
  143. #endif /* __IExtendTaskPad_FWD_DEFINED__ */
  144. #ifndef __IConsole2_FWD_DEFINED__
  145. #define __IConsole2_FWD_DEFINED__
  146. typedef interface IConsole2 IConsole2;
  147. #endif /* __IConsole2_FWD_DEFINED__ */
  148. #ifndef __IDisplayHelp_FWD_DEFINED__
  149. #define __IDisplayHelp_FWD_DEFINED__
  150. typedef interface IDisplayHelp IDisplayHelp;
  151. #endif /* __IDisplayHelp_FWD_DEFINED__ */
  152. #ifndef __IRequiredExtensions_FWD_DEFINED__
  153. #define __IRequiredExtensions_FWD_DEFINED__
  154. typedef interface IRequiredExtensions IRequiredExtensions;
  155. #endif /* __IRequiredExtensions_FWD_DEFINED__ */
  156. #ifndef __IStringTable_FWD_DEFINED__
  157. #define __IStringTable_FWD_DEFINED__
  158. typedef interface IStringTable IStringTable;
  159. #endif /* __IStringTable_FWD_DEFINED__ */
  160. #ifndef __IColumnData_FWD_DEFINED__
  161. #define __IColumnData_FWD_DEFINED__
  162. typedef interface IColumnData IColumnData;
  163. #endif /* __IColumnData_FWD_DEFINED__ */
  164. #ifndef __IMessageView_FWD_DEFINED__
  165. #define __IMessageView_FWD_DEFINED__
  166. typedef interface IMessageView IMessageView;
  167. #endif /* __IMessageView_FWD_DEFINED__ */
  168. #ifndef __IResultDataCompareEx_FWD_DEFINED__
  169. #define __IResultDataCompareEx_FWD_DEFINED__
  170. typedef interface IResultDataCompareEx IResultDataCompareEx;
  171. #endif /* __IResultDataCompareEx_FWD_DEFINED__ */
  172. #ifndef __IComponentData2_FWD_DEFINED__
  173. #define __IComponentData2_FWD_DEFINED__
  174. typedef interface IComponentData2 IComponentData2;
  175. #endif /* __IComponentData2_FWD_DEFINED__ */
  176. #ifndef __IComponent2_FWD_DEFINED__
  177. #define __IComponent2_FWD_DEFINED__
  178. typedef interface IComponent2 IComponent2;
  179. #endif /* __IComponent2_FWD_DEFINED__ */
  180. #ifndef __IContextMenuCallback2_FWD_DEFINED__
  181. #define __IContextMenuCallback2_FWD_DEFINED__
  182. typedef interface IContextMenuCallback2 IContextMenuCallback2;
  183. #endif /* __IContextMenuCallback2_FWD_DEFINED__ */
  184. #ifndef __IMMCVersionInfo_FWD_DEFINED__
  185. #define __IMMCVersionInfo_FWD_DEFINED__
  186. typedef interface IMMCVersionInfo IMMCVersionInfo;
  187. #endif /* __IMMCVersionInfo_FWD_DEFINED__ */
  188. #ifndef __MMCVersionInfo_FWD_DEFINED__
  189. #define __MMCVersionInfo_FWD_DEFINED__
  190. #ifdef __cplusplus
  191. typedef class MMCVersionInfo MMCVersionInfo;
  192. #else
  193. typedef struct MMCVersionInfo MMCVersionInfo;
  194. #endif /* __cplusplus */
  195. #endif /* __MMCVersionInfo_FWD_DEFINED__ */
  196. #ifndef __ConsolePower_FWD_DEFINED__
  197. #define __ConsolePower_FWD_DEFINED__
  198. #ifdef __cplusplus
  199. typedef class ConsolePower ConsolePower;
  200. #else
  201. typedef struct ConsolePower ConsolePower;
  202. #endif /* __cplusplus */
  203. #endif /* __ConsolePower_FWD_DEFINED__ */
  204. #ifndef __IExtendView_FWD_DEFINED__
  205. #define __IExtendView_FWD_DEFINED__
  206. typedef interface IExtendView IExtendView;
  207. #endif /* __IExtendView_FWD_DEFINED__ */
  208. #ifndef __IViewExtensionCallback_FWD_DEFINED__
  209. #define __IViewExtensionCallback_FWD_DEFINED__
  210. typedef interface IViewExtensionCallback IViewExtensionCallback;
  211. #endif /* __IViewExtensionCallback_FWD_DEFINED__ */
  212. #ifndef __IConsolePower_FWD_DEFINED__
  213. #define __IConsolePower_FWD_DEFINED__
  214. typedef interface IConsolePower IConsolePower;
  215. #endif /* __IConsolePower_FWD_DEFINED__ */
  216. #ifndef __IConsolePowerSink_FWD_DEFINED__
  217. #define __IConsolePowerSink_FWD_DEFINED__
  218. typedef interface IConsolePowerSink IConsolePowerSink;
  219. #endif /* __IConsolePowerSink_FWD_DEFINED__ */
  220. #ifndef __INodeProperties_FWD_DEFINED__
  221. #define __INodeProperties_FWD_DEFINED__
  222. typedef interface INodeProperties INodeProperties;
  223. #endif /* __INodeProperties_FWD_DEFINED__ */
  224. #ifndef __IConsole3_FWD_DEFINED__
  225. #define __IConsole3_FWD_DEFINED__
  226. typedef interface IConsole3 IConsole3;
  227. #endif /* __IConsole3_FWD_DEFINED__ */
  228. #ifndef __IResultData2_FWD_DEFINED__
  229. #define __IResultData2_FWD_DEFINED__
  230. typedef interface IResultData2 IResultData2;
  231. #endif /* __IResultData2_FWD_DEFINED__ */
  232. /* header files for imported files */
  233. #include "basetsd.h"
  234. #include "oaidl.h"
  235. #ifdef __cplusplus
  236. extern "C"{
  237. #endif
  238. void * __RPC_USER MIDL_user_allocate(size_t);
  239. void __RPC_USER MIDL_user_free( void * );
  240. /* interface __MIDL_itf_mmc_0000 */
  241. /* [local] */
  242. #ifndef MMC_VER
  243. #define MMC_VER 0x0200
  244. #endif
  245. #if (MMC_VER >= 0x0110)
  246. #endif // MMC_VER >= 0x0110
  247. #if (MMC_VER >= 0x0120)
  248. #endif // MMC_VER >= 0x0120
  249. #if (MMC_VER >= 0x0200)
  250. #endif // MMC_VER >= 0x0200
  251. #if (MMC_VER >= 0x0110)
  252. #endif // MMC_VER >= 0x0110
  253. #if (MMC_VER >= 0x0120)
  254. #endif // MMC_VER >= 0x0120
  255. #if (MMC_VER >= 0x0200)
  256. #endif // MMC_VER >= 0x0200
  257. typedef IConsole *LPCONSOLE;
  258. typedef IHeaderCtrl *LPHEADERCTRL;
  259. typedef IToolbar *LPTOOLBAR;
  260. typedef IImageList *LPIMAGELIST;
  261. typedef IResultData *LPRESULTDATA;
  262. typedef IConsoleNameSpace *LPCONSOLENAMESPACE;
  263. typedef IPropertySheetProvider *LPPROPERTYSHEETPROVIDER;
  264. typedef IPropertySheetCallback *LPPROPERTYSHEETCALLBACK;
  265. typedef IContextMenuProvider *LPCONTEXTMENUPROVIDER;
  266. typedef IContextMenuCallback *LPCONTEXTMENUCALLBACK;
  267. typedef IControlbar *LPCONTROLBAR;
  268. typedef IConsoleVerb *LPCONSOLEVERB;
  269. typedef IMenuButton *LPMENUBUTTON;
  270. #if (MMC_VER >= 0x0110)
  271. typedef IConsole2 *LPCONSOLE2;
  272. typedef IHeaderCtrl2 *LPHEADERCTRL2;
  273. typedef IConsoleNameSpace2 *LPCONSOLENAMESPACE2;
  274. typedef IDisplayHelp *LPDISPLAYHELP;
  275. typedef IStringTable *LPSTRINGTABLE;
  276. #endif // MMC_VER >= 0x0110
  277. #if (MMC_VER >= 0x0120)
  278. typedef IColumnData *LPCOLUMNDATA;
  279. typedef IResultDataCompareEx *LPRESULTDATACOMPAREEX;
  280. #endif // MMC_VER >= 0x0120
  281. typedef IComponent *LPCOMPONENT;
  282. typedef IComponentData *LPCOMPONENTDATA;
  283. typedef IExtendPropertySheet *LPEXTENDPROPERTYSHEET;
  284. typedef IExtendContextMenu *LPEXTENDCONTEXTMENU;
  285. typedef IExtendControlbar *LPEXTENDCONTROLBAR;
  286. typedef IResultDataCompare *LPRESULTDATACOMPARE;
  287. typedef IResultOwnerData *LPRESULTOWNERDATA;
  288. typedef ISnapinAbout *LPSNAPABOUT;
  289. typedef ISnapinAbout *LPSNAPINABOUT;
  290. typedef ISnapinHelp *LPSNAPHELP;
  291. typedef ISnapinHelp *LPSNAPINHELP;
  292. #if (MMC_VER >= 0x0110)
  293. typedef IEnumTASK *LPENUMTASK;
  294. typedef IExtendPropertySheet2 *LPEXTENDPROPERTYSHEET2;
  295. typedef ISnapinHelp2 *LPSNAPINHELP2;
  296. typedef IExtendTaskPad *LPEXTENDTASKPAD;
  297. typedef IRequiredExtensions *LPREQUIREDEXTENSIONS;
  298. #endif // MMC_VER >= 0x0110
  299. #if (MMC_VER >= 0x0200)
  300. typedef IComponent2 *LPCOMPONENT2;
  301. typedef IComponentData2 *LPCOMPONENTDATA2;
  302. typedef IExtendView *LPEXTENDVIEW;
  303. typedef IViewExtensionCallback *LPVIEWEXTENSIONCALLBACK;
  304. typedef IConsolePower *LPCONSOLEPOWER;
  305. typedef IConsolePowerSink *LPCONSOLEPOWERSINK;
  306. typedef IConsole3 *LPCONSOLE3;
  307. typedef INodeProperties *LPNODEPROPERTIES;
  308. typedef IResultData2 *LPRESULTDATA2;
  309. #endif // MMC_VER >= 0x0200
  310. typedef BSTR *PBSTR;
  311. #define MMCLV_AUTO ( -1 )
  312. #define MMCLV_NOPARAM ( -2 )
  313. #define MMCLV_NOICON ( -1 )
  314. #define MMCLV_VIEWSTYLE_ICON ( 0 )
  315. #define MMCLV_VIEWSTYLE_SMALLICON ( 0x2 )
  316. #define MMCLV_VIEWSTYLE_LIST ( 0x3 )
  317. #define MMCLV_VIEWSTYLE_REPORT ( 0x1 )
  318. #define MMCLV_VIEWSTYLE_FILTERED ( 0x4 )
  319. #define MMCLV_NOPTR ( 0 )
  320. #define MMCLV_UPDATE_NOINVALIDATEALL ( 0x1 )
  321. #define MMCLV_UPDATE_NOSCROLL ( 0x2 )
  322. static unsigned short *MMC_CALLBACK = ( unsigned short * )-1;
  323. #if (MMC_VER >= 0x0120)
  324. #define MMC_IMAGECALLBACK (-1)
  325. #define MMC_TEXTCALLBACK MMC_CALLBACK
  326. #endif // MMC_VER >= 0x0120
  327. typedef LONG_PTR HSCOPEITEM;
  328. typedef long COMPONENTID;
  329. typedef LONG_PTR HRESULTITEM;
  330. #define RDI_STR ( 0x2 )
  331. #define RDI_IMAGE ( 0x4 )
  332. #define RDI_STATE ( 0x8 )
  333. #define RDI_PARAM ( 0x10 )
  334. #define RDI_INDEX ( 0x20 )
  335. #define RDI_INDENT ( 0x40 )
  336. typedef enum _MMC_RESULT_VIEW_STYLE
  337. {
  338. MMC_SINGLESEL = 0x0001,
  339. MMC_SHOWSELALWAYS = 0x0002,
  340. MMC_NOSORTHEADER = 0x0004,
  341. #if (MMC_VER >= 0x0120)
  342. MMC_ENSUREFOCUSVISIBLE = 0x0008
  343. #endif // MMC_VER >= 0x0120
  344. } MMC_RESULT_VIEW_STYLE;
  345. #if 0
  346. typedef
  347. enum _MMC_RESULT_VIEW_STYLE
  348. { _MMC_VIEW_STYLE__dummy_ = 0
  349. } MMC_RESULT_VIEW_STYLE;
  350. #endif
  351. #define MMC_VIEW_OPTIONS_NONE ( 0 )
  352. #define MMC_VIEW_OPTIONS_NOLISTVIEWS ( 0x1 )
  353. #define MMC_VIEW_OPTIONS_MULTISELECT ( 0x2 )
  354. #define MMC_VIEW_OPTIONS_OWNERDATALIST ( 0x4 )
  355. #define MMC_VIEW_OPTIONS_FILTERED ( 0x8 )
  356. #define MMC_VIEW_OPTIONS_CREATENEW ( 0x10 )
  357. #if (MMC_VER >= 0x0110)
  358. #define MMC_VIEW_OPTIONS_USEFONTLINKING ( 0x20 )
  359. #endif // MMC_VER >= 0x0110
  360. #if (MMC_VER >= 0x0120)
  361. #define MMC_VIEW_OPTIONS_EXCLUDE_SCOPE_ITEMS_FROM_LIST ( 0x40 )
  362. #define MMC_VIEW_OPTIONS_LEXICAL_SORT ( 0x80 )
  363. #endif // MMC_VER >= 0x0120
  364. #define MMC_PSO_NOAPPLYNOW ( 0x1 )
  365. #define MMC_PSO_HASHELP ( 0x2 )
  366. #define MMC_PSO_NEWWIZARDTYPE ( 0x4 )
  367. #define MMC_PSO_NO_PROPTITLE ( 0x8 )
  368. typedef
  369. enum _MMC_CONTROL_TYPE
  370. { TOOLBAR = 0,
  371. MENUBUTTON = TOOLBAR + 1,
  372. COMBOBOXBAR = MENUBUTTON + 1
  373. } MMC_CONTROL_TYPE;
  374. typedef enum _MMC_CONSOLE_VERB
  375. {
  376. MMC_VERB_NONE = 0x0000,
  377. MMC_VERB_OPEN = 0x8000,
  378. MMC_VERB_COPY = 0x8001,
  379. MMC_VERB_PASTE = 0x8002,
  380. MMC_VERB_DELETE = 0x8003,
  381. MMC_VERB_PROPERTIES = 0x8004,
  382. MMC_VERB_RENAME = 0x8005,
  383. MMC_VERB_REFRESH = 0x8006,
  384. MMC_VERB_PRINT = 0x8007,
  385. #if (MMC_VER >= 0x0110)
  386. MMC_VERB_CUT = 0x8008, // Used only to explicitly disable/hide
  387. // the cut verb, when copy & paste are enabled.
  388. // must be last
  389. MMC_VERB_MAX,
  390. MMC_VERB_FIRST = MMC_VERB_OPEN,
  391. MMC_VERB_LAST = MMC_VERB_MAX - 1
  392. #endif // MMC_VER >= 0x0110
  393. } MMC_CONSOLE_VERB;
  394. #if 0
  395. typedef
  396. enum _MMC_CONSOLE_VERB
  397. { MMC_VERB__dummy_ = 0
  398. } MMC_CONSOLE_VERB;
  399. #endif
  400. #include <pshpack8.h>
  401. typedef struct _MMCButton
  402. {
  403. int nBitmap;
  404. int idCommand;
  405. BYTE fsState;
  406. BYTE fsType;
  407. LPOLESTR lpButtonText;
  408. LPOLESTR lpTooltipText;
  409. } MMCBUTTON;
  410. #include <poppack.h>
  411. typedef MMCBUTTON *LPMMCBUTTON;
  412. typedef
  413. enum _MMC_BUTTON_STATE
  414. { ENABLED = 0x1,
  415. CHECKED = 0x2,
  416. HIDDEN = 0x4,
  417. INDETERMINATE = 0x8,
  418. BUTTONPRESSED = 0x10
  419. } MMC_BUTTON_STATE;
  420. typedef struct _RESULTDATAITEM
  421. {
  422. DWORD mask;
  423. BOOL bScopeItem;
  424. HRESULTITEM itemID;
  425. int nIndex;
  426. int nCol;
  427. LPOLESTR str;
  428. int nImage;
  429. UINT nState;
  430. LPARAM lParam;
  431. int iIndent;
  432. } RESULTDATAITEM;
  433. typedef RESULTDATAITEM *LPRESULTDATAITEM;
  434. #define RFI_PARTIAL ( 0x1 )
  435. #define RFI_WRAP ( 0x2 )
  436. typedef struct _RESULTFINDINFO
  437. {
  438. LPOLESTR psz;
  439. int nStart;
  440. DWORD dwOptions;
  441. } RESULTFINDINFO;
  442. typedef RESULTFINDINFO *LPRESULTFINDINFO;
  443. #define RSI_DESCENDING ( 0x1 )
  444. #define RSI_NOSORTICON ( 0x2 )
  445. #define SDI_STR ( 0x2 )
  446. #define SDI_IMAGE ( 0x4 )
  447. #define SDI_OPENIMAGE ( 0x8 )
  448. #define SDI_STATE ( 0x10 )
  449. #define SDI_PARAM ( 0x20 )
  450. #define SDI_CHILDREN ( 0x40 )
  451. #define SDI_PARENT ( 0 )
  452. #define SDI_PREVIOUS ( 0x10000000 )
  453. #define SDI_NEXT ( 0x20000000 )
  454. #define SDI_FIRST ( 0x8000000 )
  455. typedef struct _SCOPEDATAITEM
  456. {
  457. DWORD mask;
  458. LPOLESTR displayname;
  459. int nImage;
  460. int nOpenImage;
  461. UINT nState;
  462. int cChildren;
  463. LPARAM lParam;
  464. HSCOPEITEM relativeID;
  465. HSCOPEITEM ID;
  466. } SCOPEDATAITEM;
  467. typedef SCOPEDATAITEM *LPSCOPEDATAITEM;
  468. typedef
  469. enum _MMC_SCOPE_ITEM_STATE
  470. { MMC_SCOPE_ITEM_STATE_NORMAL = 0x1,
  471. MMC_SCOPE_ITEM_STATE_BOLD = 0x2,
  472. MMC_SCOPE_ITEM_STATE_EXPANDEDONCE = 0x3
  473. } MMC_SCOPE_ITEM_STATE;
  474. typedef struct _CONTEXTMENUITEM
  475. {
  476. LPWSTR strName;
  477. LPWSTR strStatusBarText;
  478. LONG lCommandID;
  479. LONG lInsertionPointID;
  480. LONG fFlags;
  481. LONG fSpecialFlags;
  482. } CONTEXTMENUITEM;
  483. typedef CONTEXTMENUITEM *LPCONTEXTMENUITEM;
  484. typedef
  485. enum _MMC_MENU_COMMAND_IDS
  486. { MMCC_STANDARD_VIEW_SELECT = -1
  487. } MMC_MENU_COMMAND_IDS;
  488. typedef struct _MENUBUTTONDATA
  489. {
  490. int idCommand;
  491. int x;
  492. int y;
  493. } MENUBUTTONDATA;
  494. typedef MENUBUTTONDATA *LPMENUBUTTONDATA;
  495. typedef LONG_PTR MMC_COOKIE;
  496. #define MMC_MULTI_SELECT_COOKIE ( -2 )
  497. #define MMC_WINDOW_COOKIE ( -3 )
  498. #if (MMC_VER >= 0x0110)
  499. #define SPECIAL_COOKIE_MIN ( -10 )
  500. #define SPECIAL_COOKIE_MAX ( -1 )
  501. typedef
  502. enum _MMC_FILTER_TYPE
  503. { MMC_STRING_FILTER = 0,
  504. MMC_INT_FILTER = 0x1,
  505. MMC_FILTER_NOVALUE = 0x8000
  506. } MMC_FILTER_TYPE;
  507. typedef struct _MMC_FILTERDATA
  508. {
  509. LPOLESTR pszText;
  510. INT cchTextMax;
  511. LONG lValue;
  512. } MMC_FILTERDATA;
  513. typedef
  514. enum _MMC_FILTER_CHANGE_CODE
  515. { MFCC_DISABLE = 0,
  516. MFCC_ENABLE = 1,
  517. MFCC_VALUE_CHANGE = 2
  518. } MMC_FILTER_CHANGE_CODE;
  519. typedef struct _MMC_RESTORE_VIEW
  520. {
  521. DWORD dwSize;
  522. MMC_COOKIE cookie;
  523. LPOLESTR pViewType;
  524. long lViewOptions;
  525. } MMC_RESTORE_VIEW;
  526. typedef struct _MMC_EXPANDSYNC_STRUCT
  527. {
  528. BOOL bHandled;
  529. BOOL bExpanding;
  530. HSCOPEITEM hItem;
  531. } MMC_EXPANDSYNC_STRUCT;
  532. #endif // MMC_VER >= 0x0110
  533. #if (MMC_VER >= 0x0120)
  534. typedef struct _MMC_VISIBLE_COLUMNS
  535. {
  536. INT nVisibleColumns;
  537. INT rgVisibleCols[ 1 ];
  538. } MMC_VISIBLE_COLUMNS;
  539. #endif // MMC_VER >= 0x0120
  540. typedef enum _MMC_NOTIFY_TYPE
  541. {
  542. MMCN_ACTIVATE = 0x8001,
  543. MMCN_ADD_IMAGES = 0x8002,
  544. MMCN_BTN_CLICK = 0x8003,
  545. MMCN_CLICK = 0x8004, // NOT USED
  546. MMCN_COLUMN_CLICK = 0x8005,
  547. MMCN_CONTEXTMENU = 0x8006, // NOT USED
  548. MMCN_CUTORMOVE = 0x8007,
  549. MMCN_DBLCLICK = 0x8008,
  550. MMCN_DELETE = 0x8009,
  551. MMCN_DESELECT_ALL = 0x800A,
  552. MMCN_EXPAND = 0x800B,
  553. MMCN_HELP = 0x800C, // NOT USED
  554. MMCN_MENU_BTNCLICK = 0x800D,
  555. MMCN_MINIMIZED = 0x800E,
  556. MMCN_PASTE = 0x800F,
  557. MMCN_PROPERTY_CHANGE = 0x8010,
  558. MMCN_QUERY_PASTE = 0x8011,
  559. MMCN_REFRESH = 0x8012,
  560. MMCN_REMOVE_CHILDREN = 0x8013,
  561. MMCN_RENAME = 0x8014,
  562. MMCN_SELECT = 0x8015,
  563. MMCN_SHOW = 0x8016,
  564. MMCN_VIEW_CHANGE = 0x8017,
  565. MMCN_SNAPINHELP = 0x8018,
  566. MMCN_CONTEXTHELP = 0x8019,
  567. MMCN_INITOCX = 0x801A,
  568. #if (MMC_VER >= 0x0110)
  569. MMCN_FILTER_CHANGE = 0x801B,
  570. MMCN_FILTERBTN_CLICK = 0x801C,
  571. MMCN_RESTORE_VIEW = 0x801D,
  572. MMCN_PRINT = 0x801E,
  573. MMCN_PRELOAD = 0x801F,
  574. MMCN_LISTPAD = 0x8020,
  575. MMCN_EXPANDSYNC = 0x8021,
  576. #if (MMC_VER >= 0x0120)
  577. MMCN_COLUMNS_CHANGED = 0x8022,
  578. #if (MMC_VER >= 0x0200)
  579. MMCN_CANPASTE_OUTOFPROC = 0x8023,
  580. #endif // MMC_VER >= 0x0200
  581. #endif // MMC_VER >= 0x0120
  582. #endif // MMC_VER >= 0x0110
  583. } MMC_NOTIFY_TYPE;
  584. #if 0
  585. typedef
  586. enum _MMC_NOTIFY_TYPE
  587. { MMCN__dummy_ = 0
  588. } MMC_NOTIFY_TYPE;
  589. #endif
  590. typedef
  591. enum _DATA_OBJECT_TYPES
  592. { CCT_SCOPE = 0x8000,
  593. CCT_RESULT = 0x8001,
  594. CCT_SNAPIN_MANAGER = 0x8002,
  595. CCT_UNINITIALIZED = 0xffff
  596. } DATA_OBJECT_TYPES;
  597. #define MMC_NW_OPTION_NONE ( 0 )
  598. #define MMC_NW_OPTION_NOSCOPEPANE ( 0x1 )
  599. #define MMC_NW_OPTION_NOTOOLBARS ( 0x2 )
  600. #define MMC_NW_OPTION_SHORTTITLE ( 0x4 )
  601. #define MMC_NW_OPTION_CUSTOMTITLE ( 0x8 )
  602. #define MMC_NW_OPTION_NOPERSIST ( 0x10 )
  603. #define CCF_NODETYPE ( L"CCF_NODETYPE" )
  604. #define CCF_SZNODETYPE ( L"CCF_SZNODETYPE" )
  605. #define CCF_DISPLAY_NAME ( L"CCF_DISPLAY_NAME" )
  606. #define CCF_SNAPIN_CLASSID ( L"CCF_SNAPIN_CLASSID" )
  607. #define CCF_WINDOW_TITLE ( L"CCF_WINDOW_TITLE" )
  608. #define CCF_MMC_MULTISELECT_DATAOBJECT ( L"CCF_MMC_MULTISELECT_DATAOBJECT" )
  609. typedef struct _SMMCDataObjects
  610. {
  611. DWORD count;
  612. LPDATAOBJECT lpDataObject[ 1 ];
  613. } SMMCDataObjects;
  614. #define CCF_MULTI_SELECT_SNAPINS ( L"CCF_MULTI_SELECT_SNAPINS" )
  615. typedef struct _SMMCObjectTypes
  616. {
  617. DWORD count;
  618. GUID guid[ 1 ];
  619. } SMMCObjectTypes;
  620. #define CCF_OBJECT_TYPES_IN_MULTI_SELECT ( L"CCF_OBJECT_TYPES_IN_MULTI_SELECT" )
  621. #if (MMC_VER >= 0x0110)
  622. typedef SMMCObjectTypes SMMCDynamicExtensions;
  623. #define CCF_MMC_DYNAMIC_EXTENSIONS ( L"CCF_MMC_DYNAMIC_EXTENSIONS" )
  624. #define CCF_SNAPIN_PRELOADS ( L"CCF_SNAPIN_PRELOADS" )
  625. typedef struct _SNodeID
  626. {
  627. DWORD cBytes;
  628. BYTE id[ 1 ];
  629. } SNodeID;
  630. #if (MMC_VER >= 0x0120)
  631. typedef struct _SNodeID2
  632. {
  633. DWORD dwFlags;
  634. DWORD cBytes;
  635. BYTE id[ 1 ];
  636. } SNodeID2;
  637. #define MMC_NODEID_SLOW_RETRIEVAL ( 0x1 )
  638. #define CCF_NODEID2 ( L"CCF_NODEID2" )
  639. #endif // MMC_VER >= 0x0120
  640. #define CCF_NODEID ( L"CCF_NODEID" )
  641. #if (MMC_VER >= 0x0120)
  642. typedef struct _SColumnSetID
  643. {
  644. DWORD dwFlags;
  645. DWORD cBytes;
  646. BYTE id[ 1 ];
  647. } SColumnSetID;
  648. #define CCF_COLUMN_SET_ID ( L"CCF_COLUMN_SET_ID" )
  649. #endif // MMC_VER >= 0x0120
  650. #endif // MMC_VER >= 0x0110
  651. STDAPI MMCPropertyChangeNotify(LONG_PTR lNotifyHandle, LPARAM param);
  652. #if (MMC_VER >= 0x0110)
  653. STDAPI MMCPropertyHelp(LPOLESTR pszHelpTopic);
  654. #endif // MMC_VER >= 0x0110
  655. STDAPI MMCFreeNotifyHandle(LONG_PTR lNotifyHandle);
  656. STDAPI MMCPropPageCallback(void* vpsp);
  657. EXTERN_C const CLSID CLSID_NodeManager;
  658. #if (MMC_VER >= 0x0120)
  659. EXTERN_C const CLSID CLSID_MessageView;
  660. #endif // MMC_VER >= 0x0120
  661. #define DOBJ_NULL (LPDATAOBJECT) 0
  662. #define DOBJ_CUSTOMOCX (LPDATAOBJECT) -1
  663. #define DOBJ_CUSTOMWEB (LPDATAOBJECT) -2
  664. #if (MMC_VER >= 0x0110)
  665. #if (MMC_VER >= 0x0120)
  666. #define DOBJ_NOCONSOLE (LPDATAOBJECT) -3
  667. #endif // MMC_VER >= 0x0120
  668. #define SPECIAL_DOBJ_MIN -10
  669. #define SPECIAL_DOBJ_MAX 0
  670. #endif // MMC_VER >= 0x0110
  671. #define IS_SPECIAL_DATAOBJECT(d) (((LONG_PTR)(d) >= SPECIAL_DOBJ_MIN) && ((LONG_PTR)(d) <= SPECIAL_DOBJ_MAX))
  672. #define IS_SPECIAL_COOKIE(c) (((c) >= SPECIAL_COOKIE_MIN) && ((c) <= SPECIAL_COOKIE_MAX))
  673. extern RPC_IF_HANDLE __MIDL_itf_mmc_0000_v0_0_c_ifspec;
  674. extern RPC_IF_HANDLE __MIDL_itf_mmc_0000_v0_0_s_ifspec;
  675. #ifndef __IComponentData_INTERFACE_DEFINED__
  676. #define __IComponentData_INTERFACE_DEFINED__
  677. /* interface IComponentData */
  678. /* [unique][helpstring][uuid][object] */
  679. EXTERN_C const IID IID_IComponentData;
  680. #if defined(__cplusplus) && !defined(CINTERFACE)
  681. MIDL_INTERFACE("955AB28A-5218-11D0-A985-00C04FD8D565")
  682. IComponentData : public IUnknown
  683. {
  684. public:
  685. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize(
  686. /* [in] */ LPUNKNOWN pUnknown) = 0;
  687. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateComponent(
  688. /* [out] */ LPCOMPONENT *ppComponent) = 0;
  689. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Notify(
  690. /* [in] */ LPDATAOBJECT lpDataObject,
  691. /* [in] */ MMC_NOTIFY_TYPE event,
  692. /* [in] */ LPARAM arg,
  693. /* [in] */ LPARAM param) = 0;
  694. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Destroy( void) = 0;
  695. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryDataObject(
  696. /* [in] */ MMC_COOKIE cookie,
  697. /* [in] */ DATA_OBJECT_TYPES type,
  698. /* [out] */ LPDATAOBJECT *ppDataObject) = 0;
  699. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDisplayInfo(
  700. /* [out][in] */ SCOPEDATAITEM *pScopeDataItem) = 0;
  701. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CompareObjects(
  702. /* [in] */ LPDATAOBJECT lpDataObjectA,
  703. /* [in] */ LPDATAOBJECT lpDataObjectB) = 0;
  704. };
  705. #else /* C style interface */
  706. typedef struct IComponentDataVtbl
  707. {
  708. BEGIN_INTERFACE
  709. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  710. IComponentData * This,
  711. /* [in] */ REFIID riid,
  712. /* [iid_is][out] */ void **ppvObject);
  713. ULONG ( STDMETHODCALLTYPE *AddRef )(
  714. IComponentData * This);
  715. ULONG ( STDMETHODCALLTYPE *Release )(
  716. IComponentData * This);
  717. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
  718. IComponentData * This,
  719. /* [in] */ LPUNKNOWN pUnknown);
  720. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateComponent )(
  721. IComponentData * This,
  722. /* [out] */ LPCOMPONENT *ppComponent);
  723. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Notify )(
  724. IComponentData * This,
  725. /* [in] */ LPDATAOBJECT lpDataObject,
  726. /* [in] */ MMC_NOTIFY_TYPE event,
  727. /* [in] */ LPARAM arg,
  728. /* [in] */ LPARAM param);
  729. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Destroy )(
  730. IComponentData * This);
  731. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryDataObject )(
  732. IComponentData * This,
  733. /* [in] */ MMC_COOKIE cookie,
  734. /* [in] */ DATA_OBJECT_TYPES type,
  735. /* [out] */ LPDATAOBJECT *ppDataObject);
  736. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDisplayInfo )(
  737. IComponentData * This,
  738. /* [out][in] */ SCOPEDATAITEM *pScopeDataItem);
  739. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CompareObjects )(
  740. IComponentData * This,
  741. /* [in] */ LPDATAOBJECT lpDataObjectA,
  742. /* [in] */ LPDATAOBJECT lpDataObjectB);
  743. END_INTERFACE
  744. } IComponentDataVtbl;
  745. interface IComponentData
  746. {
  747. CONST_VTBL struct IComponentDataVtbl *lpVtbl;
  748. };
  749. #ifdef COBJMACROS
  750. #define IComponentData_QueryInterface(This,riid,ppvObject) \
  751. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  752. #define IComponentData_AddRef(This) \
  753. (This)->lpVtbl -> AddRef(This)
  754. #define IComponentData_Release(This) \
  755. (This)->lpVtbl -> Release(This)
  756. #define IComponentData_Initialize(This,pUnknown) \
  757. (This)->lpVtbl -> Initialize(This,pUnknown)
  758. #define IComponentData_CreateComponent(This,ppComponent) \
  759. (This)->lpVtbl -> CreateComponent(This,ppComponent)
  760. #define IComponentData_Notify(This,lpDataObject,event,arg,param) \
  761. (This)->lpVtbl -> Notify(This,lpDataObject,event,arg,param)
  762. #define IComponentData_Destroy(This) \
  763. (This)->lpVtbl -> Destroy(This)
  764. #define IComponentData_QueryDataObject(This,cookie,type,ppDataObject) \
  765. (This)->lpVtbl -> QueryDataObject(This,cookie,type,ppDataObject)
  766. #define IComponentData_GetDisplayInfo(This,pScopeDataItem) \
  767. (This)->lpVtbl -> GetDisplayInfo(This,pScopeDataItem)
  768. #define IComponentData_CompareObjects(This,lpDataObjectA,lpDataObjectB) \
  769. (This)->lpVtbl -> CompareObjects(This,lpDataObjectA,lpDataObjectB)
  770. #endif /* COBJMACROS */
  771. #endif /* C style interface */
  772. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_Initialize_Proxy(
  773. IComponentData * This,
  774. /* [in] */ LPUNKNOWN pUnknown);
  775. void __RPC_STUB IComponentData_Initialize_Stub(
  776. IRpcStubBuffer *This,
  777. IRpcChannelBuffer *_pRpcChannelBuffer,
  778. PRPC_MESSAGE _pRpcMessage,
  779. DWORD *_pdwStubPhase);
  780. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_CreateComponent_Proxy(
  781. IComponentData * This,
  782. /* [out] */ LPCOMPONENT *ppComponent);
  783. void __RPC_STUB IComponentData_CreateComponent_Stub(
  784. IRpcStubBuffer *This,
  785. IRpcChannelBuffer *_pRpcChannelBuffer,
  786. PRPC_MESSAGE _pRpcMessage,
  787. DWORD *_pdwStubPhase);
  788. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_Notify_Proxy(
  789. IComponentData * This,
  790. /* [in] */ LPDATAOBJECT lpDataObject,
  791. /* [in] */ MMC_NOTIFY_TYPE event,
  792. /* [in] */ LPARAM arg,
  793. /* [in] */ LPARAM param);
  794. void __RPC_STUB IComponentData_Notify_Stub(
  795. IRpcStubBuffer *This,
  796. IRpcChannelBuffer *_pRpcChannelBuffer,
  797. PRPC_MESSAGE _pRpcMessage,
  798. DWORD *_pdwStubPhase);
  799. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_Destroy_Proxy(
  800. IComponentData * This);
  801. void __RPC_STUB IComponentData_Destroy_Stub(
  802. IRpcStubBuffer *This,
  803. IRpcChannelBuffer *_pRpcChannelBuffer,
  804. PRPC_MESSAGE _pRpcMessage,
  805. DWORD *_pdwStubPhase);
  806. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_QueryDataObject_Proxy(
  807. IComponentData * This,
  808. /* [in] */ MMC_COOKIE cookie,
  809. /* [in] */ DATA_OBJECT_TYPES type,
  810. /* [out] */ LPDATAOBJECT *ppDataObject);
  811. void __RPC_STUB IComponentData_QueryDataObject_Stub(
  812. IRpcStubBuffer *This,
  813. IRpcChannelBuffer *_pRpcChannelBuffer,
  814. PRPC_MESSAGE _pRpcMessage,
  815. DWORD *_pdwStubPhase);
  816. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_GetDisplayInfo_Proxy(
  817. IComponentData * This,
  818. /* [out][in] */ SCOPEDATAITEM *pScopeDataItem);
  819. void __RPC_STUB IComponentData_GetDisplayInfo_Stub(
  820. IRpcStubBuffer *This,
  821. IRpcChannelBuffer *_pRpcChannelBuffer,
  822. PRPC_MESSAGE _pRpcMessage,
  823. DWORD *_pdwStubPhase);
  824. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_CompareObjects_Proxy(
  825. IComponentData * This,
  826. /* [in] */ LPDATAOBJECT lpDataObjectA,
  827. /* [in] */ LPDATAOBJECT lpDataObjectB);
  828. void __RPC_STUB IComponentData_CompareObjects_Stub(
  829. IRpcStubBuffer *This,
  830. IRpcChannelBuffer *_pRpcChannelBuffer,
  831. PRPC_MESSAGE _pRpcMessage,
  832. DWORD *_pdwStubPhase);
  833. #endif /* __IComponentData_INTERFACE_DEFINED__ */
  834. #ifndef __IComponent_INTERFACE_DEFINED__
  835. #define __IComponent_INTERFACE_DEFINED__
  836. /* interface IComponent */
  837. /* [unique][helpstring][uuid][object] */
  838. EXTERN_C const IID IID_IComponent;
  839. #if defined(__cplusplus) && !defined(CINTERFACE)
  840. MIDL_INTERFACE("43136EB2-D36C-11CF-ADBC-00AA00A80033")
  841. IComponent : public IUnknown
  842. {
  843. public:
  844. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize(
  845. /* [in] */ LPCONSOLE lpConsole) = 0;
  846. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Notify(
  847. /* [in] */ LPDATAOBJECT lpDataObject,
  848. /* [in] */ MMC_NOTIFY_TYPE event,
  849. /* [in] */ LPARAM arg,
  850. /* [in] */ LPARAM param) = 0;
  851. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Destroy(
  852. /* [in] */ MMC_COOKIE cookie) = 0;
  853. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryDataObject(
  854. /* [in] */ MMC_COOKIE cookie,
  855. /* [in] */ DATA_OBJECT_TYPES type,
  856. /* [out] */ LPDATAOBJECT *ppDataObject) = 0;
  857. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetResultViewType(
  858. /* [in] */ MMC_COOKIE cookie,
  859. /* [out] */ LPOLESTR *ppViewType,
  860. /* [out] */ long *pViewOptions) = 0;
  861. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDisplayInfo(
  862. /* [out][in] */ RESULTDATAITEM *pResultDataItem) = 0;
  863. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CompareObjects(
  864. /* [in] */ LPDATAOBJECT lpDataObjectA,
  865. /* [in] */ LPDATAOBJECT lpDataObjectB) = 0;
  866. };
  867. #else /* C style interface */
  868. typedef struct IComponentVtbl
  869. {
  870. BEGIN_INTERFACE
  871. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  872. IComponent * This,
  873. /* [in] */ REFIID riid,
  874. /* [iid_is][out] */ void **ppvObject);
  875. ULONG ( STDMETHODCALLTYPE *AddRef )(
  876. IComponent * This);
  877. ULONG ( STDMETHODCALLTYPE *Release )(
  878. IComponent * This);
  879. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
  880. IComponent * This,
  881. /* [in] */ LPCONSOLE lpConsole);
  882. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Notify )(
  883. IComponent * This,
  884. /* [in] */ LPDATAOBJECT lpDataObject,
  885. /* [in] */ MMC_NOTIFY_TYPE event,
  886. /* [in] */ LPARAM arg,
  887. /* [in] */ LPARAM param);
  888. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Destroy )(
  889. IComponent * This,
  890. /* [in] */ MMC_COOKIE cookie);
  891. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryDataObject )(
  892. IComponent * This,
  893. /* [in] */ MMC_COOKIE cookie,
  894. /* [in] */ DATA_OBJECT_TYPES type,
  895. /* [out] */ LPDATAOBJECT *ppDataObject);
  896. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetResultViewType )(
  897. IComponent * This,
  898. /* [in] */ MMC_COOKIE cookie,
  899. /* [out] */ LPOLESTR *ppViewType,
  900. /* [out] */ long *pViewOptions);
  901. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDisplayInfo )(
  902. IComponent * This,
  903. /* [out][in] */ RESULTDATAITEM *pResultDataItem);
  904. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CompareObjects )(
  905. IComponent * This,
  906. /* [in] */ LPDATAOBJECT lpDataObjectA,
  907. /* [in] */ LPDATAOBJECT lpDataObjectB);
  908. END_INTERFACE
  909. } IComponentVtbl;
  910. interface IComponent
  911. {
  912. CONST_VTBL struct IComponentVtbl *lpVtbl;
  913. };
  914. #ifdef COBJMACROS
  915. #define IComponent_QueryInterface(This,riid,ppvObject) \
  916. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  917. #define IComponent_AddRef(This) \
  918. (This)->lpVtbl -> AddRef(This)
  919. #define IComponent_Release(This) \
  920. (This)->lpVtbl -> Release(This)
  921. #define IComponent_Initialize(This,lpConsole) \
  922. (This)->lpVtbl -> Initialize(This,lpConsole)
  923. #define IComponent_Notify(This,lpDataObject,event,arg,param) \
  924. (This)->lpVtbl -> Notify(This,lpDataObject,event,arg,param)
  925. #define IComponent_Destroy(This,cookie) \
  926. (This)->lpVtbl -> Destroy(This,cookie)
  927. #define IComponent_QueryDataObject(This,cookie,type,ppDataObject) \
  928. (This)->lpVtbl -> QueryDataObject(This,cookie,type,ppDataObject)
  929. #define IComponent_GetResultViewType(This,cookie,ppViewType,pViewOptions) \
  930. (This)->lpVtbl -> GetResultViewType(This,cookie,ppViewType,pViewOptions)
  931. #define IComponent_GetDisplayInfo(This,pResultDataItem) \
  932. (This)->lpVtbl -> GetDisplayInfo(This,pResultDataItem)
  933. #define IComponent_CompareObjects(This,lpDataObjectA,lpDataObjectB) \
  934. (This)->lpVtbl -> CompareObjects(This,lpDataObjectA,lpDataObjectB)
  935. #endif /* COBJMACROS */
  936. #endif /* C style interface */
  937. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_Initialize_Proxy(
  938. IComponent * This,
  939. /* [in] */ LPCONSOLE lpConsole);
  940. void __RPC_STUB IComponent_Initialize_Stub(
  941. IRpcStubBuffer *This,
  942. IRpcChannelBuffer *_pRpcChannelBuffer,
  943. PRPC_MESSAGE _pRpcMessage,
  944. DWORD *_pdwStubPhase);
  945. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_Notify_Proxy(
  946. IComponent * This,
  947. /* [in] */ LPDATAOBJECT lpDataObject,
  948. /* [in] */ MMC_NOTIFY_TYPE event,
  949. /* [in] */ LPARAM arg,
  950. /* [in] */ LPARAM param);
  951. void __RPC_STUB IComponent_Notify_Stub(
  952. IRpcStubBuffer *This,
  953. IRpcChannelBuffer *_pRpcChannelBuffer,
  954. PRPC_MESSAGE _pRpcMessage,
  955. DWORD *_pdwStubPhase);
  956. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_Destroy_Proxy(
  957. IComponent * This,
  958. /* [in] */ MMC_COOKIE cookie);
  959. void __RPC_STUB IComponent_Destroy_Stub(
  960. IRpcStubBuffer *This,
  961. IRpcChannelBuffer *_pRpcChannelBuffer,
  962. PRPC_MESSAGE _pRpcMessage,
  963. DWORD *_pdwStubPhase);
  964. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_QueryDataObject_Proxy(
  965. IComponent * This,
  966. /* [in] */ MMC_COOKIE cookie,
  967. /* [in] */ DATA_OBJECT_TYPES type,
  968. /* [out] */ LPDATAOBJECT *ppDataObject);
  969. void __RPC_STUB IComponent_QueryDataObject_Stub(
  970. IRpcStubBuffer *This,
  971. IRpcChannelBuffer *_pRpcChannelBuffer,
  972. PRPC_MESSAGE _pRpcMessage,
  973. DWORD *_pdwStubPhase);
  974. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_GetResultViewType_Proxy(
  975. IComponent * This,
  976. /* [in] */ MMC_COOKIE cookie,
  977. /* [out] */ LPOLESTR *ppViewType,
  978. /* [out] */ long *pViewOptions);
  979. void __RPC_STUB IComponent_GetResultViewType_Stub(
  980. IRpcStubBuffer *This,
  981. IRpcChannelBuffer *_pRpcChannelBuffer,
  982. PRPC_MESSAGE _pRpcMessage,
  983. DWORD *_pdwStubPhase);
  984. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_GetDisplayInfo_Proxy(
  985. IComponent * This,
  986. /* [out][in] */ RESULTDATAITEM *pResultDataItem);
  987. void __RPC_STUB IComponent_GetDisplayInfo_Stub(
  988. IRpcStubBuffer *This,
  989. IRpcChannelBuffer *_pRpcChannelBuffer,
  990. PRPC_MESSAGE _pRpcMessage,
  991. DWORD *_pdwStubPhase);
  992. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_CompareObjects_Proxy(
  993. IComponent * This,
  994. /* [in] */ LPDATAOBJECT lpDataObjectA,
  995. /* [in] */ LPDATAOBJECT lpDataObjectB);
  996. void __RPC_STUB IComponent_CompareObjects_Stub(
  997. IRpcStubBuffer *This,
  998. IRpcChannelBuffer *_pRpcChannelBuffer,
  999. PRPC_MESSAGE _pRpcMessage,
  1000. DWORD *_pdwStubPhase);
  1001. #endif /* __IComponent_INTERFACE_DEFINED__ */
  1002. #ifndef __IResultDataCompare_INTERFACE_DEFINED__
  1003. #define __IResultDataCompare_INTERFACE_DEFINED__
  1004. /* interface IResultDataCompare */
  1005. /* [unique][helpstring][uuid][object] */
  1006. EXTERN_C const IID IID_IResultDataCompare;
  1007. #if defined(__cplusplus) && !defined(CINTERFACE)
  1008. MIDL_INTERFACE("E8315A52-7A1A-11D0-A2D2-00C04FD909DD")
  1009. IResultDataCompare : public IUnknown
  1010. {
  1011. public:
  1012. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Compare(
  1013. /* [in] */ LPARAM lUserParam,
  1014. /* [in] */ MMC_COOKIE cookieA,
  1015. /* [in] */ MMC_COOKIE cookieB,
  1016. /* [out][in] */ int *pnResult) = 0;
  1017. };
  1018. #else /* C style interface */
  1019. typedef struct IResultDataCompareVtbl
  1020. {
  1021. BEGIN_INTERFACE
  1022. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1023. IResultDataCompare * This,
  1024. /* [in] */ REFIID riid,
  1025. /* [iid_is][out] */ void **ppvObject);
  1026. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1027. IResultDataCompare * This);
  1028. ULONG ( STDMETHODCALLTYPE *Release )(
  1029. IResultDataCompare * This);
  1030. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Compare )(
  1031. IResultDataCompare * This,
  1032. /* [in] */ LPARAM lUserParam,
  1033. /* [in] */ MMC_COOKIE cookieA,
  1034. /* [in] */ MMC_COOKIE cookieB,
  1035. /* [out][in] */ int *pnResult);
  1036. END_INTERFACE
  1037. } IResultDataCompareVtbl;
  1038. interface IResultDataCompare
  1039. {
  1040. CONST_VTBL struct IResultDataCompareVtbl *lpVtbl;
  1041. };
  1042. #ifdef COBJMACROS
  1043. #define IResultDataCompare_QueryInterface(This,riid,ppvObject) \
  1044. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1045. #define IResultDataCompare_AddRef(This) \
  1046. (This)->lpVtbl -> AddRef(This)
  1047. #define IResultDataCompare_Release(This) \
  1048. (This)->lpVtbl -> Release(This)
  1049. #define IResultDataCompare_Compare(This,lUserParam,cookieA,cookieB,pnResult) \
  1050. (This)->lpVtbl -> Compare(This,lUserParam,cookieA,cookieB,pnResult)
  1051. #endif /* COBJMACROS */
  1052. #endif /* C style interface */
  1053. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultDataCompare_Compare_Proxy(
  1054. IResultDataCompare * This,
  1055. /* [in] */ LPARAM lUserParam,
  1056. /* [in] */ MMC_COOKIE cookieA,
  1057. /* [in] */ MMC_COOKIE cookieB,
  1058. /* [out][in] */ int *pnResult);
  1059. void __RPC_STUB IResultDataCompare_Compare_Stub(
  1060. IRpcStubBuffer *This,
  1061. IRpcChannelBuffer *_pRpcChannelBuffer,
  1062. PRPC_MESSAGE _pRpcMessage,
  1063. DWORD *_pdwStubPhase);
  1064. #endif /* __IResultDataCompare_INTERFACE_DEFINED__ */
  1065. #ifndef __IResultOwnerData_INTERFACE_DEFINED__
  1066. #define __IResultOwnerData_INTERFACE_DEFINED__
  1067. /* interface IResultOwnerData */
  1068. /* [unique][helpstring][uuid][object] */
  1069. EXTERN_C const IID IID_IResultOwnerData;
  1070. #if defined(__cplusplus) && !defined(CINTERFACE)
  1071. MIDL_INTERFACE("9CB396D8-EA83-11d0-AEF1-00C04FB6DD2C")
  1072. IResultOwnerData : public IUnknown
  1073. {
  1074. public:
  1075. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindItem(
  1076. /* [in] */ LPRESULTFINDINFO pFindInfo,
  1077. /* [out] */ int *pnFoundIndex) = 0;
  1078. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CacheHint(
  1079. /* [in] */ int nStartIndex,
  1080. /* [in] */ int nEndIndex) = 0;
  1081. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SortItems(
  1082. /* [in] */ int nColumn,
  1083. /* [in] */ DWORD dwSortOptions,
  1084. /* [in] */ LPARAM lUserParam) = 0;
  1085. };
  1086. #else /* C style interface */
  1087. typedef struct IResultOwnerDataVtbl
  1088. {
  1089. BEGIN_INTERFACE
  1090. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1091. IResultOwnerData * This,
  1092. /* [in] */ REFIID riid,
  1093. /* [iid_is][out] */ void **ppvObject);
  1094. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1095. IResultOwnerData * This);
  1096. ULONG ( STDMETHODCALLTYPE *Release )(
  1097. IResultOwnerData * This);
  1098. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindItem )(
  1099. IResultOwnerData * This,
  1100. /* [in] */ LPRESULTFINDINFO pFindInfo,
  1101. /* [out] */ int *pnFoundIndex);
  1102. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CacheHint )(
  1103. IResultOwnerData * This,
  1104. /* [in] */ int nStartIndex,
  1105. /* [in] */ int nEndIndex);
  1106. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SortItems )(
  1107. IResultOwnerData * This,
  1108. /* [in] */ int nColumn,
  1109. /* [in] */ DWORD dwSortOptions,
  1110. /* [in] */ LPARAM lUserParam);
  1111. END_INTERFACE
  1112. } IResultOwnerDataVtbl;
  1113. interface IResultOwnerData
  1114. {
  1115. CONST_VTBL struct IResultOwnerDataVtbl *lpVtbl;
  1116. };
  1117. #ifdef COBJMACROS
  1118. #define IResultOwnerData_QueryInterface(This,riid,ppvObject) \
  1119. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1120. #define IResultOwnerData_AddRef(This) \
  1121. (This)->lpVtbl -> AddRef(This)
  1122. #define IResultOwnerData_Release(This) \
  1123. (This)->lpVtbl -> Release(This)
  1124. #define IResultOwnerData_FindItem(This,pFindInfo,pnFoundIndex) \
  1125. (This)->lpVtbl -> FindItem(This,pFindInfo,pnFoundIndex)
  1126. #define IResultOwnerData_CacheHint(This,nStartIndex,nEndIndex) \
  1127. (This)->lpVtbl -> CacheHint(This,nStartIndex,nEndIndex)
  1128. #define IResultOwnerData_SortItems(This,nColumn,dwSortOptions,lUserParam) \
  1129. (This)->lpVtbl -> SortItems(This,nColumn,dwSortOptions,lUserParam)
  1130. #endif /* COBJMACROS */
  1131. #endif /* C style interface */
  1132. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultOwnerData_FindItem_Proxy(
  1133. IResultOwnerData * This,
  1134. /* [in] */ LPRESULTFINDINFO pFindInfo,
  1135. /* [out] */ int *pnFoundIndex);
  1136. void __RPC_STUB IResultOwnerData_FindItem_Stub(
  1137. IRpcStubBuffer *This,
  1138. IRpcChannelBuffer *_pRpcChannelBuffer,
  1139. PRPC_MESSAGE _pRpcMessage,
  1140. DWORD *_pdwStubPhase);
  1141. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultOwnerData_CacheHint_Proxy(
  1142. IResultOwnerData * This,
  1143. /* [in] */ int nStartIndex,
  1144. /* [in] */ int nEndIndex);
  1145. void __RPC_STUB IResultOwnerData_CacheHint_Stub(
  1146. IRpcStubBuffer *This,
  1147. IRpcChannelBuffer *_pRpcChannelBuffer,
  1148. PRPC_MESSAGE _pRpcMessage,
  1149. DWORD *_pdwStubPhase);
  1150. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultOwnerData_SortItems_Proxy(
  1151. IResultOwnerData * This,
  1152. /* [in] */ int nColumn,
  1153. /* [in] */ DWORD dwSortOptions,
  1154. /* [in] */ LPARAM lUserParam);
  1155. void __RPC_STUB IResultOwnerData_SortItems_Stub(
  1156. IRpcStubBuffer *This,
  1157. IRpcChannelBuffer *_pRpcChannelBuffer,
  1158. PRPC_MESSAGE _pRpcMessage,
  1159. DWORD *_pdwStubPhase);
  1160. #endif /* __IResultOwnerData_INTERFACE_DEFINED__ */
  1161. #ifndef __IConsole_INTERFACE_DEFINED__
  1162. #define __IConsole_INTERFACE_DEFINED__
  1163. /* interface IConsole */
  1164. /* [unique][helpstring][uuid][object] */
  1165. EXTERN_C const IID IID_IConsole;
  1166. #if defined(__cplusplus) && !defined(CINTERFACE)
  1167. MIDL_INTERFACE("43136EB1-D36C-11CF-ADBC-00AA00A80033")
  1168. IConsole : public IUnknown
  1169. {
  1170. public:
  1171. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetHeader(
  1172. /* [in] */ LPHEADERCTRL pHeader) = 0;
  1173. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetToolbar(
  1174. /* [in] */ LPTOOLBAR pToolbar) = 0;
  1175. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryResultView(
  1176. /* [out] */ LPUNKNOWN *pUnknown) = 0;
  1177. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryScopeImageList(
  1178. /* [out] */ LPIMAGELIST *ppImageList) = 0;
  1179. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryResultImageList(
  1180. /* [out] */ LPIMAGELIST *ppImageList) = 0;
  1181. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UpdateAllViews(
  1182. /* [in] */ LPDATAOBJECT lpDataObject,
  1183. /* [in] */ LPARAM data,
  1184. /* [in] */ LONG_PTR hint) = 0;
  1185. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE MessageBox(
  1186. /* [in] */ LPCWSTR lpszText,
  1187. /* [in] */ LPCWSTR lpszTitle,
  1188. /* [in] */ UINT fuStyle,
  1189. /* [out] */ int *piRetval) = 0;
  1190. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryConsoleVerb(
  1191. /* [out] */ LPCONSOLEVERB *ppConsoleVerb) = 0;
  1192. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SelectScopeItem(
  1193. /* [in] */ HSCOPEITEM hScopeItem) = 0;
  1194. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMainWindow(
  1195. /* [out] */ HWND *phwnd) = 0;
  1196. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NewWindow(
  1197. /* [in] */ HSCOPEITEM hScopeItem,
  1198. /* [in] */ unsigned long lOptions) = 0;
  1199. };
  1200. #else /* C style interface */
  1201. typedef struct IConsoleVtbl
  1202. {
  1203. BEGIN_INTERFACE
  1204. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1205. IConsole * This,
  1206. /* [in] */ REFIID riid,
  1207. /* [iid_is][out] */ void **ppvObject);
  1208. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1209. IConsole * This);
  1210. ULONG ( STDMETHODCALLTYPE *Release )(
  1211. IConsole * This);
  1212. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetHeader )(
  1213. IConsole * This,
  1214. /* [in] */ LPHEADERCTRL pHeader);
  1215. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetToolbar )(
  1216. IConsole * This,
  1217. /* [in] */ LPTOOLBAR pToolbar);
  1218. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryResultView )(
  1219. IConsole * This,
  1220. /* [out] */ LPUNKNOWN *pUnknown);
  1221. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryScopeImageList )(
  1222. IConsole * This,
  1223. /* [out] */ LPIMAGELIST *ppImageList);
  1224. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryResultImageList )(
  1225. IConsole * This,
  1226. /* [out] */ LPIMAGELIST *ppImageList);
  1227. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdateAllViews )(
  1228. IConsole * This,
  1229. /* [in] */ LPDATAOBJECT lpDataObject,
  1230. /* [in] */ LPARAM data,
  1231. /* [in] */ LONG_PTR hint);
  1232. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *MessageBox )(
  1233. IConsole * This,
  1234. /* [in] */ LPCWSTR lpszText,
  1235. /* [in] */ LPCWSTR lpszTitle,
  1236. /* [in] */ UINT fuStyle,
  1237. /* [out] */ int *piRetval);
  1238. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryConsoleVerb )(
  1239. IConsole * This,
  1240. /* [out] */ LPCONSOLEVERB *ppConsoleVerb);
  1241. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SelectScopeItem )(
  1242. IConsole * This,
  1243. /* [in] */ HSCOPEITEM hScopeItem);
  1244. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMainWindow )(
  1245. IConsole * This,
  1246. /* [out] */ HWND *phwnd);
  1247. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NewWindow )(
  1248. IConsole * This,
  1249. /* [in] */ HSCOPEITEM hScopeItem,
  1250. /* [in] */ unsigned long lOptions);
  1251. END_INTERFACE
  1252. } IConsoleVtbl;
  1253. interface IConsole
  1254. {
  1255. CONST_VTBL struct IConsoleVtbl *lpVtbl;
  1256. };
  1257. #ifdef COBJMACROS
  1258. #define IConsole_QueryInterface(This,riid,ppvObject) \
  1259. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1260. #define IConsole_AddRef(This) \
  1261. (This)->lpVtbl -> AddRef(This)
  1262. #define IConsole_Release(This) \
  1263. (This)->lpVtbl -> Release(This)
  1264. #define IConsole_SetHeader(This,pHeader) \
  1265. (This)->lpVtbl -> SetHeader(This,pHeader)
  1266. #define IConsole_SetToolbar(This,pToolbar) \
  1267. (This)->lpVtbl -> SetToolbar(This,pToolbar)
  1268. #define IConsole_QueryResultView(This,pUnknown) \
  1269. (This)->lpVtbl -> QueryResultView(This,pUnknown)
  1270. #define IConsole_QueryScopeImageList(This,ppImageList) \
  1271. (This)->lpVtbl -> QueryScopeImageList(This,ppImageList)
  1272. #define IConsole_QueryResultImageList(This,ppImageList) \
  1273. (This)->lpVtbl -> QueryResultImageList(This,ppImageList)
  1274. #define IConsole_UpdateAllViews(This,lpDataObject,data,hint) \
  1275. (This)->lpVtbl -> UpdateAllViews(This,lpDataObject,data,hint)
  1276. #define IConsole_MessageBox(This,lpszText,lpszTitle,fuStyle,piRetval) \
  1277. (This)->lpVtbl -> MessageBox(This,lpszText,lpszTitle,fuStyle,piRetval)
  1278. #define IConsole_QueryConsoleVerb(This,ppConsoleVerb) \
  1279. (This)->lpVtbl -> QueryConsoleVerb(This,ppConsoleVerb)
  1280. #define IConsole_SelectScopeItem(This,hScopeItem) \
  1281. (This)->lpVtbl -> SelectScopeItem(This,hScopeItem)
  1282. #define IConsole_GetMainWindow(This,phwnd) \
  1283. (This)->lpVtbl -> GetMainWindow(This,phwnd)
  1284. #define IConsole_NewWindow(This,hScopeItem,lOptions) \
  1285. (This)->lpVtbl -> NewWindow(This,hScopeItem,lOptions)
  1286. #endif /* COBJMACROS */
  1287. #endif /* C style interface */
  1288. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_SetHeader_Proxy(
  1289. IConsole * This,
  1290. /* [in] */ LPHEADERCTRL pHeader);
  1291. void __RPC_STUB IConsole_SetHeader_Stub(
  1292. IRpcStubBuffer *This,
  1293. IRpcChannelBuffer *_pRpcChannelBuffer,
  1294. PRPC_MESSAGE _pRpcMessage,
  1295. DWORD *_pdwStubPhase);
  1296. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_SetToolbar_Proxy(
  1297. IConsole * This,
  1298. /* [in] */ LPTOOLBAR pToolbar);
  1299. void __RPC_STUB IConsole_SetToolbar_Stub(
  1300. IRpcStubBuffer *This,
  1301. IRpcChannelBuffer *_pRpcChannelBuffer,
  1302. PRPC_MESSAGE _pRpcMessage,
  1303. DWORD *_pdwStubPhase);
  1304. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_QueryResultView_Proxy(
  1305. IConsole * This,
  1306. /* [out] */ LPUNKNOWN *pUnknown);
  1307. void __RPC_STUB IConsole_QueryResultView_Stub(
  1308. IRpcStubBuffer *This,
  1309. IRpcChannelBuffer *_pRpcChannelBuffer,
  1310. PRPC_MESSAGE _pRpcMessage,
  1311. DWORD *_pdwStubPhase);
  1312. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_QueryScopeImageList_Proxy(
  1313. IConsole * This,
  1314. /* [out] */ LPIMAGELIST *ppImageList);
  1315. void __RPC_STUB IConsole_QueryScopeImageList_Stub(
  1316. IRpcStubBuffer *This,
  1317. IRpcChannelBuffer *_pRpcChannelBuffer,
  1318. PRPC_MESSAGE _pRpcMessage,
  1319. DWORD *_pdwStubPhase);
  1320. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_QueryResultImageList_Proxy(
  1321. IConsole * This,
  1322. /* [out] */ LPIMAGELIST *ppImageList);
  1323. void __RPC_STUB IConsole_QueryResultImageList_Stub(
  1324. IRpcStubBuffer *This,
  1325. IRpcChannelBuffer *_pRpcChannelBuffer,
  1326. PRPC_MESSAGE _pRpcMessage,
  1327. DWORD *_pdwStubPhase);
  1328. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_UpdateAllViews_Proxy(
  1329. IConsole * This,
  1330. /* [in] */ LPDATAOBJECT lpDataObject,
  1331. /* [in] */ LPARAM data,
  1332. /* [in] */ LONG_PTR hint);
  1333. void __RPC_STUB IConsole_UpdateAllViews_Stub(
  1334. IRpcStubBuffer *This,
  1335. IRpcChannelBuffer *_pRpcChannelBuffer,
  1336. PRPC_MESSAGE _pRpcMessage,
  1337. DWORD *_pdwStubPhase);
  1338. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_MessageBox_Proxy(
  1339. IConsole * This,
  1340. /* [in] */ LPCWSTR lpszText,
  1341. /* [in] */ LPCWSTR lpszTitle,
  1342. /* [in] */ UINT fuStyle,
  1343. /* [out] */ int *piRetval);
  1344. void __RPC_STUB IConsole_MessageBox_Stub(
  1345. IRpcStubBuffer *This,
  1346. IRpcChannelBuffer *_pRpcChannelBuffer,
  1347. PRPC_MESSAGE _pRpcMessage,
  1348. DWORD *_pdwStubPhase);
  1349. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_QueryConsoleVerb_Proxy(
  1350. IConsole * This,
  1351. /* [out] */ LPCONSOLEVERB *ppConsoleVerb);
  1352. void __RPC_STUB IConsole_QueryConsoleVerb_Stub(
  1353. IRpcStubBuffer *This,
  1354. IRpcChannelBuffer *_pRpcChannelBuffer,
  1355. PRPC_MESSAGE _pRpcMessage,
  1356. DWORD *_pdwStubPhase);
  1357. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_SelectScopeItem_Proxy(
  1358. IConsole * This,
  1359. /* [in] */ HSCOPEITEM hScopeItem);
  1360. void __RPC_STUB IConsole_SelectScopeItem_Stub(
  1361. IRpcStubBuffer *This,
  1362. IRpcChannelBuffer *_pRpcChannelBuffer,
  1363. PRPC_MESSAGE _pRpcMessage,
  1364. DWORD *_pdwStubPhase);
  1365. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_GetMainWindow_Proxy(
  1366. IConsole * This,
  1367. /* [out] */ HWND *phwnd);
  1368. void __RPC_STUB IConsole_GetMainWindow_Stub(
  1369. IRpcStubBuffer *This,
  1370. IRpcChannelBuffer *_pRpcChannelBuffer,
  1371. PRPC_MESSAGE _pRpcMessage,
  1372. DWORD *_pdwStubPhase);
  1373. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_NewWindow_Proxy(
  1374. IConsole * This,
  1375. /* [in] */ HSCOPEITEM hScopeItem,
  1376. /* [in] */ unsigned long lOptions);
  1377. void __RPC_STUB IConsole_NewWindow_Stub(
  1378. IRpcStubBuffer *This,
  1379. IRpcChannelBuffer *_pRpcChannelBuffer,
  1380. PRPC_MESSAGE _pRpcMessage,
  1381. DWORD *_pdwStubPhase);
  1382. #endif /* __IConsole_INTERFACE_DEFINED__ */
  1383. #ifndef __IHeaderCtrl_INTERFACE_DEFINED__
  1384. #define __IHeaderCtrl_INTERFACE_DEFINED__
  1385. /* interface IHeaderCtrl */
  1386. /* [unique][helpstring][uuid][object] */
  1387. #define AUTO_WIDTH ( -1 )
  1388. #if (MMC_VER >= 0x0120)
  1389. #define HIDE_COLUMN ( -4 )
  1390. #endif // MMC_VER >= 0x0120
  1391. EXTERN_C const IID IID_IHeaderCtrl;
  1392. #if defined(__cplusplus) && !defined(CINTERFACE)
  1393. MIDL_INTERFACE("43136EB3-D36C-11CF-ADBC-00AA00A80033")
  1394. IHeaderCtrl : public IUnknown
  1395. {
  1396. public:
  1397. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertColumn(
  1398. /* [in] */ int nCol,
  1399. /* [in] */ LPCWSTR title,
  1400. /* [in] */ int nFormat,
  1401. /* [in] */ int nWidth) = 0;
  1402. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteColumn(
  1403. /* [in] */ int nCol) = 0;
  1404. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetColumnText(
  1405. /* [in] */ int nCol,
  1406. /* [in] */ LPCWSTR title) = 0;
  1407. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetColumnText(
  1408. /* [in] */ int nCol,
  1409. /* [out] */ LPOLESTR *pText) = 0;
  1410. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetColumnWidth(
  1411. /* [in] */ int nCol,
  1412. /* [in] */ int nWidth) = 0;
  1413. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetColumnWidth(
  1414. /* [in] */ int nCol,
  1415. /* [out] */ int *pWidth) = 0;
  1416. };
  1417. #else /* C style interface */
  1418. typedef struct IHeaderCtrlVtbl
  1419. {
  1420. BEGIN_INTERFACE
  1421. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1422. IHeaderCtrl * This,
  1423. /* [in] */ REFIID riid,
  1424. /* [iid_is][out] */ void **ppvObject);
  1425. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1426. IHeaderCtrl * This);
  1427. ULONG ( STDMETHODCALLTYPE *Release )(
  1428. IHeaderCtrl * This);
  1429. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertColumn )(
  1430. IHeaderCtrl * This,
  1431. /* [in] */ int nCol,
  1432. /* [in] */ LPCWSTR title,
  1433. /* [in] */ int nFormat,
  1434. /* [in] */ int nWidth);
  1435. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteColumn )(
  1436. IHeaderCtrl * This,
  1437. /* [in] */ int nCol);
  1438. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnText )(
  1439. IHeaderCtrl * This,
  1440. /* [in] */ int nCol,
  1441. /* [in] */ LPCWSTR title);
  1442. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnText )(
  1443. IHeaderCtrl * This,
  1444. /* [in] */ int nCol,
  1445. /* [out] */ LPOLESTR *pText);
  1446. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnWidth )(
  1447. IHeaderCtrl * This,
  1448. /* [in] */ int nCol,
  1449. /* [in] */ int nWidth);
  1450. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnWidth )(
  1451. IHeaderCtrl * This,
  1452. /* [in] */ int nCol,
  1453. /* [out] */ int *pWidth);
  1454. END_INTERFACE
  1455. } IHeaderCtrlVtbl;
  1456. interface IHeaderCtrl
  1457. {
  1458. CONST_VTBL struct IHeaderCtrlVtbl *lpVtbl;
  1459. };
  1460. #ifdef COBJMACROS
  1461. #define IHeaderCtrl_QueryInterface(This,riid,ppvObject) \
  1462. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1463. #define IHeaderCtrl_AddRef(This) \
  1464. (This)->lpVtbl -> AddRef(This)
  1465. #define IHeaderCtrl_Release(This) \
  1466. (This)->lpVtbl -> Release(This)
  1467. #define IHeaderCtrl_InsertColumn(This,nCol,title,nFormat,nWidth) \
  1468. (This)->lpVtbl -> InsertColumn(This,nCol,title,nFormat,nWidth)
  1469. #define IHeaderCtrl_DeleteColumn(This,nCol) \
  1470. (This)->lpVtbl -> DeleteColumn(This,nCol)
  1471. #define IHeaderCtrl_SetColumnText(This,nCol,title) \
  1472. (This)->lpVtbl -> SetColumnText(This,nCol,title)
  1473. #define IHeaderCtrl_GetColumnText(This,nCol,pText) \
  1474. (This)->lpVtbl -> GetColumnText(This,nCol,pText)
  1475. #define IHeaderCtrl_SetColumnWidth(This,nCol,nWidth) \
  1476. (This)->lpVtbl -> SetColumnWidth(This,nCol,nWidth)
  1477. #define IHeaderCtrl_GetColumnWidth(This,nCol,pWidth) \
  1478. (This)->lpVtbl -> GetColumnWidth(This,nCol,pWidth)
  1479. #endif /* COBJMACROS */
  1480. #endif /* C style interface */
  1481. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_InsertColumn_Proxy(
  1482. IHeaderCtrl * This,
  1483. /* [in] */ int nCol,
  1484. /* [in] */ LPCWSTR title,
  1485. /* [in] */ int nFormat,
  1486. /* [in] */ int nWidth);
  1487. void __RPC_STUB IHeaderCtrl_InsertColumn_Stub(
  1488. IRpcStubBuffer *This,
  1489. IRpcChannelBuffer *_pRpcChannelBuffer,
  1490. PRPC_MESSAGE _pRpcMessage,
  1491. DWORD *_pdwStubPhase);
  1492. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_DeleteColumn_Proxy(
  1493. IHeaderCtrl * This,
  1494. /* [in] */ int nCol);
  1495. void __RPC_STUB IHeaderCtrl_DeleteColumn_Stub(
  1496. IRpcStubBuffer *This,
  1497. IRpcChannelBuffer *_pRpcChannelBuffer,
  1498. PRPC_MESSAGE _pRpcMessage,
  1499. DWORD *_pdwStubPhase);
  1500. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_SetColumnText_Proxy(
  1501. IHeaderCtrl * This,
  1502. /* [in] */ int nCol,
  1503. /* [in] */ LPCWSTR title);
  1504. void __RPC_STUB IHeaderCtrl_SetColumnText_Stub(
  1505. IRpcStubBuffer *This,
  1506. IRpcChannelBuffer *_pRpcChannelBuffer,
  1507. PRPC_MESSAGE _pRpcMessage,
  1508. DWORD *_pdwStubPhase);
  1509. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_GetColumnText_Proxy(
  1510. IHeaderCtrl * This,
  1511. /* [in] */ int nCol,
  1512. /* [out] */ LPOLESTR *pText);
  1513. void __RPC_STUB IHeaderCtrl_GetColumnText_Stub(
  1514. IRpcStubBuffer *This,
  1515. IRpcChannelBuffer *_pRpcChannelBuffer,
  1516. PRPC_MESSAGE _pRpcMessage,
  1517. DWORD *_pdwStubPhase);
  1518. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_SetColumnWidth_Proxy(
  1519. IHeaderCtrl * This,
  1520. /* [in] */ int nCol,
  1521. /* [in] */ int nWidth);
  1522. void __RPC_STUB IHeaderCtrl_SetColumnWidth_Stub(
  1523. IRpcStubBuffer *This,
  1524. IRpcChannelBuffer *_pRpcChannelBuffer,
  1525. PRPC_MESSAGE _pRpcMessage,
  1526. DWORD *_pdwStubPhase);
  1527. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_GetColumnWidth_Proxy(
  1528. IHeaderCtrl * This,
  1529. /* [in] */ int nCol,
  1530. /* [out] */ int *pWidth);
  1531. void __RPC_STUB IHeaderCtrl_GetColumnWidth_Stub(
  1532. IRpcStubBuffer *This,
  1533. IRpcChannelBuffer *_pRpcChannelBuffer,
  1534. PRPC_MESSAGE _pRpcMessage,
  1535. DWORD *_pdwStubPhase);
  1536. #endif /* __IHeaderCtrl_INTERFACE_DEFINED__ */
  1537. /* interface __MIDL_itf_mmc_0121 */
  1538. /* [local] */
  1539. enum __MIDL___MIDL_itf_mmc_0121_0001
  1540. { CCM_INSERTIONPOINTID_MASK_SPECIAL = 0xffff0000,
  1541. CCM_INSERTIONPOINTID_MASK_SHARED = 0x80000000,
  1542. CCM_INSERTIONPOINTID_MASK_CREATE_PRIMARY = 0x40000000,
  1543. CCM_INSERTIONPOINTID_MASK_ADD_PRIMARY = 0x20000000,
  1544. CCM_INSERTIONPOINTID_MASK_ADD_3RDPARTY = 0x10000000,
  1545. CCM_INSERTIONPOINTID_MASK_RESERVED = 0xfff0000,
  1546. CCM_INSERTIONPOINTID_MASK_FLAGINDEX = 0x1f,
  1547. CCM_INSERTIONPOINTID_PRIMARY_TOP = 0xa0000000,
  1548. CCM_INSERTIONPOINTID_PRIMARY_NEW = 0xa0000001,
  1549. CCM_INSERTIONPOINTID_PRIMARY_TASK = 0xa0000002,
  1550. CCM_INSERTIONPOINTID_PRIMARY_VIEW = 0xa0000003,
  1551. CCM_INSERTIONPOINTID_3RDPARTY_NEW = 0x90000001,
  1552. CCM_INSERTIONPOINTID_3RDPARTY_TASK = 0x90000002,
  1553. CCM_INSERTIONPOINTID_ROOT_MENU = 0x80000000
  1554. } ;
  1555. enum __MIDL___MIDL_itf_mmc_0121_0002
  1556. { CCM_INSERTIONALLOWED_TOP = 1L << (CCM_INSERTIONPOINTID_PRIMARY_TOP & CCM_INSERTIONPOINTID_MASK_FLAGINDEX),
  1557. CCM_INSERTIONALLOWED_NEW = 1L << (CCM_INSERTIONPOINTID_PRIMARY_NEW & CCM_INSERTIONPOINTID_MASK_FLAGINDEX),
  1558. CCM_INSERTIONALLOWED_TASK = 1L << (CCM_INSERTIONPOINTID_PRIMARY_TASK & CCM_INSERTIONPOINTID_MASK_FLAGINDEX),
  1559. CCM_INSERTIONALLOWED_VIEW = 1L << (CCM_INSERTIONPOINTID_PRIMARY_VIEW & CCM_INSERTIONPOINTID_MASK_FLAGINDEX)
  1560. } ;
  1561. enum __MIDL___MIDL_itf_mmc_0121_0003
  1562. { CCM_COMMANDID_MASK_RESERVED = 0xffff0000
  1563. } ;
  1564. enum __MIDL___MIDL_itf_mmc_0121_0004
  1565. { CCM_SPECIAL_SEPARATOR = 0x1,
  1566. CCM_SPECIAL_SUBMENU = 0x2,
  1567. CCM_SPECIAL_DEFAULT_ITEM = 0x4,
  1568. CCM_SPECIAL_INSERTION_POINT = 0x8,
  1569. CCM_SPECIAL_TESTONLY = 0x10
  1570. } ;
  1571. extern RPC_IF_HANDLE __MIDL_itf_mmc_0121_v0_0_c_ifspec;
  1572. extern RPC_IF_HANDLE __MIDL_itf_mmc_0121_v0_0_s_ifspec;
  1573. #ifndef __IContextMenuCallback_INTERFACE_DEFINED__
  1574. #define __IContextMenuCallback_INTERFACE_DEFINED__
  1575. /* interface IContextMenuCallback */
  1576. /* [unique][helpstring][uuid][object] */
  1577. EXTERN_C const IID IID_IContextMenuCallback;
  1578. #if defined(__cplusplus) && !defined(CINTERFACE)
  1579. MIDL_INTERFACE("43136EB7-D36C-11CF-ADBC-00AA00A80033")
  1580. IContextMenuCallback : public IUnknown
  1581. {
  1582. public:
  1583. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddItem(
  1584. /* [in] */ CONTEXTMENUITEM *pItem) = 0;
  1585. };
  1586. #else /* C style interface */
  1587. typedef struct IContextMenuCallbackVtbl
  1588. {
  1589. BEGIN_INTERFACE
  1590. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1591. IContextMenuCallback * This,
  1592. /* [in] */ REFIID riid,
  1593. /* [iid_is][out] */ void **ppvObject);
  1594. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1595. IContextMenuCallback * This);
  1596. ULONG ( STDMETHODCALLTYPE *Release )(
  1597. IContextMenuCallback * This);
  1598. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddItem )(
  1599. IContextMenuCallback * This,
  1600. /* [in] */ CONTEXTMENUITEM *pItem);
  1601. END_INTERFACE
  1602. } IContextMenuCallbackVtbl;
  1603. interface IContextMenuCallback
  1604. {
  1605. CONST_VTBL struct IContextMenuCallbackVtbl *lpVtbl;
  1606. };
  1607. #ifdef COBJMACROS
  1608. #define IContextMenuCallback_QueryInterface(This,riid,ppvObject) \
  1609. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1610. #define IContextMenuCallback_AddRef(This) \
  1611. (This)->lpVtbl -> AddRef(This)
  1612. #define IContextMenuCallback_Release(This) \
  1613. (This)->lpVtbl -> Release(This)
  1614. #define IContextMenuCallback_AddItem(This,pItem) \
  1615. (This)->lpVtbl -> AddItem(This,pItem)
  1616. #endif /* COBJMACROS */
  1617. #endif /* C style interface */
  1618. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuCallback_AddItem_Proxy(
  1619. IContextMenuCallback * This,
  1620. /* [in] */ CONTEXTMENUITEM *pItem);
  1621. void __RPC_STUB IContextMenuCallback_AddItem_Stub(
  1622. IRpcStubBuffer *This,
  1623. IRpcChannelBuffer *_pRpcChannelBuffer,
  1624. PRPC_MESSAGE _pRpcMessage,
  1625. DWORD *_pdwStubPhase);
  1626. #endif /* __IContextMenuCallback_INTERFACE_DEFINED__ */
  1627. #ifndef __IContextMenuProvider_INTERFACE_DEFINED__
  1628. #define __IContextMenuProvider_INTERFACE_DEFINED__
  1629. /* interface IContextMenuProvider */
  1630. /* [unique][helpstring][object][uuid][object] */
  1631. EXTERN_C const IID IID_IContextMenuProvider;
  1632. #if defined(__cplusplus) && !defined(CINTERFACE)
  1633. MIDL_INTERFACE("43136EB6-D36C-11CF-ADBC-00AA00A80033")
  1634. IContextMenuProvider : public IContextMenuCallback
  1635. {
  1636. public:
  1637. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EmptyMenuList( void) = 0;
  1638. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddPrimaryExtensionItems(
  1639. /* [in] */ LPUNKNOWN piExtension,
  1640. /* [in] */ LPDATAOBJECT piDataObject) = 0;
  1641. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddThirdPartyExtensionItems(
  1642. /* [in] */ LPDATAOBJECT piDataObject) = 0;
  1643. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShowContextMenu(
  1644. /* [in] */ HWND hwndParent,
  1645. /* [in] */ long xPos,
  1646. /* [in] */ long yPos,
  1647. /* [retval][out] */ long *plSelected) = 0;
  1648. };
  1649. #else /* C style interface */
  1650. typedef struct IContextMenuProviderVtbl
  1651. {
  1652. BEGIN_INTERFACE
  1653. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1654. IContextMenuProvider * This,
  1655. /* [in] */ REFIID riid,
  1656. /* [iid_is][out] */ void **ppvObject);
  1657. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1658. IContextMenuProvider * This);
  1659. ULONG ( STDMETHODCALLTYPE *Release )(
  1660. IContextMenuProvider * This);
  1661. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddItem )(
  1662. IContextMenuProvider * This,
  1663. /* [in] */ CONTEXTMENUITEM *pItem);
  1664. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EmptyMenuList )(
  1665. IContextMenuProvider * This);
  1666. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPrimaryExtensionItems )(
  1667. IContextMenuProvider * This,
  1668. /* [in] */ LPUNKNOWN piExtension,
  1669. /* [in] */ LPDATAOBJECT piDataObject);
  1670. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddThirdPartyExtensionItems )(
  1671. IContextMenuProvider * This,
  1672. /* [in] */ LPDATAOBJECT piDataObject);
  1673. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShowContextMenu )(
  1674. IContextMenuProvider * This,
  1675. /* [in] */ HWND hwndParent,
  1676. /* [in] */ long xPos,
  1677. /* [in] */ long yPos,
  1678. /* [retval][out] */ long *plSelected);
  1679. END_INTERFACE
  1680. } IContextMenuProviderVtbl;
  1681. interface IContextMenuProvider
  1682. {
  1683. CONST_VTBL struct IContextMenuProviderVtbl *lpVtbl;
  1684. };
  1685. #ifdef COBJMACROS
  1686. #define IContextMenuProvider_QueryInterface(This,riid,ppvObject) \
  1687. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1688. #define IContextMenuProvider_AddRef(This) \
  1689. (This)->lpVtbl -> AddRef(This)
  1690. #define IContextMenuProvider_Release(This) \
  1691. (This)->lpVtbl -> Release(This)
  1692. #define IContextMenuProvider_AddItem(This,pItem) \
  1693. (This)->lpVtbl -> AddItem(This,pItem)
  1694. #define IContextMenuProvider_EmptyMenuList(This) \
  1695. (This)->lpVtbl -> EmptyMenuList(This)
  1696. #define IContextMenuProvider_AddPrimaryExtensionItems(This,piExtension,piDataObject) \
  1697. (This)->lpVtbl -> AddPrimaryExtensionItems(This,piExtension,piDataObject)
  1698. #define IContextMenuProvider_AddThirdPartyExtensionItems(This,piDataObject) \
  1699. (This)->lpVtbl -> AddThirdPartyExtensionItems(This,piDataObject)
  1700. #define IContextMenuProvider_ShowContextMenu(This,hwndParent,xPos,yPos,plSelected) \
  1701. (This)->lpVtbl -> ShowContextMenu(This,hwndParent,xPos,yPos,plSelected)
  1702. #endif /* COBJMACROS */
  1703. #endif /* C style interface */
  1704. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuProvider_EmptyMenuList_Proxy(
  1705. IContextMenuProvider * This);
  1706. void __RPC_STUB IContextMenuProvider_EmptyMenuList_Stub(
  1707. IRpcStubBuffer *This,
  1708. IRpcChannelBuffer *_pRpcChannelBuffer,
  1709. PRPC_MESSAGE _pRpcMessage,
  1710. DWORD *_pdwStubPhase);
  1711. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuProvider_AddPrimaryExtensionItems_Proxy(
  1712. IContextMenuProvider * This,
  1713. /* [in] */ LPUNKNOWN piExtension,
  1714. /* [in] */ LPDATAOBJECT piDataObject);
  1715. void __RPC_STUB IContextMenuProvider_AddPrimaryExtensionItems_Stub(
  1716. IRpcStubBuffer *This,
  1717. IRpcChannelBuffer *_pRpcChannelBuffer,
  1718. PRPC_MESSAGE _pRpcMessage,
  1719. DWORD *_pdwStubPhase);
  1720. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuProvider_AddThirdPartyExtensionItems_Proxy(
  1721. IContextMenuProvider * This,
  1722. /* [in] */ LPDATAOBJECT piDataObject);
  1723. void __RPC_STUB IContextMenuProvider_AddThirdPartyExtensionItems_Stub(
  1724. IRpcStubBuffer *This,
  1725. IRpcChannelBuffer *_pRpcChannelBuffer,
  1726. PRPC_MESSAGE _pRpcMessage,
  1727. DWORD *_pdwStubPhase);
  1728. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuProvider_ShowContextMenu_Proxy(
  1729. IContextMenuProvider * This,
  1730. /* [in] */ HWND hwndParent,
  1731. /* [in] */ long xPos,
  1732. /* [in] */ long yPos,
  1733. /* [retval][out] */ long *plSelected);
  1734. void __RPC_STUB IContextMenuProvider_ShowContextMenu_Stub(
  1735. IRpcStubBuffer *This,
  1736. IRpcChannelBuffer *_pRpcChannelBuffer,
  1737. PRPC_MESSAGE _pRpcMessage,
  1738. DWORD *_pdwStubPhase);
  1739. #endif /* __IContextMenuProvider_INTERFACE_DEFINED__ */
  1740. #ifndef __IExtendContextMenu_INTERFACE_DEFINED__
  1741. #define __IExtendContextMenu_INTERFACE_DEFINED__
  1742. /* interface IExtendContextMenu */
  1743. /* [unique][helpstring][uuid][object] */
  1744. EXTERN_C const IID IID_IExtendContextMenu;
  1745. #if defined(__cplusplus) && !defined(CINTERFACE)
  1746. MIDL_INTERFACE("4F3B7A4F-CFAC-11CF-B8E3-00C04FD8D5B0")
  1747. IExtendContextMenu : public IUnknown
  1748. {
  1749. public:
  1750. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddMenuItems(
  1751. /* [in] */ LPDATAOBJECT piDataObject,
  1752. /* [in] */ LPCONTEXTMENUCALLBACK piCallback,
  1753. /* [out][in] */ long *pInsertionAllowed) = 0;
  1754. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Command(
  1755. /* [in] */ long lCommandID,
  1756. /* [in] */ LPDATAOBJECT piDataObject) = 0;
  1757. };
  1758. #else /* C style interface */
  1759. typedef struct IExtendContextMenuVtbl
  1760. {
  1761. BEGIN_INTERFACE
  1762. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1763. IExtendContextMenu * This,
  1764. /* [in] */ REFIID riid,
  1765. /* [iid_is][out] */ void **ppvObject);
  1766. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1767. IExtendContextMenu * This);
  1768. ULONG ( STDMETHODCALLTYPE *Release )(
  1769. IExtendContextMenu * This);
  1770. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddMenuItems )(
  1771. IExtendContextMenu * This,
  1772. /* [in] */ LPDATAOBJECT piDataObject,
  1773. /* [in] */ LPCONTEXTMENUCALLBACK piCallback,
  1774. /* [out][in] */ long *pInsertionAllowed);
  1775. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Command )(
  1776. IExtendContextMenu * This,
  1777. /* [in] */ long lCommandID,
  1778. /* [in] */ LPDATAOBJECT piDataObject);
  1779. END_INTERFACE
  1780. } IExtendContextMenuVtbl;
  1781. interface IExtendContextMenu
  1782. {
  1783. CONST_VTBL struct IExtendContextMenuVtbl *lpVtbl;
  1784. };
  1785. #ifdef COBJMACROS
  1786. #define IExtendContextMenu_QueryInterface(This,riid,ppvObject) \
  1787. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1788. #define IExtendContextMenu_AddRef(This) \
  1789. (This)->lpVtbl -> AddRef(This)
  1790. #define IExtendContextMenu_Release(This) \
  1791. (This)->lpVtbl -> Release(This)
  1792. #define IExtendContextMenu_AddMenuItems(This,piDataObject,piCallback,pInsertionAllowed) \
  1793. (This)->lpVtbl -> AddMenuItems(This,piDataObject,piCallback,pInsertionAllowed)
  1794. #define IExtendContextMenu_Command(This,lCommandID,piDataObject) \
  1795. (This)->lpVtbl -> Command(This,lCommandID,piDataObject)
  1796. #endif /* COBJMACROS */
  1797. #endif /* C style interface */
  1798. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendContextMenu_AddMenuItems_Proxy(
  1799. IExtendContextMenu * This,
  1800. /* [in] */ LPDATAOBJECT piDataObject,
  1801. /* [in] */ LPCONTEXTMENUCALLBACK piCallback,
  1802. /* [out][in] */ long *pInsertionAllowed);
  1803. void __RPC_STUB IExtendContextMenu_AddMenuItems_Stub(
  1804. IRpcStubBuffer *This,
  1805. IRpcChannelBuffer *_pRpcChannelBuffer,
  1806. PRPC_MESSAGE _pRpcMessage,
  1807. DWORD *_pdwStubPhase);
  1808. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendContextMenu_Command_Proxy(
  1809. IExtendContextMenu * This,
  1810. /* [in] */ long lCommandID,
  1811. /* [in] */ LPDATAOBJECT piDataObject);
  1812. void __RPC_STUB IExtendContextMenu_Command_Stub(
  1813. IRpcStubBuffer *This,
  1814. IRpcChannelBuffer *_pRpcChannelBuffer,
  1815. PRPC_MESSAGE _pRpcMessage,
  1816. DWORD *_pdwStubPhase);
  1817. #endif /* __IExtendContextMenu_INTERFACE_DEFINED__ */
  1818. /* interface __MIDL_itf_mmc_0124 */
  1819. /* [local] */
  1820. #if (MMC_VER >= 0x0120)
  1821. #define ILSIF_LEAVE_LARGE_ICON 0x40000000
  1822. #define ILSIF_LEAVE_SMALL_ICON 0x20000000
  1823. #define ILSIF_LEAVE_MASK (ILSIF_LEAVE_LARGE_ICON | ILSIF_LEAVE_SMALL_ICON)
  1824. #define ILSI_LARGE_ICON(nLoc) (nLoc | ILSIF_LEAVE_SMALL_ICON)
  1825. #define ILSI_SMALL_ICON(nLoc) (nLoc | ILSIF_LEAVE_LARGE_ICON)
  1826. #endif // MMC_VER >= 0x0120
  1827. extern RPC_IF_HANDLE __MIDL_itf_mmc_0124_v0_0_c_ifspec;
  1828. extern RPC_IF_HANDLE __MIDL_itf_mmc_0124_v0_0_s_ifspec;
  1829. #ifndef __IImageList_INTERFACE_DEFINED__
  1830. #define __IImageList_INTERFACE_DEFINED__
  1831. /* interface IImageList */
  1832. /* [unique][helpstring][uuid][object] */
  1833. EXTERN_C const IID IID_IImageList;
  1834. #if defined(__cplusplus) && !defined(CINTERFACE)
  1835. MIDL_INTERFACE("43136EB8-D36C-11CF-ADBC-00AA00A80033")
  1836. IImageList : public IUnknown
  1837. {
  1838. public:
  1839. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ImageListSetIcon(
  1840. /* [in] */ LONG_PTR *pIcon,
  1841. /* [in] */ long nLoc) = 0;
  1842. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ImageListSetStrip(
  1843. /* [in] */ LONG_PTR *pBMapSm,
  1844. /* [in] */ LONG_PTR *pBMapLg,
  1845. /* [in] */ long nStartLoc,
  1846. /* [in] */ COLORREF cMask) = 0;
  1847. };
  1848. #else /* C style interface */
  1849. typedef struct IImageListVtbl
  1850. {
  1851. BEGIN_INTERFACE
  1852. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1853. IImageList * This,
  1854. /* [in] */ REFIID riid,
  1855. /* [iid_is][out] */ void **ppvObject);
  1856. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1857. IImageList * This);
  1858. ULONG ( STDMETHODCALLTYPE *Release )(
  1859. IImageList * This);
  1860. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ImageListSetIcon )(
  1861. IImageList * This,
  1862. /* [in] */ LONG_PTR *pIcon,
  1863. /* [in] */ long nLoc);
  1864. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ImageListSetStrip )(
  1865. IImageList * This,
  1866. /* [in] */ LONG_PTR *pBMapSm,
  1867. /* [in] */ LONG_PTR *pBMapLg,
  1868. /* [in] */ long nStartLoc,
  1869. /* [in] */ COLORREF cMask);
  1870. END_INTERFACE
  1871. } IImageListVtbl;
  1872. interface IImageList
  1873. {
  1874. CONST_VTBL struct IImageListVtbl *lpVtbl;
  1875. };
  1876. #ifdef COBJMACROS
  1877. #define IImageList_QueryInterface(This,riid,ppvObject) \
  1878. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1879. #define IImageList_AddRef(This) \
  1880. (This)->lpVtbl -> AddRef(This)
  1881. #define IImageList_Release(This) \
  1882. (This)->lpVtbl -> Release(This)
  1883. #define IImageList_ImageListSetIcon(This,pIcon,nLoc) \
  1884. (This)->lpVtbl -> ImageListSetIcon(This,pIcon,nLoc)
  1885. #define IImageList_ImageListSetStrip(This,pBMapSm,pBMapLg,nStartLoc,cMask) \
  1886. (This)->lpVtbl -> ImageListSetStrip(This,pBMapSm,pBMapLg,nStartLoc,cMask)
  1887. #endif /* COBJMACROS */
  1888. #endif /* C style interface */
  1889. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IImageList_ImageListSetIcon_Proxy(
  1890. IImageList * This,
  1891. /* [in] */ LONG_PTR *pIcon,
  1892. /* [in] */ long nLoc);
  1893. void __RPC_STUB IImageList_ImageListSetIcon_Stub(
  1894. IRpcStubBuffer *This,
  1895. IRpcChannelBuffer *_pRpcChannelBuffer,
  1896. PRPC_MESSAGE _pRpcMessage,
  1897. DWORD *_pdwStubPhase);
  1898. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IImageList_ImageListSetStrip_Proxy(
  1899. IImageList * This,
  1900. /* [in] */ LONG_PTR *pBMapSm,
  1901. /* [in] */ LONG_PTR *pBMapLg,
  1902. /* [in] */ long nStartLoc,
  1903. /* [in] */ COLORREF cMask);
  1904. void __RPC_STUB IImageList_ImageListSetStrip_Stub(
  1905. IRpcStubBuffer *This,
  1906. IRpcChannelBuffer *_pRpcChannelBuffer,
  1907. PRPC_MESSAGE _pRpcMessage,
  1908. DWORD *_pdwStubPhase);
  1909. #endif /* __IImageList_INTERFACE_DEFINED__ */
  1910. #ifndef __IResultData_INTERFACE_DEFINED__
  1911. #define __IResultData_INTERFACE_DEFINED__
  1912. /* interface IResultData */
  1913. /* [unique][helpstring][uuid][object] */
  1914. EXTERN_C const IID IID_IResultData;
  1915. #if defined(__cplusplus) && !defined(CINTERFACE)
  1916. MIDL_INTERFACE("31DA5FA0-E0EB-11cf-9F21-00AA003CA9F6")
  1917. IResultData : public IUnknown
  1918. {
  1919. public:
  1920. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertItem(
  1921. /* [out][in] */ LPRESULTDATAITEM item) = 0;
  1922. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteItem(
  1923. /* [in] */ HRESULTITEM itemID,
  1924. /* [in] */ int nCol) = 0;
  1925. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindItemByLParam(
  1926. /* [in] */ LPARAM lParam,
  1927. /* [out] */ HRESULTITEM *pItemID) = 0;
  1928. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteAllRsltItems( void) = 0;
  1929. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetItem(
  1930. /* [in] */ LPRESULTDATAITEM item) = 0;
  1931. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetItem(
  1932. /* [out][in] */ LPRESULTDATAITEM item) = 0;
  1933. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNextItem(
  1934. /* [out][in] */ LPRESULTDATAITEM item) = 0;
  1935. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ModifyItemState(
  1936. /* [in] */ int nIndex,
  1937. /* [in] */ HRESULTITEM itemID,
  1938. /* [in] */ UINT uAdd,
  1939. /* [in] */ UINT uRemove) = 0;
  1940. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ModifyViewStyle(
  1941. /* [in] */ MMC_RESULT_VIEW_STYLE add,
  1942. /* [in] */ MMC_RESULT_VIEW_STYLE remove) = 0;
  1943. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetViewMode(
  1944. /* [in] */ long lViewMode) = 0;
  1945. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetViewMode(
  1946. /* [out] */ long *lViewMode) = 0;
  1947. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UpdateItem(
  1948. /* [in] */ HRESULTITEM itemID) = 0;
  1949. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Sort(
  1950. /* [in] */ int nColumn,
  1951. /* [in] */ DWORD dwSortOptions,
  1952. /* [in] */ LPARAM lUserParam) = 0;
  1953. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDescBarText(
  1954. /* [in] */ LPOLESTR DescText) = 0;
  1955. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetItemCount(
  1956. /* [in] */ int nItemCount,
  1957. /* [in] */ DWORD dwOptions) = 0;
  1958. };
  1959. #else /* C style interface */
  1960. typedef struct IResultDataVtbl
  1961. {
  1962. BEGIN_INTERFACE
  1963. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1964. IResultData * This,
  1965. /* [in] */ REFIID riid,
  1966. /* [iid_is][out] */ void **ppvObject);
  1967. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1968. IResultData * This);
  1969. ULONG ( STDMETHODCALLTYPE *Release )(
  1970. IResultData * This);
  1971. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertItem )(
  1972. IResultData * This,
  1973. /* [out][in] */ LPRESULTDATAITEM item);
  1974. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteItem )(
  1975. IResultData * This,
  1976. /* [in] */ HRESULTITEM itemID,
  1977. /* [in] */ int nCol);
  1978. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindItemByLParam )(
  1979. IResultData * This,
  1980. /* [in] */ LPARAM lParam,
  1981. /* [out] */ HRESULTITEM *pItemID);
  1982. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteAllRsltItems )(
  1983. IResultData * This);
  1984. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItem )(
  1985. IResultData * This,
  1986. /* [in] */ LPRESULTDATAITEM item);
  1987. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetItem )(
  1988. IResultData * This,
  1989. /* [out][in] */ LPRESULTDATAITEM item);
  1990. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNextItem )(
  1991. IResultData * This,
  1992. /* [out][in] */ LPRESULTDATAITEM item);
  1993. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ModifyItemState )(
  1994. IResultData * This,
  1995. /* [in] */ int nIndex,
  1996. /* [in] */ HRESULTITEM itemID,
  1997. /* [in] */ UINT uAdd,
  1998. /* [in] */ UINT uRemove);
  1999. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ModifyViewStyle )(
  2000. IResultData * This,
  2001. /* [in] */ MMC_RESULT_VIEW_STYLE add,
  2002. /* [in] */ MMC_RESULT_VIEW_STYLE remove);
  2003. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetViewMode )(
  2004. IResultData * This,
  2005. /* [in] */ long lViewMode);
  2006. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetViewMode )(
  2007. IResultData * This,
  2008. /* [out] */ long *lViewMode);
  2009. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdateItem )(
  2010. IResultData * This,
  2011. /* [in] */ HRESULTITEM itemID);
  2012. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sort )(
  2013. IResultData * This,
  2014. /* [in] */ int nColumn,
  2015. /* [in] */ DWORD dwSortOptions,
  2016. /* [in] */ LPARAM lUserParam);
  2017. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetDescBarText )(
  2018. IResultData * This,
  2019. /* [in] */ LPOLESTR DescText);
  2020. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItemCount )(
  2021. IResultData * This,
  2022. /* [in] */ int nItemCount,
  2023. /* [in] */ DWORD dwOptions);
  2024. END_INTERFACE
  2025. } IResultDataVtbl;
  2026. interface IResultData
  2027. {
  2028. CONST_VTBL struct IResultDataVtbl *lpVtbl;
  2029. };
  2030. #ifdef COBJMACROS
  2031. #define IResultData_QueryInterface(This,riid,ppvObject) \
  2032. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2033. #define IResultData_AddRef(This) \
  2034. (This)->lpVtbl -> AddRef(This)
  2035. #define IResultData_Release(This) \
  2036. (This)->lpVtbl -> Release(This)
  2037. #define IResultData_InsertItem(This,item) \
  2038. (This)->lpVtbl -> InsertItem(This,item)
  2039. #define IResultData_DeleteItem(This,itemID,nCol) \
  2040. (This)->lpVtbl -> DeleteItem(This,itemID,nCol)
  2041. #define IResultData_FindItemByLParam(This,lParam,pItemID) \
  2042. (This)->lpVtbl -> FindItemByLParam(This,lParam,pItemID)
  2043. #define IResultData_DeleteAllRsltItems(This) \
  2044. (This)->lpVtbl -> DeleteAllRsltItems(This)
  2045. #define IResultData_SetItem(This,item) \
  2046. (This)->lpVtbl -> SetItem(This,item)
  2047. #define IResultData_GetItem(This,item) \
  2048. (This)->lpVtbl -> GetItem(This,item)
  2049. #define IResultData_GetNextItem(This,item) \
  2050. (This)->lpVtbl -> GetNextItem(This,item)
  2051. #define IResultData_ModifyItemState(This,nIndex,itemID,uAdd,uRemove) \
  2052. (This)->lpVtbl -> ModifyItemState(This,nIndex,itemID,uAdd,uRemove)
  2053. #define IResultData_ModifyViewStyle(This,add,remove) \
  2054. (This)->lpVtbl -> ModifyViewStyle(This,add,remove)
  2055. #define IResultData_SetViewMode(This,lViewMode) \
  2056. (This)->lpVtbl -> SetViewMode(This,lViewMode)
  2057. #define IResultData_GetViewMode(This,lViewMode) \
  2058. (This)->lpVtbl -> GetViewMode(This,lViewMode)
  2059. #define IResultData_UpdateItem(This,itemID) \
  2060. (This)->lpVtbl -> UpdateItem(This,itemID)
  2061. #define IResultData_Sort(This,nColumn,dwSortOptions,lUserParam) \
  2062. (This)->lpVtbl -> Sort(This,nColumn,dwSortOptions,lUserParam)
  2063. #define IResultData_SetDescBarText(This,DescText) \
  2064. (This)->lpVtbl -> SetDescBarText(This,DescText)
  2065. #define IResultData_SetItemCount(This,nItemCount,dwOptions) \
  2066. (This)->lpVtbl -> SetItemCount(This,nItemCount,dwOptions)
  2067. #endif /* COBJMACROS */
  2068. #endif /* C style interface */
  2069. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_InsertItem_Proxy(
  2070. IResultData * This,
  2071. /* [out][in] */ LPRESULTDATAITEM item);
  2072. void __RPC_STUB IResultData_InsertItem_Stub(
  2073. IRpcStubBuffer *This,
  2074. IRpcChannelBuffer *_pRpcChannelBuffer,
  2075. PRPC_MESSAGE _pRpcMessage,
  2076. DWORD *_pdwStubPhase);
  2077. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_DeleteItem_Proxy(
  2078. IResultData * This,
  2079. /* [in] */ HRESULTITEM itemID,
  2080. /* [in] */ int nCol);
  2081. void __RPC_STUB IResultData_DeleteItem_Stub(
  2082. IRpcStubBuffer *This,
  2083. IRpcChannelBuffer *_pRpcChannelBuffer,
  2084. PRPC_MESSAGE _pRpcMessage,
  2085. DWORD *_pdwStubPhase);
  2086. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_FindItemByLParam_Proxy(
  2087. IResultData * This,
  2088. /* [in] */ LPARAM lParam,
  2089. /* [out] */ HRESULTITEM *pItemID);
  2090. void __RPC_STUB IResultData_FindItemByLParam_Stub(
  2091. IRpcStubBuffer *This,
  2092. IRpcChannelBuffer *_pRpcChannelBuffer,
  2093. PRPC_MESSAGE _pRpcMessage,
  2094. DWORD *_pdwStubPhase);
  2095. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_DeleteAllRsltItems_Proxy(
  2096. IResultData * This);
  2097. void __RPC_STUB IResultData_DeleteAllRsltItems_Stub(
  2098. IRpcStubBuffer *This,
  2099. IRpcChannelBuffer *_pRpcChannelBuffer,
  2100. PRPC_MESSAGE _pRpcMessage,
  2101. DWORD *_pdwStubPhase);
  2102. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_SetItem_Proxy(
  2103. IResultData * This,
  2104. /* [in] */ LPRESULTDATAITEM item);
  2105. void __RPC_STUB IResultData_SetItem_Stub(
  2106. IRpcStubBuffer *This,
  2107. IRpcChannelBuffer *_pRpcChannelBuffer,
  2108. PRPC_MESSAGE _pRpcMessage,
  2109. DWORD *_pdwStubPhase);
  2110. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_GetItem_Proxy(
  2111. IResultData * This,
  2112. /* [out][in] */ LPRESULTDATAITEM item);
  2113. void __RPC_STUB IResultData_GetItem_Stub(
  2114. IRpcStubBuffer *This,
  2115. IRpcChannelBuffer *_pRpcChannelBuffer,
  2116. PRPC_MESSAGE _pRpcMessage,
  2117. DWORD *_pdwStubPhase);
  2118. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_GetNextItem_Proxy(
  2119. IResultData * This,
  2120. /* [out][in] */ LPRESULTDATAITEM item);
  2121. void __RPC_STUB IResultData_GetNextItem_Stub(
  2122. IRpcStubBuffer *This,
  2123. IRpcChannelBuffer *_pRpcChannelBuffer,
  2124. PRPC_MESSAGE _pRpcMessage,
  2125. DWORD *_pdwStubPhase);
  2126. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_ModifyItemState_Proxy(
  2127. IResultData * This,
  2128. /* [in] */ int nIndex,
  2129. /* [in] */ HRESULTITEM itemID,
  2130. /* [in] */ UINT uAdd,
  2131. /* [in] */ UINT uRemove);
  2132. void __RPC_STUB IResultData_ModifyItemState_Stub(
  2133. IRpcStubBuffer *This,
  2134. IRpcChannelBuffer *_pRpcChannelBuffer,
  2135. PRPC_MESSAGE _pRpcMessage,
  2136. DWORD *_pdwStubPhase);
  2137. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_ModifyViewStyle_Proxy(
  2138. IResultData * This,
  2139. /* [in] */ MMC_RESULT_VIEW_STYLE add,
  2140. /* [in] */ MMC_RESULT_VIEW_STYLE remove);
  2141. void __RPC_STUB IResultData_ModifyViewStyle_Stub(
  2142. IRpcStubBuffer *This,
  2143. IRpcChannelBuffer *_pRpcChannelBuffer,
  2144. PRPC_MESSAGE _pRpcMessage,
  2145. DWORD *_pdwStubPhase);
  2146. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_SetViewMode_Proxy(
  2147. IResultData * This,
  2148. /* [in] */ long lViewMode);
  2149. void __RPC_STUB IResultData_SetViewMode_Stub(
  2150. IRpcStubBuffer *This,
  2151. IRpcChannelBuffer *_pRpcChannelBuffer,
  2152. PRPC_MESSAGE _pRpcMessage,
  2153. DWORD *_pdwStubPhase);
  2154. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_GetViewMode_Proxy(
  2155. IResultData * This,
  2156. /* [out] */ long *lViewMode);
  2157. void __RPC_STUB IResultData_GetViewMode_Stub(
  2158. IRpcStubBuffer *This,
  2159. IRpcChannelBuffer *_pRpcChannelBuffer,
  2160. PRPC_MESSAGE _pRpcMessage,
  2161. DWORD *_pdwStubPhase);
  2162. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_UpdateItem_Proxy(
  2163. IResultData * This,
  2164. /* [in] */ HRESULTITEM itemID);
  2165. void __RPC_STUB IResultData_UpdateItem_Stub(
  2166. IRpcStubBuffer *This,
  2167. IRpcChannelBuffer *_pRpcChannelBuffer,
  2168. PRPC_MESSAGE _pRpcMessage,
  2169. DWORD *_pdwStubPhase);
  2170. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_Sort_Proxy(
  2171. IResultData * This,
  2172. /* [in] */ int nColumn,
  2173. /* [in] */ DWORD dwSortOptions,
  2174. /* [in] */ LPARAM lUserParam);
  2175. void __RPC_STUB IResultData_Sort_Stub(
  2176. IRpcStubBuffer *This,
  2177. IRpcChannelBuffer *_pRpcChannelBuffer,
  2178. PRPC_MESSAGE _pRpcMessage,
  2179. DWORD *_pdwStubPhase);
  2180. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_SetDescBarText_Proxy(
  2181. IResultData * This,
  2182. /* [in] */ LPOLESTR DescText);
  2183. void __RPC_STUB IResultData_SetDescBarText_Stub(
  2184. IRpcStubBuffer *This,
  2185. IRpcChannelBuffer *_pRpcChannelBuffer,
  2186. PRPC_MESSAGE _pRpcMessage,
  2187. DWORD *_pdwStubPhase);
  2188. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData_SetItemCount_Proxy(
  2189. IResultData * This,
  2190. /* [in] */ int nItemCount,
  2191. /* [in] */ DWORD dwOptions);
  2192. void __RPC_STUB IResultData_SetItemCount_Stub(
  2193. IRpcStubBuffer *This,
  2194. IRpcChannelBuffer *_pRpcChannelBuffer,
  2195. PRPC_MESSAGE _pRpcMessage,
  2196. DWORD *_pdwStubPhase);
  2197. #endif /* __IResultData_INTERFACE_DEFINED__ */
  2198. #ifndef __IConsoleNameSpace_INTERFACE_DEFINED__
  2199. #define __IConsoleNameSpace_INTERFACE_DEFINED__
  2200. /* interface IConsoleNameSpace */
  2201. /* [unique][helpstring][uuid][object] */
  2202. EXTERN_C const IID IID_IConsoleNameSpace;
  2203. #if defined(__cplusplus) && !defined(CINTERFACE)
  2204. MIDL_INTERFACE("BEDEB620-F24D-11cf-8AFC-00AA003CA9F6")
  2205. IConsoleNameSpace : public IUnknown
  2206. {
  2207. public:
  2208. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertItem(
  2209. /* [out][in] */ LPSCOPEDATAITEM item) = 0;
  2210. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteItem(
  2211. /* [in] */ HSCOPEITEM hItem,
  2212. /* [in] */ long fDeleteThis) = 0;
  2213. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetItem(
  2214. /* [in] */ LPSCOPEDATAITEM item) = 0;
  2215. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetItem(
  2216. /* [out][in] */ LPSCOPEDATAITEM item) = 0;
  2217. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetChildItem(
  2218. /* [in] */ HSCOPEITEM item,
  2219. /* [out] */ HSCOPEITEM *pItemChild,
  2220. /* [out] */ MMC_COOKIE *pCookie) = 0;
  2221. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNextItem(
  2222. /* [in] */ HSCOPEITEM item,
  2223. /* [out] */ HSCOPEITEM *pItemNext,
  2224. /* [out] */ MMC_COOKIE *pCookie) = 0;
  2225. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetParentItem(
  2226. /* [in] */ HSCOPEITEM item,
  2227. /* [out] */ HSCOPEITEM *pItemParent,
  2228. /* [out] */ MMC_COOKIE *pCookie) = 0;
  2229. };
  2230. #else /* C style interface */
  2231. typedef struct IConsoleNameSpaceVtbl
  2232. {
  2233. BEGIN_INTERFACE
  2234. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2235. IConsoleNameSpace * This,
  2236. /* [in] */ REFIID riid,
  2237. /* [iid_is][out] */ void **ppvObject);
  2238. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2239. IConsoleNameSpace * This);
  2240. ULONG ( STDMETHODCALLTYPE *Release )(
  2241. IConsoleNameSpace * This);
  2242. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertItem )(
  2243. IConsoleNameSpace * This,
  2244. /* [out][in] */ LPSCOPEDATAITEM item);
  2245. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteItem )(
  2246. IConsoleNameSpace * This,
  2247. /* [in] */ HSCOPEITEM hItem,
  2248. /* [in] */ long fDeleteThis);
  2249. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItem )(
  2250. IConsoleNameSpace * This,
  2251. /* [in] */ LPSCOPEDATAITEM item);
  2252. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetItem )(
  2253. IConsoleNameSpace * This,
  2254. /* [out][in] */ LPSCOPEDATAITEM item);
  2255. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetChildItem )(
  2256. IConsoleNameSpace * This,
  2257. /* [in] */ HSCOPEITEM item,
  2258. /* [out] */ HSCOPEITEM *pItemChild,
  2259. /* [out] */ MMC_COOKIE *pCookie);
  2260. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNextItem )(
  2261. IConsoleNameSpace * This,
  2262. /* [in] */ HSCOPEITEM item,
  2263. /* [out] */ HSCOPEITEM *pItemNext,
  2264. /* [out] */ MMC_COOKIE *pCookie);
  2265. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetParentItem )(
  2266. IConsoleNameSpace * This,
  2267. /* [in] */ HSCOPEITEM item,
  2268. /* [out] */ HSCOPEITEM *pItemParent,
  2269. /* [out] */ MMC_COOKIE *pCookie);
  2270. END_INTERFACE
  2271. } IConsoleNameSpaceVtbl;
  2272. interface IConsoleNameSpace
  2273. {
  2274. CONST_VTBL struct IConsoleNameSpaceVtbl *lpVtbl;
  2275. };
  2276. #ifdef COBJMACROS
  2277. #define IConsoleNameSpace_QueryInterface(This,riid,ppvObject) \
  2278. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2279. #define IConsoleNameSpace_AddRef(This) \
  2280. (This)->lpVtbl -> AddRef(This)
  2281. #define IConsoleNameSpace_Release(This) \
  2282. (This)->lpVtbl -> Release(This)
  2283. #define IConsoleNameSpace_InsertItem(This,item) \
  2284. (This)->lpVtbl -> InsertItem(This,item)
  2285. #define IConsoleNameSpace_DeleteItem(This,hItem,fDeleteThis) \
  2286. (This)->lpVtbl -> DeleteItem(This,hItem,fDeleteThis)
  2287. #define IConsoleNameSpace_SetItem(This,item) \
  2288. (This)->lpVtbl -> SetItem(This,item)
  2289. #define IConsoleNameSpace_GetItem(This,item) \
  2290. (This)->lpVtbl -> GetItem(This,item)
  2291. #define IConsoleNameSpace_GetChildItem(This,item,pItemChild,pCookie) \
  2292. (This)->lpVtbl -> GetChildItem(This,item,pItemChild,pCookie)
  2293. #define IConsoleNameSpace_GetNextItem(This,item,pItemNext,pCookie) \
  2294. (This)->lpVtbl -> GetNextItem(This,item,pItemNext,pCookie)
  2295. #define IConsoleNameSpace_GetParentItem(This,item,pItemParent,pCookie) \
  2296. (This)->lpVtbl -> GetParentItem(This,item,pItemParent,pCookie)
  2297. #endif /* COBJMACROS */
  2298. #endif /* C style interface */
  2299. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_InsertItem_Proxy(
  2300. IConsoleNameSpace * This,
  2301. /* [out][in] */ LPSCOPEDATAITEM item);
  2302. void __RPC_STUB IConsoleNameSpace_InsertItem_Stub(
  2303. IRpcStubBuffer *This,
  2304. IRpcChannelBuffer *_pRpcChannelBuffer,
  2305. PRPC_MESSAGE _pRpcMessage,
  2306. DWORD *_pdwStubPhase);
  2307. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_DeleteItem_Proxy(
  2308. IConsoleNameSpace * This,
  2309. /* [in] */ HSCOPEITEM hItem,
  2310. /* [in] */ long fDeleteThis);
  2311. void __RPC_STUB IConsoleNameSpace_DeleteItem_Stub(
  2312. IRpcStubBuffer *This,
  2313. IRpcChannelBuffer *_pRpcChannelBuffer,
  2314. PRPC_MESSAGE _pRpcMessage,
  2315. DWORD *_pdwStubPhase);
  2316. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_SetItem_Proxy(
  2317. IConsoleNameSpace * This,
  2318. /* [in] */ LPSCOPEDATAITEM item);
  2319. void __RPC_STUB IConsoleNameSpace_SetItem_Stub(
  2320. IRpcStubBuffer *This,
  2321. IRpcChannelBuffer *_pRpcChannelBuffer,
  2322. PRPC_MESSAGE _pRpcMessage,
  2323. DWORD *_pdwStubPhase);
  2324. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_GetItem_Proxy(
  2325. IConsoleNameSpace * This,
  2326. /* [out][in] */ LPSCOPEDATAITEM item);
  2327. void __RPC_STUB IConsoleNameSpace_GetItem_Stub(
  2328. IRpcStubBuffer *This,
  2329. IRpcChannelBuffer *_pRpcChannelBuffer,
  2330. PRPC_MESSAGE _pRpcMessage,
  2331. DWORD *_pdwStubPhase);
  2332. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_GetChildItem_Proxy(
  2333. IConsoleNameSpace * This,
  2334. /* [in] */ HSCOPEITEM item,
  2335. /* [out] */ HSCOPEITEM *pItemChild,
  2336. /* [out] */ MMC_COOKIE *pCookie);
  2337. void __RPC_STUB IConsoleNameSpace_GetChildItem_Stub(
  2338. IRpcStubBuffer *This,
  2339. IRpcChannelBuffer *_pRpcChannelBuffer,
  2340. PRPC_MESSAGE _pRpcMessage,
  2341. DWORD *_pdwStubPhase);
  2342. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_GetNextItem_Proxy(
  2343. IConsoleNameSpace * This,
  2344. /* [in] */ HSCOPEITEM item,
  2345. /* [out] */ HSCOPEITEM *pItemNext,
  2346. /* [out] */ MMC_COOKIE *pCookie);
  2347. void __RPC_STUB IConsoleNameSpace_GetNextItem_Stub(
  2348. IRpcStubBuffer *This,
  2349. IRpcChannelBuffer *_pRpcChannelBuffer,
  2350. PRPC_MESSAGE _pRpcMessage,
  2351. DWORD *_pdwStubPhase);
  2352. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace_GetParentItem_Proxy(
  2353. IConsoleNameSpace * This,
  2354. /* [in] */ HSCOPEITEM item,
  2355. /* [out] */ HSCOPEITEM *pItemParent,
  2356. /* [out] */ MMC_COOKIE *pCookie);
  2357. void __RPC_STUB IConsoleNameSpace_GetParentItem_Stub(
  2358. IRpcStubBuffer *This,
  2359. IRpcChannelBuffer *_pRpcChannelBuffer,
  2360. PRPC_MESSAGE _pRpcMessage,
  2361. DWORD *_pdwStubPhase);
  2362. #endif /* __IConsoleNameSpace_INTERFACE_DEFINED__ */
  2363. #ifndef __IConsoleNameSpace2_INTERFACE_DEFINED__
  2364. #define __IConsoleNameSpace2_INTERFACE_DEFINED__
  2365. /* interface IConsoleNameSpace2 */
  2366. /* [unique][helpstring][uuid][object] */
  2367. EXTERN_C const IID IID_IConsoleNameSpace2;
  2368. #if defined(__cplusplus) && !defined(CINTERFACE)
  2369. MIDL_INTERFACE("255F18CC-65DB-11D1-A7DC-00C04FD8D565")
  2370. IConsoleNameSpace2 : public IConsoleNameSpace
  2371. {
  2372. public:
  2373. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Expand(
  2374. /* [in] */ HSCOPEITEM hItem) = 0;
  2375. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddExtension(
  2376. /* [in] */ HSCOPEITEM hItem,
  2377. /* [in] */ LPCLSID lpClsid) = 0;
  2378. };
  2379. #else /* C style interface */
  2380. typedef struct IConsoleNameSpace2Vtbl
  2381. {
  2382. BEGIN_INTERFACE
  2383. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2384. IConsoleNameSpace2 * This,
  2385. /* [in] */ REFIID riid,
  2386. /* [iid_is][out] */ void **ppvObject);
  2387. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2388. IConsoleNameSpace2 * This);
  2389. ULONG ( STDMETHODCALLTYPE *Release )(
  2390. IConsoleNameSpace2 * This);
  2391. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertItem )(
  2392. IConsoleNameSpace2 * This,
  2393. /* [out][in] */ LPSCOPEDATAITEM item);
  2394. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteItem )(
  2395. IConsoleNameSpace2 * This,
  2396. /* [in] */ HSCOPEITEM hItem,
  2397. /* [in] */ long fDeleteThis);
  2398. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItem )(
  2399. IConsoleNameSpace2 * This,
  2400. /* [in] */ LPSCOPEDATAITEM item);
  2401. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetItem )(
  2402. IConsoleNameSpace2 * This,
  2403. /* [out][in] */ LPSCOPEDATAITEM item);
  2404. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetChildItem )(
  2405. IConsoleNameSpace2 * This,
  2406. /* [in] */ HSCOPEITEM item,
  2407. /* [out] */ HSCOPEITEM *pItemChild,
  2408. /* [out] */ MMC_COOKIE *pCookie);
  2409. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNextItem )(
  2410. IConsoleNameSpace2 * This,
  2411. /* [in] */ HSCOPEITEM item,
  2412. /* [out] */ HSCOPEITEM *pItemNext,
  2413. /* [out] */ MMC_COOKIE *pCookie);
  2414. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetParentItem )(
  2415. IConsoleNameSpace2 * This,
  2416. /* [in] */ HSCOPEITEM item,
  2417. /* [out] */ HSCOPEITEM *pItemParent,
  2418. /* [out] */ MMC_COOKIE *pCookie);
  2419. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Expand )(
  2420. IConsoleNameSpace2 * This,
  2421. /* [in] */ HSCOPEITEM hItem);
  2422. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddExtension )(
  2423. IConsoleNameSpace2 * This,
  2424. /* [in] */ HSCOPEITEM hItem,
  2425. /* [in] */ LPCLSID lpClsid);
  2426. END_INTERFACE
  2427. } IConsoleNameSpace2Vtbl;
  2428. interface IConsoleNameSpace2
  2429. {
  2430. CONST_VTBL struct IConsoleNameSpace2Vtbl *lpVtbl;
  2431. };
  2432. #ifdef COBJMACROS
  2433. #define IConsoleNameSpace2_QueryInterface(This,riid,ppvObject) \
  2434. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2435. #define IConsoleNameSpace2_AddRef(This) \
  2436. (This)->lpVtbl -> AddRef(This)
  2437. #define IConsoleNameSpace2_Release(This) \
  2438. (This)->lpVtbl -> Release(This)
  2439. #define IConsoleNameSpace2_InsertItem(This,item) \
  2440. (This)->lpVtbl -> InsertItem(This,item)
  2441. #define IConsoleNameSpace2_DeleteItem(This,hItem,fDeleteThis) \
  2442. (This)->lpVtbl -> DeleteItem(This,hItem,fDeleteThis)
  2443. #define IConsoleNameSpace2_SetItem(This,item) \
  2444. (This)->lpVtbl -> SetItem(This,item)
  2445. #define IConsoleNameSpace2_GetItem(This,item) \
  2446. (This)->lpVtbl -> GetItem(This,item)
  2447. #define IConsoleNameSpace2_GetChildItem(This,item,pItemChild,pCookie) \
  2448. (This)->lpVtbl -> GetChildItem(This,item,pItemChild,pCookie)
  2449. #define IConsoleNameSpace2_GetNextItem(This,item,pItemNext,pCookie) \
  2450. (This)->lpVtbl -> GetNextItem(This,item,pItemNext,pCookie)
  2451. #define IConsoleNameSpace2_GetParentItem(This,item,pItemParent,pCookie) \
  2452. (This)->lpVtbl -> GetParentItem(This,item,pItemParent,pCookie)
  2453. #define IConsoleNameSpace2_Expand(This,hItem) \
  2454. (This)->lpVtbl -> Expand(This,hItem)
  2455. #define IConsoleNameSpace2_AddExtension(This,hItem,lpClsid) \
  2456. (This)->lpVtbl -> AddExtension(This,hItem,lpClsid)
  2457. #endif /* COBJMACROS */
  2458. #endif /* C style interface */
  2459. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace2_Expand_Proxy(
  2460. IConsoleNameSpace2 * This,
  2461. /* [in] */ HSCOPEITEM hItem);
  2462. void __RPC_STUB IConsoleNameSpace2_Expand_Stub(
  2463. IRpcStubBuffer *This,
  2464. IRpcChannelBuffer *_pRpcChannelBuffer,
  2465. PRPC_MESSAGE _pRpcMessage,
  2466. DWORD *_pdwStubPhase);
  2467. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleNameSpace2_AddExtension_Proxy(
  2468. IConsoleNameSpace2 * This,
  2469. /* [in] */ HSCOPEITEM hItem,
  2470. /* [in] */ LPCLSID lpClsid);
  2471. void __RPC_STUB IConsoleNameSpace2_AddExtension_Stub(
  2472. IRpcStubBuffer *This,
  2473. IRpcChannelBuffer *_pRpcChannelBuffer,
  2474. PRPC_MESSAGE _pRpcMessage,
  2475. DWORD *_pdwStubPhase);
  2476. #endif /* __IConsoleNameSpace2_INTERFACE_DEFINED__ */
  2477. /* interface __MIDL_itf_mmc_0129 */
  2478. /* [local] */
  2479. typedef struct _PSP *HPROPSHEETPAGE;
  2480. extern RPC_IF_HANDLE __MIDL_itf_mmc_0129_v0_0_c_ifspec;
  2481. extern RPC_IF_HANDLE __MIDL_itf_mmc_0129_v0_0_s_ifspec;
  2482. #ifndef __IPropertySheetCallback_INTERFACE_DEFINED__
  2483. #define __IPropertySheetCallback_INTERFACE_DEFINED__
  2484. /* interface IPropertySheetCallback */
  2485. /* [unique][helpstring][uuid][object][local] */
  2486. EXTERN_C const IID IID_IPropertySheetCallback;
  2487. #if defined(__cplusplus) && !defined(CINTERFACE)
  2488. MIDL_INTERFACE("85DE64DD-EF21-11cf-A285-00C04FD8DBE6")
  2489. IPropertySheetCallback : public IUnknown
  2490. {
  2491. public:
  2492. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddPage(
  2493. /* [in] */ HPROPSHEETPAGE hPage) = 0;
  2494. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemovePage(
  2495. /* [in] */ HPROPSHEETPAGE hPage) = 0;
  2496. };
  2497. #else /* C style interface */
  2498. typedef struct IPropertySheetCallbackVtbl
  2499. {
  2500. BEGIN_INTERFACE
  2501. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2502. IPropertySheetCallback * This,
  2503. /* [in] */ REFIID riid,
  2504. /* [iid_is][out] */ void **ppvObject);
  2505. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2506. IPropertySheetCallback * This);
  2507. ULONG ( STDMETHODCALLTYPE *Release )(
  2508. IPropertySheetCallback * This);
  2509. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPage )(
  2510. IPropertySheetCallback * This,
  2511. /* [in] */ HPROPSHEETPAGE hPage);
  2512. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemovePage )(
  2513. IPropertySheetCallback * This,
  2514. /* [in] */ HPROPSHEETPAGE hPage);
  2515. END_INTERFACE
  2516. } IPropertySheetCallbackVtbl;
  2517. interface IPropertySheetCallback
  2518. {
  2519. CONST_VTBL struct IPropertySheetCallbackVtbl *lpVtbl;
  2520. };
  2521. #ifdef COBJMACROS
  2522. #define IPropertySheetCallback_QueryInterface(This,riid,ppvObject) \
  2523. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2524. #define IPropertySheetCallback_AddRef(This) \
  2525. (This)->lpVtbl -> AddRef(This)
  2526. #define IPropertySheetCallback_Release(This) \
  2527. (This)->lpVtbl -> Release(This)
  2528. #define IPropertySheetCallback_AddPage(This,hPage) \
  2529. (This)->lpVtbl -> AddPage(This,hPage)
  2530. #define IPropertySheetCallback_RemovePage(This,hPage) \
  2531. (This)->lpVtbl -> RemovePage(This,hPage)
  2532. #endif /* COBJMACROS */
  2533. #endif /* C style interface */
  2534. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetCallback_AddPage_Proxy(
  2535. IPropertySheetCallback * This,
  2536. /* [in] */ HPROPSHEETPAGE hPage);
  2537. void __RPC_STUB IPropertySheetCallback_AddPage_Stub(
  2538. IRpcStubBuffer *This,
  2539. IRpcChannelBuffer *_pRpcChannelBuffer,
  2540. PRPC_MESSAGE _pRpcMessage,
  2541. DWORD *_pdwStubPhase);
  2542. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetCallback_RemovePage_Proxy(
  2543. IPropertySheetCallback * This,
  2544. /* [in] */ HPROPSHEETPAGE hPage);
  2545. void __RPC_STUB IPropertySheetCallback_RemovePage_Stub(
  2546. IRpcStubBuffer *This,
  2547. IRpcChannelBuffer *_pRpcChannelBuffer,
  2548. PRPC_MESSAGE _pRpcMessage,
  2549. DWORD *_pdwStubPhase);
  2550. #endif /* __IPropertySheetCallback_INTERFACE_DEFINED__ */
  2551. #ifndef __IPropertySheetProvider_INTERFACE_DEFINED__
  2552. #define __IPropertySheetProvider_INTERFACE_DEFINED__
  2553. /* interface IPropertySheetProvider */
  2554. /* [unique][helpstring][uuid][object] */
  2555. EXTERN_C const IID IID_IPropertySheetProvider;
  2556. #if defined(__cplusplus) && !defined(CINTERFACE)
  2557. MIDL_INTERFACE("85DE64DE-EF21-11cf-A285-00C04FD8DBE6")
  2558. IPropertySheetProvider : public IUnknown
  2559. {
  2560. public:
  2561. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreatePropertySheet(
  2562. /* [in] */ LPCWSTR title,
  2563. /* [in] */ boolean type,
  2564. /* [in] */ MMC_COOKIE cookie,
  2565. /* [in] */ LPDATAOBJECT pIDataObjectm,
  2566. /* [in] */ DWORD dwOptions) = 0;
  2567. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindPropertySheet(
  2568. /* [in] */ MMC_COOKIE cookie,
  2569. /* [in] */ LPCOMPONENT lpComponent,
  2570. /* [in] */ LPDATAOBJECT lpDataObject) = 0;
  2571. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddPrimaryPages(
  2572. LPUNKNOWN lpUnknown,
  2573. BOOL bCreateHandle,
  2574. HWND hNotifyWindow,
  2575. BOOL bScopePane) = 0;
  2576. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddExtensionPages( void) = 0;
  2577. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Show(
  2578. /* [in] */ LONG_PTR window,
  2579. /* [in] */ int page) = 0;
  2580. };
  2581. #else /* C style interface */
  2582. typedef struct IPropertySheetProviderVtbl
  2583. {
  2584. BEGIN_INTERFACE
  2585. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2586. IPropertySheetProvider * This,
  2587. /* [in] */ REFIID riid,
  2588. /* [iid_is][out] */ void **ppvObject);
  2589. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2590. IPropertySheetProvider * This);
  2591. ULONG ( STDMETHODCALLTYPE *Release )(
  2592. IPropertySheetProvider * This);
  2593. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreatePropertySheet )(
  2594. IPropertySheetProvider * This,
  2595. /* [in] */ LPCWSTR title,
  2596. /* [in] */ boolean type,
  2597. /* [in] */ MMC_COOKIE cookie,
  2598. /* [in] */ LPDATAOBJECT pIDataObjectm,
  2599. /* [in] */ DWORD dwOptions);
  2600. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindPropertySheet )(
  2601. IPropertySheetProvider * This,
  2602. /* [in] */ MMC_COOKIE cookie,
  2603. /* [in] */ LPCOMPONENT lpComponent,
  2604. /* [in] */ LPDATAOBJECT lpDataObject);
  2605. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPrimaryPages )(
  2606. IPropertySheetProvider * This,
  2607. LPUNKNOWN lpUnknown,
  2608. BOOL bCreateHandle,
  2609. HWND hNotifyWindow,
  2610. BOOL bScopePane);
  2611. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddExtensionPages )(
  2612. IPropertySheetProvider * This);
  2613. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Show )(
  2614. IPropertySheetProvider * This,
  2615. /* [in] */ LONG_PTR window,
  2616. /* [in] */ int page);
  2617. END_INTERFACE
  2618. } IPropertySheetProviderVtbl;
  2619. interface IPropertySheetProvider
  2620. {
  2621. CONST_VTBL struct IPropertySheetProviderVtbl *lpVtbl;
  2622. };
  2623. #ifdef COBJMACROS
  2624. #define IPropertySheetProvider_QueryInterface(This,riid,ppvObject) \
  2625. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2626. #define IPropertySheetProvider_AddRef(This) \
  2627. (This)->lpVtbl -> AddRef(This)
  2628. #define IPropertySheetProvider_Release(This) \
  2629. (This)->lpVtbl -> Release(This)
  2630. #define IPropertySheetProvider_CreatePropertySheet(This,title,type,cookie,pIDataObjectm,dwOptions) \
  2631. (This)->lpVtbl -> CreatePropertySheet(This,title,type,cookie,pIDataObjectm,dwOptions)
  2632. #define IPropertySheetProvider_FindPropertySheet(This,cookie,lpComponent,lpDataObject) \
  2633. (This)->lpVtbl -> FindPropertySheet(This,cookie,lpComponent,lpDataObject)
  2634. #define IPropertySheetProvider_AddPrimaryPages(This,lpUnknown,bCreateHandle,hNotifyWindow,bScopePane) \
  2635. (This)->lpVtbl -> AddPrimaryPages(This,lpUnknown,bCreateHandle,hNotifyWindow,bScopePane)
  2636. #define IPropertySheetProvider_AddExtensionPages(This) \
  2637. (This)->lpVtbl -> AddExtensionPages(This)
  2638. #define IPropertySheetProvider_Show(This,window,page) \
  2639. (This)->lpVtbl -> Show(This,window,page)
  2640. #endif /* COBJMACROS */
  2641. #endif /* C style interface */
  2642. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_CreatePropertySheet_Proxy(
  2643. IPropertySheetProvider * This,
  2644. /* [in] */ LPCWSTR title,
  2645. /* [in] */ boolean type,
  2646. /* [in] */ MMC_COOKIE cookie,
  2647. /* [in] */ LPDATAOBJECT pIDataObjectm,
  2648. /* [in] */ DWORD dwOptions);
  2649. void __RPC_STUB IPropertySheetProvider_CreatePropertySheet_Stub(
  2650. IRpcStubBuffer *This,
  2651. IRpcChannelBuffer *_pRpcChannelBuffer,
  2652. PRPC_MESSAGE _pRpcMessage,
  2653. DWORD *_pdwStubPhase);
  2654. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_FindPropertySheet_Proxy(
  2655. IPropertySheetProvider * This,
  2656. /* [in] */ MMC_COOKIE cookie,
  2657. /* [in] */ LPCOMPONENT lpComponent,
  2658. /* [in] */ LPDATAOBJECT lpDataObject);
  2659. void __RPC_STUB IPropertySheetProvider_FindPropertySheet_Stub(
  2660. IRpcStubBuffer *This,
  2661. IRpcChannelBuffer *_pRpcChannelBuffer,
  2662. PRPC_MESSAGE _pRpcMessage,
  2663. DWORD *_pdwStubPhase);
  2664. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_AddPrimaryPages_Proxy(
  2665. IPropertySheetProvider * This,
  2666. LPUNKNOWN lpUnknown,
  2667. BOOL bCreateHandle,
  2668. HWND hNotifyWindow,
  2669. BOOL bScopePane);
  2670. void __RPC_STUB IPropertySheetProvider_AddPrimaryPages_Stub(
  2671. IRpcStubBuffer *This,
  2672. IRpcChannelBuffer *_pRpcChannelBuffer,
  2673. PRPC_MESSAGE _pRpcMessage,
  2674. DWORD *_pdwStubPhase);
  2675. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_AddExtensionPages_Proxy(
  2676. IPropertySheetProvider * This);
  2677. void __RPC_STUB IPropertySheetProvider_AddExtensionPages_Stub(
  2678. IRpcStubBuffer *This,
  2679. IRpcChannelBuffer *_pRpcChannelBuffer,
  2680. PRPC_MESSAGE _pRpcMessage,
  2681. DWORD *_pdwStubPhase);
  2682. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPropertySheetProvider_Show_Proxy(
  2683. IPropertySheetProvider * This,
  2684. /* [in] */ LONG_PTR window,
  2685. /* [in] */ int page);
  2686. void __RPC_STUB IPropertySheetProvider_Show_Stub(
  2687. IRpcStubBuffer *This,
  2688. IRpcChannelBuffer *_pRpcChannelBuffer,
  2689. PRPC_MESSAGE _pRpcMessage,
  2690. DWORD *_pdwStubPhase);
  2691. #endif /* __IPropertySheetProvider_INTERFACE_DEFINED__ */
  2692. #ifndef __IExtendPropertySheet_INTERFACE_DEFINED__
  2693. #define __IExtendPropertySheet_INTERFACE_DEFINED__
  2694. /* interface IExtendPropertySheet */
  2695. /* [unique][helpstring][uuid][object] */
  2696. EXTERN_C const IID IID_IExtendPropertySheet;
  2697. #if defined(__cplusplus) && !defined(CINTERFACE)
  2698. MIDL_INTERFACE("85DE64DC-EF21-11cf-A285-00C04FD8DBE6")
  2699. IExtendPropertySheet : public IUnknown
  2700. {
  2701. public:
  2702. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreatePropertyPages(
  2703. /* [in] */ LPPROPERTYSHEETCALLBACK lpProvider,
  2704. /* [in] */ LONG_PTR handle,
  2705. /* [in] */ LPDATAOBJECT lpIDataObject) = 0;
  2706. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryPagesFor(
  2707. /* [in] */ LPDATAOBJECT lpDataObject) = 0;
  2708. };
  2709. #else /* C style interface */
  2710. typedef struct IExtendPropertySheetVtbl
  2711. {
  2712. BEGIN_INTERFACE
  2713. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2714. IExtendPropertySheet * This,
  2715. /* [in] */ REFIID riid,
  2716. /* [iid_is][out] */ void **ppvObject);
  2717. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2718. IExtendPropertySheet * This);
  2719. ULONG ( STDMETHODCALLTYPE *Release )(
  2720. IExtendPropertySheet * This);
  2721. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreatePropertyPages )(
  2722. IExtendPropertySheet * This,
  2723. /* [in] */ LPPROPERTYSHEETCALLBACK lpProvider,
  2724. /* [in] */ LONG_PTR handle,
  2725. /* [in] */ LPDATAOBJECT lpIDataObject);
  2726. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryPagesFor )(
  2727. IExtendPropertySheet * This,
  2728. /* [in] */ LPDATAOBJECT lpDataObject);
  2729. END_INTERFACE
  2730. } IExtendPropertySheetVtbl;
  2731. interface IExtendPropertySheet
  2732. {
  2733. CONST_VTBL struct IExtendPropertySheetVtbl *lpVtbl;
  2734. };
  2735. #ifdef COBJMACROS
  2736. #define IExtendPropertySheet_QueryInterface(This,riid,ppvObject) \
  2737. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2738. #define IExtendPropertySheet_AddRef(This) \
  2739. (This)->lpVtbl -> AddRef(This)
  2740. #define IExtendPropertySheet_Release(This) \
  2741. (This)->lpVtbl -> Release(This)
  2742. #define IExtendPropertySheet_CreatePropertyPages(This,lpProvider,handle,lpIDataObject) \
  2743. (This)->lpVtbl -> CreatePropertyPages(This,lpProvider,handle,lpIDataObject)
  2744. #define IExtendPropertySheet_QueryPagesFor(This,lpDataObject) \
  2745. (This)->lpVtbl -> QueryPagesFor(This,lpDataObject)
  2746. #endif /* COBJMACROS */
  2747. #endif /* C style interface */
  2748. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendPropertySheet_CreatePropertyPages_Proxy(
  2749. IExtendPropertySheet * This,
  2750. /* [in] */ LPPROPERTYSHEETCALLBACK lpProvider,
  2751. /* [in] */ LONG_PTR handle,
  2752. /* [in] */ LPDATAOBJECT lpIDataObject);
  2753. void __RPC_STUB IExtendPropertySheet_CreatePropertyPages_Stub(
  2754. IRpcStubBuffer *This,
  2755. IRpcChannelBuffer *_pRpcChannelBuffer,
  2756. PRPC_MESSAGE _pRpcMessage,
  2757. DWORD *_pdwStubPhase);
  2758. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendPropertySheet_QueryPagesFor_Proxy(
  2759. IExtendPropertySheet * This,
  2760. /* [in] */ LPDATAOBJECT lpDataObject);
  2761. void __RPC_STUB IExtendPropertySheet_QueryPagesFor_Stub(
  2762. IRpcStubBuffer *This,
  2763. IRpcChannelBuffer *_pRpcChannelBuffer,
  2764. PRPC_MESSAGE _pRpcMessage,
  2765. DWORD *_pdwStubPhase);
  2766. #endif /* __IExtendPropertySheet_INTERFACE_DEFINED__ */
  2767. #ifndef __IControlbar_INTERFACE_DEFINED__
  2768. #define __IControlbar_INTERFACE_DEFINED__
  2769. /* interface IControlbar */
  2770. /* [unique][helpstring][uuid][object] */
  2771. EXTERN_C const IID IID_IControlbar;
  2772. #if defined(__cplusplus) && !defined(CINTERFACE)
  2773. MIDL_INTERFACE("69FB811E-6C1C-11D0-A2CB-00C04FD909DD")
  2774. IControlbar : public IUnknown
  2775. {
  2776. public:
  2777. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Create(
  2778. /* [in] */ MMC_CONTROL_TYPE nType,
  2779. /* [in] */ LPEXTENDCONTROLBAR pExtendControlbar,
  2780. /* [out] */ LPUNKNOWN *ppUnknown) = 0;
  2781. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Attach(
  2782. /* [in] */ MMC_CONTROL_TYPE nType,
  2783. /* [in] */ LPUNKNOWN lpUnknown) = 0;
  2784. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Detach(
  2785. /* [in] */ LPUNKNOWN lpUnknown) = 0;
  2786. };
  2787. #else /* C style interface */
  2788. typedef struct IControlbarVtbl
  2789. {
  2790. BEGIN_INTERFACE
  2791. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2792. IControlbar * This,
  2793. /* [in] */ REFIID riid,
  2794. /* [iid_is][out] */ void **ppvObject);
  2795. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2796. IControlbar * This);
  2797. ULONG ( STDMETHODCALLTYPE *Release )(
  2798. IControlbar * This);
  2799. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Create )(
  2800. IControlbar * This,
  2801. /* [in] */ MMC_CONTROL_TYPE nType,
  2802. /* [in] */ LPEXTENDCONTROLBAR pExtendControlbar,
  2803. /* [out] */ LPUNKNOWN *ppUnknown);
  2804. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Attach )(
  2805. IControlbar * This,
  2806. /* [in] */ MMC_CONTROL_TYPE nType,
  2807. /* [in] */ LPUNKNOWN lpUnknown);
  2808. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Detach )(
  2809. IControlbar * This,
  2810. /* [in] */ LPUNKNOWN lpUnknown);
  2811. END_INTERFACE
  2812. } IControlbarVtbl;
  2813. interface IControlbar
  2814. {
  2815. CONST_VTBL struct IControlbarVtbl *lpVtbl;
  2816. };
  2817. #ifdef COBJMACROS
  2818. #define IControlbar_QueryInterface(This,riid,ppvObject) \
  2819. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2820. #define IControlbar_AddRef(This) \
  2821. (This)->lpVtbl -> AddRef(This)
  2822. #define IControlbar_Release(This) \
  2823. (This)->lpVtbl -> Release(This)
  2824. #define IControlbar_Create(This,nType,pExtendControlbar,ppUnknown) \
  2825. (This)->lpVtbl -> Create(This,nType,pExtendControlbar,ppUnknown)
  2826. #define IControlbar_Attach(This,nType,lpUnknown) \
  2827. (This)->lpVtbl -> Attach(This,nType,lpUnknown)
  2828. #define IControlbar_Detach(This,lpUnknown) \
  2829. (This)->lpVtbl -> Detach(This,lpUnknown)
  2830. #endif /* COBJMACROS */
  2831. #endif /* C style interface */
  2832. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IControlbar_Create_Proxy(
  2833. IControlbar * This,
  2834. /* [in] */ MMC_CONTROL_TYPE nType,
  2835. /* [in] */ LPEXTENDCONTROLBAR pExtendControlbar,
  2836. /* [out] */ LPUNKNOWN *ppUnknown);
  2837. void __RPC_STUB IControlbar_Create_Stub(
  2838. IRpcStubBuffer *This,
  2839. IRpcChannelBuffer *_pRpcChannelBuffer,
  2840. PRPC_MESSAGE _pRpcMessage,
  2841. DWORD *_pdwStubPhase);
  2842. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IControlbar_Attach_Proxy(
  2843. IControlbar * This,
  2844. /* [in] */ MMC_CONTROL_TYPE nType,
  2845. /* [in] */ LPUNKNOWN lpUnknown);
  2846. void __RPC_STUB IControlbar_Attach_Stub(
  2847. IRpcStubBuffer *This,
  2848. IRpcChannelBuffer *_pRpcChannelBuffer,
  2849. PRPC_MESSAGE _pRpcMessage,
  2850. DWORD *_pdwStubPhase);
  2851. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IControlbar_Detach_Proxy(
  2852. IControlbar * This,
  2853. /* [in] */ LPUNKNOWN lpUnknown);
  2854. void __RPC_STUB IControlbar_Detach_Stub(
  2855. IRpcStubBuffer *This,
  2856. IRpcChannelBuffer *_pRpcChannelBuffer,
  2857. PRPC_MESSAGE _pRpcMessage,
  2858. DWORD *_pdwStubPhase);
  2859. #endif /* __IControlbar_INTERFACE_DEFINED__ */
  2860. #ifndef __IExtendControlbar_INTERFACE_DEFINED__
  2861. #define __IExtendControlbar_INTERFACE_DEFINED__
  2862. /* interface IExtendControlbar */
  2863. /* [unique][helpstring][uuid][object] */
  2864. EXTERN_C const IID IID_IExtendControlbar;
  2865. #if defined(__cplusplus) && !defined(CINTERFACE)
  2866. MIDL_INTERFACE("49506520-6F40-11D0-A98B-00C04FD8D565")
  2867. IExtendControlbar : public IUnknown
  2868. {
  2869. public:
  2870. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetControlbar(
  2871. /* [in] */ LPCONTROLBAR pControlbar) = 0;
  2872. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ControlbarNotify(
  2873. /* [in] */ MMC_NOTIFY_TYPE event,
  2874. /* [in] */ LPARAM arg,
  2875. /* [in] */ LPARAM param) = 0;
  2876. };
  2877. #else /* C style interface */
  2878. typedef struct IExtendControlbarVtbl
  2879. {
  2880. BEGIN_INTERFACE
  2881. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2882. IExtendControlbar * This,
  2883. /* [in] */ REFIID riid,
  2884. /* [iid_is][out] */ void **ppvObject);
  2885. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2886. IExtendControlbar * This);
  2887. ULONG ( STDMETHODCALLTYPE *Release )(
  2888. IExtendControlbar * This);
  2889. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetControlbar )(
  2890. IExtendControlbar * This,
  2891. /* [in] */ LPCONTROLBAR pControlbar);
  2892. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ControlbarNotify )(
  2893. IExtendControlbar * This,
  2894. /* [in] */ MMC_NOTIFY_TYPE event,
  2895. /* [in] */ LPARAM arg,
  2896. /* [in] */ LPARAM param);
  2897. END_INTERFACE
  2898. } IExtendControlbarVtbl;
  2899. interface IExtendControlbar
  2900. {
  2901. CONST_VTBL struct IExtendControlbarVtbl *lpVtbl;
  2902. };
  2903. #ifdef COBJMACROS
  2904. #define IExtendControlbar_QueryInterface(This,riid,ppvObject) \
  2905. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2906. #define IExtendControlbar_AddRef(This) \
  2907. (This)->lpVtbl -> AddRef(This)
  2908. #define IExtendControlbar_Release(This) \
  2909. (This)->lpVtbl -> Release(This)
  2910. #define IExtendControlbar_SetControlbar(This,pControlbar) \
  2911. (This)->lpVtbl -> SetControlbar(This,pControlbar)
  2912. #define IExtendControlbar_ControlbarNotify(This,event,arg,param) \
  2913. (This)->lpVtbl -> ControlbarNotify(This,event,arg,param)
  2914. #endif /* COBJMACROS */
  2915. #endif /* C style interface */
  2916. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendControlbar_SetControlbar_Proxy(
  2917. IExtendControlbar * This,
  2918. /* [in] */ LPCONTROLBAR pControlbar);
  2919. void __RPC_STUB IExtendControlbar_SetControlbar_Stub(
  2920. IRpcStubBuffer *This,
  2921. IRpcChannelBuffer *_pRpcChannelBuffer,
  2922. PRPC_MESSAGE _pRpcMessage,
  2923. DWORD *_pdwStubPhase);
  2924. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendControlbar_ControlbarNotify_Proxy(
  2925. IExtendControlbar * This,
  2926. /* [in] */ MMC_NOTIFY_TYPE event,
  2927. /* [in] */ LPARAM arg,
  2928. /* [in] */ LPARAM param);
  2929. void __RPC_STUB IExtendControlbar_ControlbarNotify_Stub(
  2930. IRpcStubBuffer *This,
  2931. IRpcChannelBuffer *_pRpcChannelBuffer,
  2932. PRPC_MESSAGE _pRpcMessage,
  2933. DWORD *_pdwStubPhase);
  2934. #endif /* __IExtendControlbar_INTERFACE_DEFINED__ */
  2935. #ifndef __IToolbar_INTERFACE_DEFINED__
  2936. #define __IToolbar_INTERFACE_DEFINED__
  2937. /* interface IToolbar */
  2938. /* [unique][uuid][object] */
  2939. EXTERN_C const IID IID_IToolbar;
  2940. #if defined(__cplusplus) && !defined(CINTERFACE)
  2941. MIDL_INTERFACE("43136EB9-D36C-11CF-ADBC-00AA00A80033")
  2942. IToolbar : public IUnknown
  2943. {
  2944. public:
  2945. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddBitmap(
  2946. /* [in] */ int nImages,
  2947. /* [in] */ HBITMAP hbmp,
  2948. /* [in] */ int cxSize,
  2949. /* [in] */ int cySize,
  2950. /* [in] */ COLORREF crMask) = 0;
  2951. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddButtons(
  2952. /* [in] */ int nButtons,
  2953. /* [in] */ LPMMCBUTTON lpButtons) = 0;
  2954. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertButton(
  2955. /* [in] */ int nIndex,
  2956. /* [in] */ LPMMCBUTTON lpButton) = 0;
  2957. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteButton(
  2958. /* [in] */ int nIndex) = 0;
  2959. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetButtonState(
  2960. /* [in] */ int idCommand,
  2961. /* [in] */ MMC_BUTTON_STATE nState,
  2962. /* [out] */ BOOL *pState) = 0;
  2963. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetButtonState(
  2964. /* [in] */ int idCommand,
  2965. /* [in] */ MMC_BUTTON_STATE nState,
  2966. /* [in] */ BOOL bState) = 0;
  2967. };
  2968. #else /* C style interface */
  2969. typedef struct IToolbarVtbl
  2970. {
  2971. BEGIN_INTERFACE
  2972. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2973. IToolbar * This,
  2974. /* [in] */ REFIID riid,
  2975. /* [iid_is][out] */ void **ppvObject);
  2976. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2977. IToolbar * This);
  2978. ULONG ( STDMETHODCALLTYPE *Release )(
  2979. IToolbar * This);
  2980. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddBitmap )(
  2981. IToolbar * This,
  2982. /* [in] */ int nImages,
  2983. /* [in] */ HBITMAP hbmp,
  2984. /* [in] */ int cxSize,
  2985. /* [in] */ int cySize,
  2986. /* [in] */ COLORREF crMask);
  2987. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddButtons )(
  2988. IToolbar * This,
  2989. /* [in] */ int nButtons,
  2990. /* [in] */ LPMMCBUTTON lpButtons);
  2991. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertButton )(
  2992. IToolbar * This,
  2993. /* [in] */ int nIndex,
  2994. /* [in] */ LPMMCBUTTON lpButton);
  2995. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteButton )(
  2996. IToolbar * This,
  2997. /* [in] */ int nIndex);
  2998. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetButtonState )(
  2999. IToolbar * This,
  3000. /* [in] */ int idCommand,
  3001. /* [in] */ MMC_BUTTON_STATE nState,
  3002. /* [out] */ BOOL *pState);
  3003. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetButtonState )(
  3004. IToolbar * This,
  3005. /* [in] */ int idCommand,
  3006. /* [in] */ MMC_BUTTON_STATE nState,
  3007. /* [in] */ BOOL bState);
  3008. END_INTERFACE
  3009. } IToolbarVtbl;
  3010. interface IToolbar
  3011. {
  3012. CONST_VTBL struct IToolbarVtbl *lpVtbl;
  3013. };
  3014. #ifdef COBJMACROS
  3015. #define IToolbar_QueryInterface(This,riid,ppvObject) \
  3016. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3017. #define IToolbar_AddRef(This) \
  3018. (This)->lpVtbl -> AddRef(This)
  3019. #define IToolbar_Release(This) \
  3020. (This)->lpVtbl -> Release(This)
  3021. #define IToolbar_AddBitmap(This,nImages,hbmp,cxSize,cySize,crMask) \
  3022. (This)->lpVtbl -> AddBitmap(This,nImages,hbmp,cxSize,cySize,crMask)
  3023. #define IToolbar_AddButtons(This,nButtons,lpButtons) \
  3024. (This)->lpVtbl -> AddButtons(This,nButtons,lpButtons)
  3025. #define IToolbar_InsertButton(This,nIndex,lpButton) \
  3026. (This)->lpVtbl -> InsertButton(This,nIndex,lpButton)
  3027. #define IToolbar_DeleteButton(This,nIndex) \
  3028. (This)->lpVtbl -> DeleteButton(This,nIndex)
  3029. #define IToolbar_GetButtonState(This,idCommand,nState,pState) \
  3030. (This)->lpVtbl -> GetButtonState(This,idCommand,nState,pState)
  3031. #define IToolbar_SetButtonState(This,idCommand,nState,bState) \
  3032. (This)->lpVtbl -> SetButtonState(This,idCommand,nState,bState)
  3033. #endif /* COBJMACROS */
  3034. #endif /* C style interface */
  3035. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_AddBitmap_Proxy(
  3036. IToolbar * This,
  3037. /* [in] */ int nImages,
  3038. /* [in] */ HBITMAP hbmp,
  3039. /* [in] */ int cxSize,
  3040. /* [in] */ int cySize,
  3041. /* [in] */ COLORREF crMask);
  3042. void __RPC_STUB IToolbar_AddBitmap_Stub(
  3043. IRpcStubBuffer *This,
  3044. IRpcChannelBuffer *_pRpcChannelBuffer,
  3045. PRPC_MESSAGE _pRpcMessage,
  3046. DWORD *_pdwStubPhase);
  3047. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_AddButtons_Proxy(
  3048. IToolbar * This,
  3049. /* [in] */ int nButtons,
  3050. /* [in] */ LPMMCBUTTON lpButtons);
  3051. void __RPC_STUB IToolbar_AddButtons_Stub(
  3052. IRpcStubBuffer *This,
  3053. IRpcChannelBuffer *_pRpcChannelBuffer,
  3054. PRPC_MESSAGE _pRpcMessage,
  3055. DWORD *_pdwStubPhase);
  3056. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_InsertButton_Proxy(
  3057. IToolbar * This,
  3058. /* [in] */ int nIndex,
  3059. /* [in] */ LPMMCBUTTON lpButton);
  3060. void __RPC_STUB IToolbar_InsertButton_Stub(
  3061. IRpcStubBuffer *This,
  3062. IRpcChannelBuffer *_pRpcChannelBuffer,
  3063. PRPC_MESSAGE _pRpcMessage,
  3064. DWORD *_pdwStubPhase);
  3065. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_DeleteButton_Proxy(
  3066. IToolbar * This,
  3067. /* [in] */ int nIndex);
  3068. void __RPC_STUB IToolbar_DeleteButton_Stub(
  3069. IRpcStubBuffer *This,
  3070. IRpcChannelBuffer *_pRpcChannelBuffer,
  3071. PRPC_MESSAGE _pRpcMessage,
  3072. DWORD *_pdwStubPhase);
  3073. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_GetButtonState_Proxy(
  3074. IToolbar * This,
  3075. /* [in] */ int idCommand,
  3076. /* [in] */ MMC_BUTTON_STATE nState,
  3077. /* [out] */ BOOL *pState);
  3078. void __RPC_STUB IToolbar_GetButtonState_Stub(
  3079. IRpcStubBuffer *This,
  3080. IRpcChannelBuffer *_pRpcChannelBuffer,
  3081. PRPC_MESSAGE _pRpcMessage,
  3082. DWORD *_pdwStubPhase);
  3083. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IToolbar_SetButtonState_Proxy(
  3084. IToolbar * This,
  3085. /* [in] */ int idCommand,
  3086. /* [in] */ MMC_BUTTON_STATE nState,
  3087. /* [in] */ BOOL bState);
  3088. void __RPC_STUB IToolbar_SetButtonState_Stub(
  3089. IRpcStubBuffer *This,
  3090. IRpcChannelBuffer *_pRpcChannelBuffer,
  3091. PRPC_MESSAGE _pRpcMessage,
  3092. DWORD *_pdwStubPhase);
  3093. #endif /* __IToolbar_INTERFACE_DEFINED__ */
  3094. #ifndef __IConsoleVerb_INTERFACE_DEFINED__
  3095. #define __IConsoleVerb_INTERFACE_DEFINED__
  3096. /* interface IConsoleVerb */
  3097. /* [unique][uuid][object] */
  3098. EXTERN_C const IID IID_IConsoleVerb;
  3099. #if defined(__cplusplus) && !defined(CINTERFACE)
  3100. MIDL_INTERFACE("E49F7A60-74AF-11D0-A286-00C04FD8FE93")
  3101. IConsoleVerb : public IUnknown
  3102. {
  3103. public:
  3104. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetVerbState(
  3105. /* [in] */ MMC_CONSOLE_VERB eCmdID,
  3106. /* [in] */ MMC_BUTTON_STATE nState,
  3107. /* [out] */ BOOL *pState) = 0;
  3108. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetVerbState(
  3109. /* [in] */ MMC_CONSOLE_VERB eCmdID,
  3110. /* [in] */ MMC_BUTTON_STATE nState,
  3111. /* [in] */ BOOL bState) = 0;
  3112. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDefaultVerb(
  3113. /* [in] */ MMC_CONSOLE_VERB eCmdID) = 0;
  3114. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDefaultVerb(
  3115. /* [out] */ MMC_CONSOLE_VERB *peCmdID) = 0;
  3116. };
  3117. #else /* C style interface */
  3118. typedef struct IConsoleVerbVtbl
  3119. {
  3120. BEGIN_INTERFACE
  3121. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3122. IConsoleVerb * This,
  3123. /* [in] */ REFIID riid,
  3124. /* [iid_is][out] */ void **ppvObject);
  3125. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3126. IConsoleVerb * This);
  3127. ULONG ( STDMETHODCALLTYPE *Release )(
  3128. IConsoleVerb * This);
  3129. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetVerbState )(
  3130. IConsoleVerb * This,
  3131. /* [in] */ MMC_CONSOLE_VERB eCmdID,
  3132. /* [in] */ MMC_BUTTON_STATE nState,
  3133. /* [out] */ BOOL *pState);
  3134. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetVerbState )(
  3135. IConsoleVerb * This,
  3136. /* [in] */ MMC_CONSOLE_VERB eCmdID,
  3137. /* [in] */ MMC_BUTTON_STATE nState,
  3138. /* [in] */ BOOL bState);
  3139. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetDefaultVerb )(
  3140. IConsoleVerb * This,
  3141. /* [in] */ MMC_CONSOLE_VERB eCmdID);
  3142. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDefaultVerb )(
  3143. IConsoleVerb * This,
  3144. /* [out] */ MMC_CONSOLE_VERB *peCmdID);
  3145. END_INTERFACE
  3146. } IConsoleVerbVtbl;
  3147. interface IConsoleVerb
  3148. {
  3149. CONST_VTBL struct IConsoleVerbVtbl *lpVtbl;
  3150. };
  3151. #ifdef COBJMACROS
  3152. #define IConsoleVerb_QueryInterface(This,riid,ppvObject) \
  3153. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3154. #define IConsoleVerb_AddRef(This) \
  3155. (This)->lpVtbl -> AddRef(This)
  3156. #define IConsoleVerb_Release(This) \
  3157. (This)->lpVtbl -> Release(This)
  3158. #define IConsoleVerb_GetVerbState(This,eCmdID,nState,pState) \
  3159. (This)->lpVtbl -> GetVerbState(This,eCmdID,nState,pState)
  3160. #define IConsoleVerb_SetVerbState(This,eCmdID,nState,bState) \
  3161. (This)->lpVtbl -> SetVerbState(This,eCmdID,nState,bState)
  3162. #define IConsoleVerb_SetDefaultVerb(This,eCmdID) \
  3163. (This)->lpVtbl -> SetDefaultVerb(This,eCmdID)
  3164. #define IConsoleVerb_GetDefaultVerb(This,peCmdID) \
  3165. (This)->lpVtbl -> GetDefaultVerb(This,peCmdID)
  3166. #endif /* COBJMACROS */
  3167. #endif /* C style interface */
  3168. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleVerb_GetVerbState_Proxy(
  3169. IConsoleVerb * This,
  3170. /* [in] */ MMC_CONSOLE_VERB eCmdID,
  3171. /* [in] */ MMC_BUTTON_STATE nState,
  3172. /* [out] */ BOOL *pState);
  3173. void __RPC_STUB IConsoleVerb_GetVerbState_Stub(
  3174. IRpcStubBuffer *This,
  3175. IRpcChannelBuffer *_pRpcChannelBuffer,
  3176. PRPC_MESSAGE _pRpcMessage,
  3177. DWORD *_pdwStubPhase);
  3178. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleVerb_SetVerbState_Proxy(
  3179. IConsoleVerb * This,
  3180. /* [in] */ MMC_CONSOLE_VERB eCmdID,
  3181. /* [in] */ MMC_BUTTON_STATE nState,
  3182. /* [in] */ BOOL bState);
  3183. void __RPC_STUB IConsoleVerb_SetVerbState_Stub(
  3184. IRpcStubBuffer *This,
  3185. IRpcChannelBuffer *_pRpcChannelBuffer,
  3186. PRPC_MESSAGE _pRpcMessage,
  3187. DWORD *_pdwStubPhase);
  3188. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleVerb_SetDefaultVerb_Proxy(
  3189. IConsoleVerb * This,
  3190. /* [in] */ MMC_CONSOLE_VERB eCmdID);
  3191. void __RPC_STUB IConsoleVerb_SetDefaultVerb_Stub(
  3192. IRpcStubBuffer *This,
  3193. IRpcChannelBuffer *_pRpcChannelBuffer,
  3194. PRPC_MESSAGE _pRpcMessage,
  3195. DWORD *_pdwStubPhase);
  3196. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsoleVerb_GetDefaultVerb_Proxy(
  3197. IConsoleVerb * This,
  3198. /* [out] */ MMC_CONSOLE_VERB *peCmdID);
  3199. void __RPC_STUB IConsoleVerb_GetDefaultVerb_Stub(
  3200. IRpcStubBuffer *This,
  3201. IRpcChannelBuffer *_pRpcChannelBuffer,
  3202. PRPC_MESSAGE _pRpcMessage,
  3203. DWORD *_pdwStubPhase);
  3204. #endif /* __IConsoleVerb_INTERFACE_DEFINED__ */
  3205. #ifndef __ISnapinAbout_INTERFACE_DEFINED__
  3206. #define __ISnapinAbout_INTERFACE_DEFINED__
  3207. /* interface ISnapinAbout */
  3208. /* [unique][uuid][object] */
  3209. EXTERN_C const IID IID_ISnapinAbout;
  3210. #if defined(__cplusplus) && !defined(CINTERFACE)
  3211. MIDL_INTERFACE("1245208C-A151-11D0-A7D7-00C04FD909DD")
  3212. ISnapinAbout : public IUnknown
  3213. {
  3214. public:
  3215. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinDescription(
  3216. /* [out] */ LPOLESTR *lpDescription) = 0;
  3217. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProvider(
  3218. /* [out] */ LPOLESTR *lpName) = 0;
  3219. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinVersion(
  3220. /* [out] */ LPOLESTR *lpVersion) = 0;
  3221. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinImage(
  3222. /* [out] */ HICON *hAppIcon) = 0;
  3223. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStaticFolderImage(
  3224. /* [out] */ HBITMAP *hSmallImage,
  3225. /* [out] */ HBITMAP *hSmallImageOpen,
  3226. /* [out] */ HBITMAP *hLargeImage,
  3227. /* [out] */ COLORREF *cMask) = 0;
  3228. };
  3229. #else /* C style interface */
  3230. typedef struct ISnapinAboutVtbl
  3231. {
  3232. BEGIN_INTERFACE
  3233. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3234. ISnapinAbout * This,
  3235. /* [in] */ REFIID riid,
  3236. /* [iid_is][out] */ void **ppvObject);
  3237. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3238. ISnapinAbout * This);
  3239. ULONG ( STDMETHODCALLTYPE *Release )(
  3240. ISnapinAbout * This);
  3241. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSnapinDescription )(
  3242. ISnapinAbout * This,
  3243. /* [out] */ LPOLESTR *lpDescription);
  3244. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetProvider )(
  3245. ISnapinAbout * This,
  3246. /* [out] */ LPOLESTR *lpName);
  3247. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSnapinVersion )(
  3248. ISnapinAbout * This,
  3249. /* [out] */ LPOLESTR *lpVersion);
  3250. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSnapinImage )(
  3251. ISnapinAbout * This,
  3252. /* [out] */ HICON *hAppIcon);
  3253. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStaticFolderImage )(
  3254. ISnapinAbout * This,
  3255. /* [out] */ HBITMAP *hSmallImage,
  3256. /* [out] */ HBITMAP *hSmallImageOpen,
  3257. /* [out] */ HBITMAP *hLargeImage,
  3258. /* [out] */ COLORREF *cMask);
  3259. END_INTERFACE
  3260. } ISnapinAboutVtbl;
  3261. interface ISnapinAbout
  3262. {
  3263. CONST_VTBL struct ISnapinAboutVtbl *lpVtbl;
  3264. };
  3265. #ifdef COBJMACROS
  3266. #define ISnapinAbout_QueryInterface(This,riid,ppvObject) \
  3267. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3268. #define ISnapinAbout_AddRef(This) \
  3269. (This)->lpVtbl -> AddRef(This)
  3270. #define ISnapinAbout_Release(This) \
  3271. (This)->lpVtbl -> Release(This)
  3272. #define ISnapinAbout_GetSnapinDescription(This,lpDescription) \
  3273. (This)->lpVtbl -> GetSnapinDescription(This,lpDescription)
  3274. #define ISnapinAbout_GetProvider(This,lpName) \
  3275. (This)->lpVtbl -> GetProvider(This,lpName)
  3276. #define ISnapinAbout_GetSnapinVersion(This,lpVersion) \
  3277. (This)->lpVtbl -> GetSnapinVersion(This,lpVersion)
  3278. #define ISnapinAbout_GetSnapinImage(This,hAppIcon) \
  3279. (This)->lpVtbl -> GetSnapinImage(This,hAppIcon)
  3280. #define ISnapinAbout_GetStaticFolderImage(This,hSmallImage,hSmallImageOpen,hLargeImage,cMask) \
  3281. (This)->lpVtbl -> GetStaticFolderImage(This,hSmallImage,hSmallImageOpen,hLargeImage,cMask)
  3282. #endif /* COBJMACROS */
  3283. #endif /* C style interface */
  3284. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetSnapinDescription_Proxy(
  3285. ISnapinAbout * This,
  3286. /* [out] */ LPOLESTR *lpDescription);
  3287. void __RPC_STUB ISnapinAbout_GetSnapinDescription_Stub(
  3288. IRpcStubBuffer *This,
  3289. IRpcChannelBuffer *_pRpcChannelBuffer,
  3290. PRPC_MESSAGE _pRpcMessage,
  3291. DWORD *_pdwStubPhase);
  3292. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetProvider_Proxy(
  3293. ISnapinAbout * This,
  3294. /* [out] */ LPOLESTR *lpName);
  3295. void __RPC_STUB ISnapinAbout_GetProvider_Stub(
  3296. IRpcStubBuffer *This,
  3297. IRpcChannelBuffer *_pRpcChannelBuffer,
  3298. PRPC_MESSAGE _pRpcMessage,
  3299. DWORD *_pdwStubPhase);
  3300. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetSnapinVersion_Proxy(
  3301. ISnapinAbout * This,
  3302. /* [out] */ LPOLESTR *lpVersion);
  3303. void __RPC_STUB ISnapinAbout_GetSnapinVersion_Stub(
  3304. IRpcStubBuffer *This,
  3305. IRpcChannelBuffer *_pRpcChannelBuffer,
  3306. PRPC_MESSAGE _pRpcMessage,
  3307. DWORD *_pdwStubPhase);
  3308. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetSnapinImage_Proxy(
  3309. ISnapinAbout * This,
  3310. /* [out] */ HICON *hAppIcon);
  3311. void __RPC_STUB ISnapinAbout_GetSnapinImage_Stub(
  3312. IRpcStubBuffer *This,
  3313. IRpcChannelBuffer *_pRpcChannelBuffer,
  3314. PRPC_MESSAGE _pRpcMessage,
  3315. DWORD *_pdwStubPhase);
  3316. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinAbout_GetStaticFolderImage_Proxy(
  3317. ISnapinAbout * This,
  3318. /* [out] */ HBITMAP *hSmallImage,
  3319. /* [out] */ HBITMAP *hSmallImageOpen,
  3320. /* [out] */ HBITMAP *hLargeImage,
  3321. /* [out] */ COLORREF *cMask);
  3322. void __RPC_STUB ISnapinAbout_GetStaticFolderImage_Stub(
  3323. IRpcStubBuffer *This,
  3324. IRpcChannelBuffer *_pRpcChannelBuffer,
  3325. PRPC_MESSAGE _pRpcMessage,
  3326. DWORD *_pdwStubPhase);
  3327. #endif /* __ISnapinAbout_INTERFACE_DEFINED__ */
  3328. #ifndef __IMenuButton_INTERFACE_DEFINED__
  3329. #define __IMenuButton_INTERFACE_DEFINED__
  3330. /* interface IMenuButton */
  3331. /* [unique][uuid][object] */
  3332. EXTERN_C const IID IID_IMenuButton;
  3333. #if defined(__cplusplus) && !defined(CINTERFACE)
  3334. MIDL_INTERFACE("951ED750-D080-11d0-B197-000000000000")
  3335. IMenuButton : public IUnknown
  3336. {
  3337. public:
  3338. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddButton(
  3339. /* [in] */ int idCommand,
  3340. /* [in] */ LPOLESTR lpButtonText,
  3341. /* [in] */ LPOLESTR lpTooltipText) = 0;
  3342. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetButton(
  3343. /* [in] */ int idCommand,
  3344. /* [in] */ LPOLESTR lpButtonText,
  3345. /* [in] */ LPOLESTR lpTooltipText) = 0;
  3346. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetButtonState(
  3347. /* [in] */ int idCommand,
  3348. /* [in] */ MMC_BUTTON_STATE nState,
  3349. /* [in] */ BOOL bState) = 0;
  3350. };
  3351. #else /* C style interface */
  3352. typedef struct IMenuButtonVtbl
  3353. {
  3354. BEGIN_INTERFACE
  3355. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3356. IMenuButton * This,
  3357. /* [in] */ REFIID riid,
  3358. /* [iid_is][out] */ void **ppvObject);
  3359. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3360. IMenuButton * This);
  3361. ULONG ( STDMETHODCALLTYPE *Release )(
  3362. IMenuButton * This);
  3363. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddButton )(
  3364. IMenuButton * This,
  3365. /* [in] */ int idCommand,
  3366. /* [in] */ LPOLESTR lpButtonText,
  3367. /* [in] */ LPOLESTR lpTooltipText);
  3368. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetButton )(
  3369. IMenuButton * This,
  3370. /* [in] */ int idCommand,
  3371. /* [in] */ LPOLESTR lpButtonText,
  3372. /* [in] */ LPOLESTR lpTooltipText);
  3373. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetButtonState )(
  3374. IMenuButton * This,
  3375. /* [in] */ int idCommand,
  3376. /* [in] */ MMC_BUTTON_STATE nState,
  3377. /* [in] */ BOOL bState);
  3378. END_INTERFACE
  3379. } IMenuButtonVtbl;
  3380. interface IMenuButton
  3381. {
  3382. CONST_VTBL struct IMenuButtonVtbl *lpVtbl;
  3383. };
  3384. #ifdef COBJMACROS
  3385. #define IMenuButton_QueryInterface(This,riid,ppvObject) \
  3386. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3387. #define IMenuButton_AddRef(This) \
  3388. (This)->lpVtbl -> AddRef(This)
  3389. #define IMenuButton_Release(This) \
  3390. (This)->lpVtbl -> Release(This)
  3391. #define IMenuButton_AddButton(This,idCommand,lpButtonText,lpTooltipText) \
  3392. (This)->lpVtbl -> AddButton(This,idCommand,lpButtonText,lpTooltipText)
  3393. #define IMenuButton_SetButton(This,idCommand,lpButtonText,lpTooltipText) \
  3394. (This)->lpVtbl -> SetButton(This,idCommand,lpButtonText,lpTooltipText)
  3395. #define IMenuButton_SetButtonState(This,idCommand,nState,bState) \
  3396. (This)->lpVtbl -> SetButtonState(This,idCommand,nState,bState)
  3397. #endif /* COBJMACROS */
  3398. #endif /* C style interface */
  3399. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMenuButton_AddButton_Proxy(
  3400. IMenuButton * This,
  3401. /* [in] */ int idCommand,
  3402. /* [in] */ LPOLESTR lpButtonText,
  3403. /* [in] */ LPOLESTR lpTooltipText);
  3404. void __RPC_STUB IMenuButton_AddButton_Stub(
  3405. IRpcStubBuffer *This,
  3406. IRpcChannelBuffer *_pRpcChannelBuffer,
  3407. PRPC_MESSAGE _pRpcMessage,
  3408. DWORD *_pdwStubPhase);
  3409. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMenuButton_SetButton_Proxy(
  3410. IMenuButton * This,
  3411. /* [in] */ int idCommand,
  3412. /* [in] */ LPOLESTR lpButtonText,
  3413. /* [in] */ LPOLESTR lpTooltipText);
  3414. void __RPC_STUB IMenuButton_SetButton_Stub(
  3415. IRpcStubBuffer *This,
  3416. IRpcChannelBuffer *_pRpcChannelBuffer,
  3417. PRPC_MESSAGE _pRpcMessage,
  3418. DWORD *_pdwStubPhase);
  3419. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMenuButton_SetButtonState_Proxy(
  3420. IMenuButton * This,
  3421. /* [in] */ int idCommand,
  3422. /* [in] */ MMC_BUTTON_STATE nState,
  3423. /* [in] */ BOOL bState);
  3424. void __RPC_STUB IMenuButton_SetButtonState_Stub(
  3425. IRpcStubBuffer *This,
  3426. IRpcChannelBuffer *_pRpcChannelBuffer,
  3427. PRPC_MESSAGE _pRpcMessage,
  3428. DWORD *_pdwStubPhase);
  3429. #endif /* __IMenuButton_INTERFACE_DEFINED__ */
  3430. #ifndef __ISnapinHelp_INTERFACE_DEFINED__
  3431. #define __ISnapinHelp_INTERFACE_DEFINED__
  3432. /* interface ISnapinHelp */
  3433. /* [unique][uuid][object] */
  3434. EXTERN_C const IID IID_ISnapinHelp;
  3435. #if defined(__cplusplus) && !defined(CINTERFACE)
  3436. MIDL_INTERFACE("A6B15ACE-DF59-11D0-A7DD-00C04FD909DD")
  3437. ISnapinHelp : public IUnknown
  3438. {
  3439. public:
  3440. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetHelpTopic(
  3441. /* [out] */ LPOLESTR *lpCompiledHelpFile) = 0;
  3442. };
  3443. #else /* C style interface */
  3444. typedef struct ISnapinHelpVtbl
  3445. {
  3446. BEGIN_INTERFACE
  3447. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3448. ISnapinHelp * This,
  3449. /* [in] */ REFIID riid,
  3450. /* [iid_is][out] */ void **ppvObject);
  3451. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3452. ISnapinHelp * This);
  3453. ULONG ( STDMETHODCALLTYPE *Release )(
  3454. ISnapinHelp * This);
  3455. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetHelpTopic )(
  3456. ISnapinHelp * This,
  3457. /* [out] */ LPOLESTR *lpCompiledHelpFile);
  3458. END_INTERFACE
  3459. } ISnapinHelpVtbl;
  3460. interface ISnapinHelp
  3461. {
  3462. CONST_VTBL struct ISnapinHelpVtbl *lpVtbl;
  3463. };
  3464. #ifdef COBJMACROS
  3465. #define ISnapinHelp_QueryInterface(This,riid,ppvObject) \
  3466. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3467. #define ISnapinHelp_AddRef(This) \
  3468. (This)->lpVtbl -> AddRef(This)
  3469. #define ISnapinHelp_Release(This) \
  3470. (This)->lpVtbl -> Release(This)
  3471. #define ISnapinHelp_GetHelpTopic(This,lpCompiledHelpFile) \
  3472. (This)->lpVtbl -> GetHelpTopic(This,lpCompiledHelpFile)
  3473. #endif /* COBJMACROS */
  3474. #endif /* C style interface */
  3475. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinHelp_GetHelpTopic_Proxy(
  3476. ISnapinHelp * This,
  3477. /* [out] */ LPOLESTR *lpCompiledHelpFile);
  3478. void __RPC_STUB ISnapinHelp_GetHelpTopic_Stub(
  3479. IRpcStubBuffer *This,
  3480. IRpcChannelBuffer *_pRpcChannelBuffer,
  3481. PRPC_MESSAGE _pRpcMessage,
  3482. DWORD *_pdwStubPhase);
  3483. #endif /* __ISnapinHelp_INTERFACE_DEFINED__ */
  3484. /* interface __MIDL_itf_mmc_0139 */
  3485. /* [local] */
  3486. #if (MMC_VER >= 0x0110)
  3487. extern RPC_IF_HANDLE __MIDL_itf_mmc_0139_v0_0_c_ifspec;
  3488. extern RPC_IF_HANDLE __MIDL_itf_mmc_0139_v0_0_s_ifspec;
  3489. #ifndef __IExtendPropertySheet2_INTERFACE_DEFINED__
  3490. #define __IExtendPropertySheet2_INTERFACE_DEFINED__
  3491. /* interface IExtendPropertySheet2 */
  3492. /* [unique][helpstring][uuid][object] */
  3493. EXTERN_C const IID IID_IExtendPropertySheet2;
  3494. #if defined(__cplusplus) && !defined(CINTERFACE)
  3495. MIDL_INTERFACE("B7A87232-4A51-11D1-A7EA-00C04FD909DD")
  3496. IExtendPropertySheet2 : public IExtendPropertySheet
  3497. {
  3498. public:
  3499. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetWatermarks(
  3500. /* [in] */ LPDATAOBJECT lpIDataObject,
  3501. /* [out] */ HBITMAP *lphWatermark,
  3502. /* [out] */ HBITMAP *lphHeader,
  3503. /* [out] */ HPALETTE *lphPalette,
  3504. /* [out] */ BOOL *bStretch) = 0;
  3505. };
  3506. #else /* C style interface */
  3507. typedef struct IExtendPropertySheet2Vtbl
  3508. {
  3509. BEGIN_INTERFACE
  3510. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3511. IExtendPropertySheet2 * This,
  3512. /* [in] */ REFIID riid,
  3513. /* [iid_is][out] */ void **ppvObject);
  3514. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3515. IExtendPropertySheet2 * This);
  3516. ULONG ( STDMETHODCALLTYPE *Release )(
  3517. IExtendPropertySheet2 * This);
  3518. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreatePropertyPages )(
  3519. IExtendPropertySheet2 * This,
  3520. /* [in] */ LPPROPERTYSHEETCALLBACK lpProvider,
  3521. /* [in] */ LONG_PTR handle,
  3522. /* [in] */ LPDATAOBJECT lpIDataObject);
  3523. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryPagesFor )(
  3524. IExtendPropertySheet2 * This,
  3525. /* [in] */ LPDATAOBJECT lpDataObject);
  3526. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetWatermarks )(
  3527. IExtendPropertySheet2 * This,
  3528. /* [in] */ LPDATAOBJECT lpIDataObject,
  3529. /* [out] */ HBITMAP *lphWatermark,
  3530. /* [out] */ HBITMAP *lphHeader,
  3531. /* [out] */ HPALETTE *lphPalette,
  3532. /* [out] */ BOOL *bStretch);
  3533. END_INTERFACE
  3534. } IExtendPropertySheet2Vtbl;
  3535. interface IExtendPropertySheet2
  3536. {
  3537. CONST_VTBL struct IExtendPropertySheet2Vtbl *lpVtbl;
  3538. };
  3539. #ifdef COBJMACROS
  3540. #define IExtendPropertySheet2_QueryInterface(This,riid,ppvObject) \
  3541. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3542. #define IExtendPropertySheet2_AddRef(This) \
  3543. (This)->lpVtbl -> AddRef(This)
  3544. #define IExtendPropertySheet2_Release(This) \
  3545. (This)->lpVtbl -> Release(This)
  3546. #define IExtendPropertySheet2_CreatePropertyPages(This,lpProvider,handle,lpIDataObject) \
  3547. (This)->lpVtbl -> CreatePropertyPages(This,lpProvider,handle,lpIDataObject)
  3548. #define IExtendPropertySheet2_QueryPagesFor(This,lpDataObject) \
  3549. (This)->lpVtbl -> QueryPagesFor(This,lpDataObject)
  3550. #define IExtendPropertySheet2_GetWatermarks(This,lpIDataObject,lphWatermark,lphHeader,lphPalette,bStretch) \
  3551. (This)->lpVtbl -> GetWatermarks(This,lpIDataObject,lphWatermark,lphHeader,lphPalette,bStretch)
  3552. #endif /* COBJMACROS */
  3553. #endif /* C style interface */
  3554. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendPropertySheet2_GetWatermarks_Proxy(
  3555. IExtendPropertySheet2 * This,
  3556. /* [in] */ LPDATAOBJECT lpIDataObject,
  3557. /* [out] */ HBITMAP *lphWatermark,
  3558. /* [out] */ HBITMAP *lphHeader,
  3559. /* [out] */ HPALETTE *lphPalette,
  3560. /* [out] */ BOOL *bStretch);
  3561. void __RPC_STUB IExtendPropertySheet2_GetWatermarks_Stub(
  3562. IRpcStubBuffer *This,
  3563. IRpcChannelBuffer *_pRpcChannelBuffer,
  3564. PRPC_MESSAGE _pRpcMessage,
  3565. DWORD *_pdwStubPhase);
  3566. #endif /* __IExtendPropertySheet2_INTERFACE_DEFINED__ */
  3567. #ifndef __IHeaderCtrl2_INTERFACE_DEFINED__
  3568. #define __IHeaderCtrl2_INTERFACE_DEFINED__
  3569. /* interface IHeaderCtrl2 */
  3570. /* [unique][helpstring][uuid][object] */
  3571. EXTERN_C const IID IID_IHeaderCtrl2;
  3572. #if defined(__cplusplus) && !defined(CINTERFACE)
  3573. MIDL_INTERFACE("9757abb8-1b32-11d1-a7ce-00c04fd8d565")
  3574. IHeaderCtrl2 : public IHeaderCtrl
  3575. {
  3576. public:
  3577. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetChangeTimeOut(
  3578. /* [in] */ unsigned long uTimeout) = 0;
  3579. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetColumnFilter(
  3580. /* [in] */ UINT nColumn,
  3581. /* [in] */ DWORD dwType,
  3582. /* [in] */ MMC_FILTERDATA *pFilterData) = 0;
  3583. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetColumnFilter(
  3584. /* [in] */ UINT nColumn,
  3585. /* [out][in] */ LPDWORD pdwType,
  3586. /* [out][in] */ MMC_FILTERDATA *pFilterData) = 0;
  3587. };
  3588. #else /* C style interface */
  3589. typedef struct IHeaderCtrl2Vtbl
  3590. {
  3591. BEGIN_INTERFACE
  3592. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3593. IHeaderCtrl2 * This,
  3594. /* [in] */ REFIID riid,
  3595. /* [iid_is][out] */ void **ppvObject);
  3596. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3597. IHeaderCtrl2 * This);
  3598. ULONG ( STDMETHODCALLTYPE *Release )(
  3599. IHeaderCtrl2 * This);
  3600. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertColumn )(
  3601. IHeaderCtrl2 * This,
  3602. /* [in] */ int nCol,
  3603. /* [in] */ LPCWSTR title,
  3604. /* [in] */ int nFormat,
  3605. /* [in] */ int nWidth);
  3606. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteColumn )(
  3607. IHeaderCtrl2 * This,
  3608. /* [in] */ int nCol);
  3609. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnText )(
  3610. IHeaderCtrl2 * This,
  3611. /* [in] */ int nCol,
  3612. /* [in] */ LPCWSTR title);
  3613. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnText )(
  3614. IHeaderCtrl2 * This,
  3615. /* [in] */ int nCol,
  3616. /* [out] */ LPOLESTR *pText);
  3617. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnWidth )(
  3618. IHeaderCtrl2 * This,
  3619. /* [in] */ int nCol,
  3620. /* [in] */ int nWidth);
  3621. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnWidth )(
  3622. IHeaderCtrl2 * This,
  3623. /* [in] */ int nCol,
  3624. /* [out] */ int *pWidth);
  3625. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetChangeTimeOut )(
  3626. IHeaderCtrl2 * This,
  3627. /* [in] */ unsigned long uTimeout);
  3628. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnFilter )(
  3629. IHeaderCtrl2 * This,
  3630. /* [in] */ UINT nColumn,
  3631. /* [in] */ DWORD dwType,
  3632. /* [in] */ MMC_FILTERDATA *pFilterData);
  3633. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnFilter )(
  3634. IHeaderCtrl2 * This,
  3635. /* [in] */ UINT nColumn,
  3636. /* [out][in] */ LPDWORD pdwType,
  3637. /* [out][in] */ MMC_FILTERDATA *pFilterData);
  3638. END_INTERFACE
  3639. } IHeaderCtrl2Vtbl;
  3640. interface IHeaderCtrl2
  3641. {
  3642. CONST_VTBL struct IHeaderCtrl2Vtbl *lpVtbl;
  3643. };
  3644. #ifdef COBJMACROS
  3645. #define IHeaderCtrl2_QueryInterface(This,riid,ppvObject) \
  3646. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3647. #define IHeaderCtrl2_AddRef(This) \
  3648. (This)->lpVtbl -> AddRef(This)
  3649. #define IHeaderCtrl2_Release(This) \
  3650. (This)->lpVtbl -> Release(This)
  3651. #define IHeaderCtrl2_InsertColumn(This,nCol,title,nFormat,nWidth) \
  3652. (This)->lpVtbl -> InsertColumn(This,nCol,title,nFormat,nWidth)
  3653. #define IHeaderCtrl2_DeleteColumn(This,nCol) \
  3654. (This)->lpVtbl -> DeleteColumn(This,nCol)
  3655. #define IHeaderCtrl2_SetColumnText(This,nCol,title) \
  3656. (This)->lpVtbl -> SetColumnText(This,nCol,title)
  3657. #define IHeaderCtrl2_GetColumnText(This,nCol,pText) \
  3658. (This)->lpVtbl -> GetColumnText(This,nCol,pText)
  3659. #define IHeaderCtrl2_SetColumnWidth(This,nCol,nWidth) \
  3660. (This)->lpVtbl -> SetColumnWidth(This,nCol,nWidth)
  3661. #define IHeaderCtrl2_GetColumnWidth(This,nCol,pWidth) \
  3662. (This)->lpVtbl -> GetColumnWidth(This,nCol,pWidth)
  3663. #define IHeaderCtrl2_SetChangeTimeOut(This,uTimeout) \
  3664. (This)->lpVtbl -> SetChangeTimeOut(This,uTimeout)
  3665. #define IHeaderCtrl2_SetColumnFilter(This,nColumn,dwType,pFilterData) \
  3666. (This)->lpVtbl -> SetColumnFilter(This,nColumn,dwType,pFilterData)
  3667. #define IHeaderCtrl2_GetColumnFilter(This,nColumn,pdwType,pFilterData) \
  3668. (This)->lpVtbl -> GetColumnFilter(This,nColumn,pdwType,pFilterData)
  3669. #endif /* COBJMACROS */
  3670. #endif /* C style interface */
  3671. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl2_SetChangeTimeOut_Proxy(
  3672. IHeaderCtrl2 * This,
  3673. /* [in] */ unsigned long uTimeout);
  3674. void __RPC_STUB IHeaderCtrl2_SetChangeTimeOut_Stub(
  3675. IRpcStubBuffer *This,
  3676. IRpcChannelBuffer *_pRpcChannelBuffer,
  3677. PRPC_MESSAGE _pRpcMessage,
  3678. DWORD *_pdwStubPhase);
  3679. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl2_SetColumnFilter_Proxy(
  3680. IHeaderCtrl2 * This,
  3681. /* [in] */ UINT nColumn,
  3682. /* [in] */ DWORD dwType,
  3683. /* [in] */ MMC_FILTERDATA *pFilterData);
  3684. void __RPC_STUB IHeaderCtrl2_SetColumnFilter_Stub(
  3685. IRpcStubBuffer *This,
  3686. IRpcChannelBuffer *_pRpcChannelBuffer,
  3687. PRPC_MESSAGE _pRpcMessage,
  3688. DWORD *_pdwStubPhase);
  3689. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl2_GetColumnFilter_Proxy(
  3690. IHeaderCtrl2 * This,
  3691. /* [in] */ UINT nColumn,
  3692. /* [out][in] */ LPDWORD pdwType,
  3693. /* [out][in] */ MMC_FILTERDATA *pFilterData);
  3694. void __RPC_STUB IHeaderCtrl2_GetColumnFilter_Stub(
  3695. IRpcStubBuffer *This,
  3696. IRpcChannelBuffer *_pRpcChannelBuffer,
  3697. PRPC_MESSAGE _pRpcMessage,
  3698. DWORD *_pdwStubPhase);
  3699. #endif /* __IHeaderCtrl2_INTERFACE_DEFINED__ */
  3700. #ifndef __ISnapinHelp2_INTERFACE_DEFINED__
  3701. #define __ISnapinHelp2_INTERFACE_DEFINED__
  3702. /* interface ISnapinHelp2 */
  3703. /* [unique][helpstring][uuid][object] */
  3704. EXTERN_C const IID IID_ISnapinHelp2;
  3705. #if defined(__cplusplus) && !defined(CINTERFACE)
  3706. MIDL_INTERFACE("4861A010-20F9-11d2-A510-00C04FB6DD2C")
  3707. ISnapinHelp2 : public ISnapinHelp
  3708. {
  3709. public:
  3710. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLinkedTopics(
  3711. /* [out] */ LPOLESTR *lpCompiledHelpFiles) = 0;
  3712. };
  3713. #else /* C style interface */
  3714. typedef struct ISnapinHelp2Vtbl
  3715. {
  3716. BEGIN_INTERFACE
  3717. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3718. ISnapinHelp2 * This,
  3719. /* [in] */ REFIID riid,
  3720. /* [iid_is][out] */ void **ppvObject);
  3721. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3722. ISnapinHelp2 * This);
  3723. ULONG ( STDMETHODCALLTYPE *Release )(
  3724. ISnapinHelp2 * This);
  3725. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetHelpTopic )(
  3726. ISnapinHelp2 * This,
  3727. /* [out] */ LPOLESTR *lpCompiledHelpFile);
  3728. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLinkedTopics )(
  3729. ISnapinHelp2 * This,
  3730. /* [out] */ LPOLESTR *lpCompiledHelpFiles);
  3731. END_INTERFACE
  3732. } ISnapinHelp2Vtbl;
  3733. interface ISnapinHelp2
  3734. {
  3735. CONST_VTBL struct ISnapinHelp2Vtbl *lpVtbl;
  3736. };
  3737. #ifdef COBJMACROS
  3738. #define ISnapinHelp2_QueryInterface(This,riid,ppvObject) \
  3739. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3740. #define ISnapinHelp2_AddRef(This) \
  3741. (This)->lpVtbl -> AddRef(This)
  3742. #define ISnapinHelp2_Release(This) \
  3743. (This)->lpVtbl -> Release(This)
  3744. #define ISnapinHelp2_GetHelpTopic(This,lpCompiledHelpFile) \
  3745. (This)->lpVtbl -> GetHelpTopic(This,lpCompiledHelpFile)
  3746. #define ISnapinHelp2_GetLinkedTopics(This,lpCompiledHelpFiles) \
  3747. (This)->lpVtbl -> GetLinkedTopics(This,lpCompiledHelpFiles)
  3748. #endif /* COBJMACROS */
  3749. #endif /* C style interface */
  3750. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinHelp2_GetLinkedTopics_Proxy(
  3751. ISnapinHelp2 * This,
  3752. /* [out] */ LPOLESTR *lpCompiledHelpFiles);
  3753. void __RPC_STUB ISnapinHelp2_GetLinkedTopics_Stub(
  3754. IRpcStubBuffer *This,
  3755. IRpcChannelBuffer *_pRpcChannelBuffer,
  3756. PRPC_MESSAGE _pRpcMessage,
  3757. DWORD *_pdwStubPhase);
  3758. #endif /* __ISnapinHelp2_INTERFACE_DEFINED__ */
  3759. /* interface __MIDL_itf_mmc_0142 */
  3760. /* [local] */
  3761. typedef
  3762. enum _MMC_TASK_DISPLAY_TYPE
  3763. { MMC_TASK_DISPLAY_UNINITIALIZED = 0,
  3764. MMC_TASK_DISPLAY_TYPE_SYMBOL = MMC_TASK_DISPLAY_UNINITIALIZED + 1,
  3765. MMC_TASK_DISPLAY_TYPE_VANILLA_GIF = MMC_TASK_DISPLAY_TYPE_SYMBOL + 1,
  3766. MMC_TASK_DISPLAY_TYPE_CHOCOLATE_GIF = MMC_TASK_DISPLAY_TYPE_VANILLA_GIF + 1,
  3767. MMC_TASK_DISPLAY_TYPE_BITMAP = MMC_TASK_DISPLAY_TYPE_CHOCOLATE_GIF + 1
  3768. } MMC_TASK_DISPLAY_TYPE;
  3769. typedef struct _MMC_TASK_DISPLAY_SYMBOL
  3770. {
  3771. LPOLESTR szFontFamilyName;
  3772. LPOLESTR szURLtoEOT;
  3773. LPOLESTR szSymbolString;
  3774. } MMC_TASK_DISPLAY_SYMBOL;
  3775. typedef struct _MMC_TASK_DISPLAY_BITMAP
  3776. {
  3777. LPOLESTR szMouseOverBitmap;
  3778. LPOLESTR szMouseOffBitmap;
  3779. } MMC_TASK_DISPLAY_BITMAP;
  3780. typedef struct _MMC_TASK_DISPLAY_OBJECT
  3781. {
  3782. MMC_TASK_DISPLAY_TYPE eDisplayType;
  3783. /* [switch_is][switch_type] */ union
  3784. {
  3785. /* [case()] */ MMC_TASK_DISPLAY_BITMAP uBitmap;
  3786. /* [case()] */ MMC_TASK_DISPLAY_SYMBOL uSymbol;
  3787. /* [default] */ /* Empty union arm */
  3788. } ;
  3789. } MMC_TASK_DISPLAY_OBJECT;
  3790. typedef
  3791. enum _MMC_ACTION_TYPE
  3792. { MMC_ACTION_UNINITIALIZED = -1,
  3793. MMC_ACTION_ID = MMC_ACTION_UNINITIALIZED + 1,
  3794. MMC_ACTION_LINK = MMC_ACTION_ID + 1,
  3795. MMC_ACTION_SCRIPT = MMC_ACTION_LINK + 1
  3796. } MMC_ACTION_TYPE;
  3797. typedef struct _MMC_TASK
  3798. {
  3799. MMC_TASK_DISPLAY_OBJECT sDisplayObject;
  3800. LPOLESTR szText;
  3801. LPOLESTR szHelpString;
  3802. MMC_ACTION_TYPE eActionType;
  3803. union
  3804. {
  3805. LONG_PTR nCommandID;
  3806. LPOLESTR szActionURL;
  3807. LPOLESTR szScript;
  3808. } ;
  3809. } MMC_TASK;
  3810. typedef struct _MMC_LISTPAD_INFO
  3811. {
  3812. LPOLESTR szTitle;
  3813. LPOLESTR szButtonText;
  3814. LONG_PTR nCommandID;
  3815. } MMC_LISTPAD_INFO;
  3816. typedef DWORD MMC_STRING_ID;
  3817. extern RPC_IF_HANDLE __MIDL_itf_mmc_0142_v0_0_c_ifspec;
  3818. extern RPC_IF_HANDLE __MIDL_itf_mmc_0142_v0_0_s_ifspec;
  3819. #ifndef __IEnumTASK_INTERFACE_DEFINED__
  3820. #define __IEnumTASK_INTERFACE_DEFINED__
  3821. /* interface IEnumTASK */
  3822. /* [unique][helpstring][uuid][object][local] */
  3823. EXTERN_C const IID IID_IEnumTASK;
  3824. #if defined(__cplusplus) && !defined(CINTERFACE)
  3825. MIDL_INTERFACE("338698b1-5a02-11d1-9fec-00600832db4a")
  3826. IEnumTASK : public IUnknown
  3827. {
  3828. public:
  3829. virtual HRESULT STDMETHODCALLTYPE Next(
  3830. /* [in] */ ULONG celt,
  3831. /* [length_is][size_is][out] */ MMC_TASK *rgelt,
  3832. /* [out] */ ULONG *pceltFetched) = 0;
  3833. virtual HRESULT STDMETHODCALLTYPE Skip(
  3834. /* [in] */ ULONG celt) = 0;
  3835. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  3836. virtual HRESULT STDMETHODCALLTYPE Clone(
  3837. /* [out] */ IEnumTASK **ppenum) = 0;
  3838. };
  3839. #else /* C style interface */
  3840. typedef struct IEnumTASKVtbl
  3841. {
  3842. BEGIN_INTERFACE
  3843. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3844. IEnumTASK * This,
  3845. /* [in] */ REFIID riid,
  3846. /* [iid_is][out] */ void **ppvObject);
  3847. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3848. IEnumTASK * This);
  3849. ULONG ( STDMETHODCALLTYPE *Release )(
  3850. IEnumTASK * This);
  3851. HRESULT ( STDMETHODCALLTYPE *Next )(
  3852. IEnumTASK * This,
  3853. /* [in] */ ULONG celt,
  3854. /* [length_is][size_is][out] */ MMC_TASK *rgelt,
  3855. /* [out] */ ULONG *pceltFetched);
  3856. HRESULT ( STDMETHODCALLTYPE *Skip )(
  3857. IEnumTASK * This,
  3858. /* [in] */ ULONG celt);
  3859. HRESULT ( STDMETHODCALLTYPE *Reset )(
  3860. IEnumTASK * This);
  3861. HRESULT ( STDMETHODCALLTYPE *Clone )(
  3862. IEnumTASK * This,
  3863. /* [out] */ IEnumTASK **ppenum);
  3864. END_INTERFACE
  3865. } IEnumTASKVtbl;
  3866. interface IEnumTASK
  3867. {
  3868. CONST_VTBL struct IEnumTASKVtbl *lpVtbl;
  3869. };
  3870. #ifdef COBJMACROS
  3871. #define IEnumTASK_QueryInterface(This,riid,ppvObject) \
  3872. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3873. #define IEnumTASK_AddRef(This) \
  3874. (This)->lpVtbl -> AddRef(This)
  3875. #define IEnumTASK_Release(This) \
  3876. (This)->lpVtbl -> Release(This)
  3877. #define IEnumTASK_Next(This,celt,rgelt,pceltFetched) \
  3878. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  3879. #define IEnumTASK_Skip(This,celt) \
  3880. (This)->lpVtbl -> Skip(This,celt)
  3881. #define IEnumTASK_Reset(This) \
  3882. (This)->lpVtbl -> Reset(This)
  3883. #define IEnumTASK_Clone(This,ppenum) \
  3884. (This)->lpVtbl -> Clone(This,ppenum)
  3885. #endif /* COBJMACROS */
  3886. #endif /* C style interface */
  3887. HRESULT STDMETHODCALLTYPE IEnumTASK_Next_Proxy(
  3888. IEnumTASK * This,
  3889. /* [in] */ ULONG celt,
  3890. /* [length_is][size_is][out] */ MMC_TASK *rgelt,
  3891. /* [out] */ ULONG *pceltFetched);
  3892. void __RPC_STUB IEnumTASK_Next_Stub(
  3893. IRpcStubBuffer *This,
  3894. IRpcChannelBuffer *_pRpcChannelBuffer,
  3895. PRPC_MESSAGE _pRpcMessage,
  3896. DWORD *_pdwStubPhase);
  3897. HRESULT STDMETHODCALLTYPE IEnumTASK_Skip_Proxy(
  3898. IEnumTASK * This,
  3899. /* [in] */ ULONG celt);
  3900. void __RPC_STUB IEnumTASK_Skip_Stub(
  3901. IRpcStubBuffer *This,
  3902. IRpcChannelBuffer *_pRpcChannelBuffer,
  3903. PRPC_MESSAGE _pRpcMessage,
  3904. DWORD *_pdwStubPhase);
  3905. HRESULT STDMETHODCALLTYPE IEnumTASK_Reset_Proxy(
  3906. IEnumTASK * This);
  3907. void __RPC_STUB IEnumTASK_Reset_Stub(
  3908. IRpcStubBuffer *This,
  3909. IRpcChannelBuffer *_pRpcChannelBuffer,
  3910. PRPC_MESSAGE _pRpcMessage,
  3911. DWORD *_pdwStubPhase);
  3912. HRESULT STDMETHODCALLTYPE IEnumTASK_Clone_Proxy(
  3913. IEnumTASK * This,
  3914. /* [out] */ IEnumTASK **ppenum);
  3915. void __RPC_STUB IEnumTASK_Clone_Stub(
  3916. IRpcStubBuffer *This,
  3917. IRpcChannelBuffer *_pRpcChannelBuffer,
  3918. PRPC_MESSAGE _pRpcMessage,
  3919. DWORD *_pdwStubPhase);
  3920. #endif /* __IEnumTASK_INTERFACE_DEFINED__ */
  3921. #ifndef __IExtendTaskPad_INTERFACE_DEFINED__
  3922. #define __IExtendTaskPad_INTERFACE_DEFINED__
  3923. /* interface IExtendTaskPad */
  3924. /* [unique][helpstring][uuid][object][local] */
  3925. EXTERN_C const IID IID_IExtendTaskPad;
  3926. #if defined(__cplusplus) && !defined(CINTERFACE)
  3927. MIDL_INTERFACE("8dee6511-554d-11d1-9fea-00600832db4a")
  3928. IExtendTaskPad : public IUnknown
  3929. {
  3930. public:
  3931. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE TaskNotify(
  3932. /* [in] */ IDataObject *pdo,
  3933. /* [in] */ VARIANT *arg,
  3934. /* [in] */ VARIANT *param) = 0;
  3935. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumTasks(
  3936. /* [in] */ IDataObject *pdo,
  3937. /* [string][in] */ LPOLESTR szTaskGroup,
  3938. /* [out] */ IEnumTASK **ppEnumTASK) = 0;
  3939. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTitle(
  3940. /* [string][in] */ LPOLESTR pszGroup,
  3941. /* [string][out] */ LPOLESTR *pszTitle) = 0;
  3942. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDescriptiveText(
  3943. /* [string][in] */ LPOLESTR pszGroup,
  3944. /* [string][out] */ LPOLESTR *pszDescriptiveText) = 0;
  3945. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBackground(
  3946. /* [string][in] */ LPOLESTR pszGroup,
  3947. /* [out] */ MMC_TASK_DISPLAY_OBJECT *pTDO) = 0;
  3948. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetListPadInfo(
  3949. /* [string][in] */ LPOLESTR pszGroup,
  3950. /* [out] */ MMC_LISTPAD_INFO *lpListPadInfo) = 0;
  3951. };
  3952. #else /* C style interface */
  3953. typedef struct IExtendTaskPadVtbl
  3954. {
  3955. BEGIN_INTERFACE
  3956. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3957. IExtendTaskPad * This,
  3958. /* [in] */ REFIID riid,
  3959. /* [iid_is][out] */ void **ppvObject);
  3960. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3961. IExtendTaskPad * This);
  3962. ULONG ( STDMETHODCALLTYPE *Release )(
  3963. IExtendTaskPad * This);
  3964. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TaskNotify )(
  3965. IExtendTaskPad * This,
  3966. /* [in] */ IDataObject *pdo,
  3967. /* [in] */ VARIANT *arg,
  3968. /* [in] */ VARIANT *param);
  3969. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumTasks )(
  3970. IExtendTaskPad * This,
  3971. /* [in] */ IDataObject *pdo,
  3972. /* [string][in] */ LPOLESTR szTaskGroup,
  3973. /* [out] */ IEnumTASK **ppEnumTASK);
  3974. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetTitle )(
  3975. IExtendTaskPad * This,
  3976. /* [string][in] */ LPOLESTR pszGroup,
  3977. /* [string][out] */ LPOLESTR *pszTitle);
  3978. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDescriptiveText )(
  3979. IExtendTaskPad * This,
  3980. /* [string][in] */ LPOLESTR pszGroup,
  3981. /* [string][out] */ LPOLESTR *pszDescriptiveText);
  3982. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBackground )(
  3983. IExtendTaskPad * This,
  3984. /* [string][in] */ LPOLESTR pszGroup,
  3985. /* [out] */ MMC_TASK_DISPLAY_OBJECT *pTDO);
  3986. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetListPadInfo )(
  3987. IExtendTaskPad * This,
  3988. /* [string][in] */ LPOLESTR pszGroup,
  3989. /* [out] */ MMC_LISTPAD_INFO *lpListPadInfo);
  3990. END_INTERFACE
  3991. } IExtendTaskPadVtbl;
  3992. interface IExtendTaskPad
  3993. {
  3994. CONST_VTBL struct IExtendTaskPadVtbl *lpVtbl;
  3995. };
  3996. #ifdef COBJMACROS
  3997. #define IExtendTaskPad_QueryInterface(This,riid,ppvObject) \
  3998. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3999. #define IExtendTaskPad_AddRef(This) \
  4000. (This)->lpVtbl -> AddRef(This)
  4001. #define IExtendTaskPad_Release(This) \
  4002. (This)->lpVtbl -> Release(This)
  4003. #define IExtendTaskPad_TaskNotify(This,pdo,arg,param) \
  4004. (This)->lpVtbl -> TaskNotify(This,pdo,arg,param)
  4005. #define IExtendTaskPad_EnumTasks(This,pdo,szTaskGroup,ppEnumTASK) \
  4006. (This)->lpVtbl -> EnumTasks(This,pdo,szTaskGroup,ppEnumTASK)
  4007. #define IExtendTaskPad_GetTitle(This,pszGroup,pszTitle) \
  4008. (This)->lpVtbl -> GetTitle(This,pszGroup,pszTitle)
  4009. #define IExtendTaskPad_GetDescriptiveText(This,pszGroup,pszDescriptiveText) \
  4010. (This)->lpVtbl -> GetDescriptiveText(This,pszGroup,pszDescriptiveText)
  4011. #define IExtendTaskPad_GetBackground(This,pszGroup,pTDO) \
  4012. (This)->lpVtbl -> GetBackground(This,pszGroup,pTDO)
  4013. #define IExtendTaskPad_GetListPadInfo(This,pszGroup,lpListPadInfo) \
  4014. (This)->lpVtbl -> GetListPadInfo(This,pszGroup,lpListPadInfo)
  4015. #endif /* COBJMACROS */
  4016. #endif /* C style interface */
  4017. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendTaskPad_TaskNotify_Proxy(
  4018. IExtendTaskPad * This,
  4019. /* [in] */ IDataObject *pdo,
  4020. /* [in] */ VARIANT *arg,
  4021. /* [in] */ VARIANT *param);
  4022. void __RPC_STUB IExtendTaskPad_TaskNotify_Stub(
  4023. IRpcStubBuffer *This,
  4024. IRpcChannelBuffer *_pRpcChannelBuffer,
  4025. PRPC_MESSAGE _pRpcMessage,
  4026. DWORD *_pdwStubPhase);
  4027. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendTaskPad_EnumTasks_Proxy(
  4028. IExtendTaskPad * This,
  4029. /* [in] */ IDataObject *pdo,
  4030. /* [string][in] */ LPOLESTR szTaskGroup,
  4031. /* [out] */ IEnumTASK **ppEnumTASK);
  4032. void __RPC_STUB IExtendTaskPad_EnumTasks_Stub(
  4033. IRpcStubBuffer *This,
  4034. IRpcChannelBuffer *_pRpcChannelBuffer,
  4035. PRPC_MESSAGE _pRpcMessage,
  4036. DWORD *_pdwStubPhase);
  4037. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendTaskPad_GetTitle_Proxy(
  4038. IExtendTaskPad * This,
  4039. /* [string][in] */ LPOLESTR pszGroup,
  4040. /* [string][out] */ LPOLESTR *pszTitle);
  4041. void __RPC_STUB IExtendTaskPad_GetTitle_Stub(
  4042. IRpcStubBuffer *This,
  4043. IRpcChannelBuffer *_pRpcChannelBuffer,
  4044. PRPC_MESSAGE _pRpcMessage,
  4045. DWORD *_pdwStubPhase);
  4046. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendTaskPad_GetDescriptiveText_Proxy(
  4047. IExtendTaskPad * This,
  4048. /* [string][in] */ LPOLESTR pszGroup,
  4049. /* [string][out] */ LPOLESTR *pszDescriptiveText);
  4050. void __RPC_STUB IExtendTaskPad_GetDescriptiveText_Stub(
  4051. IRpcStubBuffer *This,
  4052. IRpcChannelBuffer *_pRpcChannelBuffer,
  4053. PRPC_MESSAGE _pRpcMessage,
  4054. DWORD *_pdwStubPhase);
  4055. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendTaskPad_GetBackground_Proxy(
  4056. IExtendTaskPad * This,
  4057. /* [string][in] */ LPOLESTR pszGroup,
  4058. /* [out] */ MMC_TASK_DISPLAY_OBJECT *pTDO);
  4059. void __RPC_STUB IExtendTaskPad_GetBackground_Stub(
  4060. IRpcStubBuffer *This,
  4061. IRpcChannelBuffer *_pRpcChannelBuffer,
  4062. PRPC_MESSAGE _pRpcMessage,
  4063. DWORD *_pdwStubPhase);
  4064. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendTaskPad_GetListPadInfo_Proxy(
  4065. IExtendTaskPad * This,
  4066. /* [string][in] */ LPOLESTR pszGroup,
  4067. /* [out] */ MMC_LISTPAD_INFO *lpListPadInfo);
  4068. void __RPC_STUB IExtendTaskPad_GetListPadInfo_Stub(
  4069. IRpcStubBuffer *This,
  4070. IRpcChannelBuffer *_pRpcChannelBuffer,
  4071. PRPC_MESSAGE _pRpcMessage,
  4072. DWORD *_pdwStubPhase);
  4073. #endif /* __IExtendTaskPad_INTERFACE_DEFINED__ */
  4074. #ifndef __IConsole2_INTERFACE_DEFINED__
  4075. #define __IConsole2_INTERFACE_DEFINED__
  4076. /* interface IConsole2 */
  4077. /* [unique][helpstring][uuid][object] */
  4078. EXTERN_C const IID IID_IConsole2;
  4079. #if defined(__cplusplus) && !defined(CINTERFACE)
  4080. MIDL_INTERFACE("103D842A-AA63-11D1-A7E1-00C04FD8D565")
  4081. IConsole2 : public IConsole
  4082. {
  4083. public:
  4084. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Expand(
  4085. /* [in] */ HSCOPEITEM hItem,
  4086. /* [in] */ BOOL bExpand) = 0;
  4087. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsTaskpadViewPreferred( void) = 0;
  4088. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStatusText(
  4089. /* [string][in] */ LPOLESTR pszStatusText) = 0;
  4090. };
  4091. #else /* C style interface */
  4092. typedef struct IConsole2Vtbl
  4093. {
  4094. BEGIN_INTERFACE
  4095. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4096. IConsole2 * This,
  4097. /* [in] */ REFIID riid,
  4098. /* [iid_is][out] */ void **ppvObject);
  4099. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4100. IConsole2 * This);
  4101. ULONG ( STDMETHODCALLTYPE *Release )(
  4102. IConsole2 * This);
  4103. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetHeader )(
  4104. IConsole2 * This,
  4105. /* [in] */ LPHEADERCTRL pHeader);
  4106. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetToolbar )(
  4107. IConsole2 * This,
  4108. /* [in] */ LPTOOLBAR pToolbar);
  4109. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryResultView )(
  4110. IConsole2 * This,
  4111. /* [out] */ LPUNKNOWN *pUnknown);
  4112. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryScopeImageList )(
  4113. IConsole2 * This,
  4114. /* [out] */ LPIMAGELIST *ppImageList);
  4115. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryResultImageList )(
  4116. IConsole2 * This,
  4117. /* [out] */ LPIMAGELIST *ppImageList);
  4118. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdateAllViews )(
  4119. IConsole2 * This,
  4120. /* [in] */ LPDATAOBJECT lpDataObject,
  4121. /* [in] */ LPARAM data,
  4122. /* [in] */ LONG_PTR hint);
  4123. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *MessageBox )(
  4124. IConsole2 * This,
  4125. /* [in] */ LPCWSTR lpszText,
  4126. /* [in] */ LPCWSTR lpszTitle,
  4127. /* [in] */ UINT fuStyle,
  4128. /* [out] */ int *piRetval);
  4129. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryConsoleVerb )(
  4130. IConsole2 * This,
  4131. /* [out] */ LPCONSOLEVERB *ppConsoleVerb);
  4132. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SelectScopeItem )(
  4133. IConsole2 * This,
  4134. /* [in] */ HSCOPEITEM hScopeItem);
  4135. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMainWindow )(
  4136. IConsole2 * This,
  4137. /* [out] */ HWND *phwnd);
  4138. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NewWindow )(
  4139. IConsole2 * This,
  4140. /* [in] */ HSCOPEITEM hScopeItem,
  4141. /* [in] */ unsigned long lOptions);
  4142. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Expand )(
  4143. IConsole2 * This,
  4144. /* [in] */ HSCOPEITEM hItem,
  4145. /* [in] */ BOOL bExpand);
  4146. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsTaskpadViewPreferred )(
  4147. IConsole2 * This);
  4148. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStatusText )(
  4149. IConsole2 * This,
  4150. /* [string][in] */ LPOLESTR pszStatusText);
  4151. END_INTERFACE
  4152. } IConsole2Vtbl;
  4153. interface IConsole2
  4154. {
  4155. CONST_VTBL struct IConsole2Vtbl *lpVtbl;
  4156. };
  4157. #ifdef COBJMACROS
  4158. #define IConsole2_QueryInterface(This,riid,ppvObject) \
  4159. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4160. #define IConsole2_AddRef(This) \
  4161. (This)->lpVtbl -> AddRef(This)
  4162. #define IConsole2_Release(This) \
  4163. (This)->lpVtbl -> Release(This)
  4164. #define IConsole2_SetHeader(This,pHeader) \
  4165. (This)->lpVtbl -> SetHeader(This,pHeader)
  4166. #define IConsole2_SetToolbar(This,pToolbar) \
  4167. (This)->lpVtbl -> SetToolbar(This,pToolbar)
  4168. #define IConsole2_QueryResultView(This,pUnknown) \
  4169. (This)->lpVtbl -> QueryResultView(This,pUnknown)
  4170. #define IConsole2_QueryScopeImageList(This,ppImageList) \
  4171. (This)->lpVtbl -> QueryScopeImageList(This,ppImageList)
  4172. #define IConsole2_QueryResultImageList(This,ppImageList) \
  4173. (This)->lpVtbl -> QueryResultImageList(This,ppImageList)
  4174. #define IConsole2_UpdateAllViews(This,lpDataObject,data,hint) \
  4175. (This)->lpVtbl -> UpdateAllViews(This,lpDataObject,data,hint)
  4176. #define IConsole2_MessageBox(This,lpszText,lpszTitle,fuStyle,piRetval) \
  4177. (This)->lpVtbl -> MessageBox(This,lpszText,lpszTitle,fuStyle,piRetval)
  4178. #define IConsole2_QueryConsoleVerb(This,ppConsoleVerb) \
  4179. (This)->lpVtbl -> QueryConsoleVerb(This,ppConsoleVerb)
  4180. #define IConsole2_SelectScopeItem(This,hScopeItem) \
  4181. (This)->lpVtbl -> SelectScopeItem(This,hScopeItem)
  4182. #define IConsole2_GetMainWindow(This,phwnd) \
  4183. (This)->lpVtbl -> GetMainWindow(This,phwnd)
  4184. #define IConsole2_NewWindow(This,hScopeItem,lOptions) \
  4185. (This)->lpVtbl -> NewWindow(This,hScopeItem,lOptions)
  4186. #define IConsole2_Expand(This,hItem,bExpand) \
  4187. (This)->lpVtbl -> Expand(This,hItem,bExpand)
  4188. #define IConsole2_IsTaskpadViewPreferred(This) \
  4189. (This)->lpVtbl -> IsTaskpadViewPreferred(This)
  4190. #define IConsole2_SetStatusText(This,pszStatusText) \
  4191. (This)->lpVtbl -> SetStatusText(This,pszStatusText)
  4192. #endif /* COBJMACROS */
  4193. #endif /* C style interface */
  4194. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole2_Expand_Proxy(
  4195. IConsole2 * This,
  4196. /* [in] */ HSCOPEITEM hItem,
  4197. /* [in] */ BOOL bExpand);
  4198. void __RPC_STUB IConsole2_Expand_Stub(
  4199. IRpcStubBuffer *This,
  4200. IRpcChannelBuffer *_pRpcChannelBuffer,
  4201. PRPC_MESSAGE _pRpcMessage,
  4202. DWORD *_pdwStubPhase);
  4203. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole2_IsTaskpadViewPreferred_Proxy(
  4204. IConsole2 * This);
  4205. void __RPC_STUB IConsole2_IsTaskpadViewPreferred_Stub(
  4206. IRpcStubBuffer *This,
  4207. IRpcChannelBuffer *_pRpcChannelBuffer,
  4208. PRPC_MESSAGE _pRpcMessage,
  4209. DWORD *_pdwStubPhase);
  4210. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole2_SetStatusText_Proxy(
  4211. IConsole2 * This,
  4212. /* [string][in] */ LPOLESTR pszStatusText);
  4213. void __RPC_STUB IConsole2_SetStatusText_Stub(
  4214. IRpcStubBuffer *This,
  4215. IRpcChannelBuffer *_pRpcChannelBuffer,
  4216. PRPC_MESSAGE _pRpcMessage,
  4217. DWORD *_pdwStubPhase);
  4218. #endif /* __IConsole2_INTERFACE_DEFINED__ */
  4219. #ifndef __IDisplayHelp_INTERFACE_DEFINED__
  4220. #define __IDisplayHelp_INTERFACE_DEFINED__
  4221. /* interface IDisplayHelp */
  4222. /* [unique][helpstring][uuid][object] */
  4223. EXTERN_C const IID IID_IDisplayHelp;
  4224. #if defined(__cplusplus) && !defined(CINTERFACE)
  4225. MIDL_INTERFACE("cc593830-b926-11d1-8063-0000f875a9ce")
  4226. IDisplayHelp : public IUnknown
  4227. {
  4228. public:
  4229. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShowTopic(
  4230. /* [in] */ LPOLESTR pszHelpTopic) = 0;
  4231. };
  4232. #else /* C style interface */
  4233. typedef struct IDisplayHelpVtbl
  4234. {
  4235. BEGIN_INTERFACE
  4236. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4237. IDisplayHelp * This,
  4238. /* [in] */ REFIID riid,
  4239. /* [iid_is][out] */ void **ppvObject);
  4240. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4241. IDisplayHelp * This);
  4242. ULONG ( STDMETHODCALLTYPE *Release )(
  4243. IDisplayHelp * This);
  4244. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShowTopic )(
  4245. IDisplayHelp * This,
  4246. /* [in] */ LPOLESTR pszHelpTopic);
  4247. END_INTERFACE
  4248. } IDisplayHelpVtbl;
  4249. interface IDisplayHelp
  4250. {
  4251. CONST_VTBL struct IDisplayHelpVtbl *lpVtbl;
  4252. };
  4253. #ifdef COBJMACROS
  4254. #define IDisplayHelp_QueryInterface(This,riid,ppvObject) \
  4255. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4256. #define IDisplayHelp_AddRef(This) \
  4257. (This)->lpVtbl -> AddRef(This)
  4258. #define IDisplayHelp_Release(This) \
  4259. (This)->lpVtbl -> Release(This)
  4260. #define IDisplayHelp_ShowTopic(This,pszHelpTopic) \
  4261. (This)->lpVtbl -> ShowTopic(This,pszHelpTopic)
  4262. #endif /* COBJMACROS */
  4263. #endif /* C style interface */
  4264. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDisplayHelp_ShowTopic_Proxy(
  4265. IDisplayHelp * This,
  4266. /* [in] */ LPOLESTR pszHelpTopic);
  4267. void __RPC_STUB IDisplayHelp_ShowTopic_Stub(
  4268. IRpcStubBuffer *This,
  4269. IRpcChannelBuffer *_pRpcChannelBuffer,
  4270. PRPC_MESSAGE _pRpcMessage,
  4271. DWORD *_pdwStubPhase);
  4272. #endif /* __IDisplayHelp_INTERFACE_DEFINED__ */
  4273. #ifndef __IRequiredExtensions_INTERFACE_DEFINED__
  4274. #define __IRequiredExtensions_INTERFACE_DEFINED__
  4275. /* interface IRequiredExtensions */
  4276. /* [unique][helpstring][uuid][object][local] */
  4277. EXTERN_C const IID IID_IRequiredExtensions;
  4278. #if defined(__cplusplus) && !defined(CINTERFACE)
  4279. MIDL_INTERFACE("72782D7A-A4A0-11d1-AF0F-00C04FB6DD2C")
  4280. IRequiredExtensions : public IUnknown
  4281. {
  4282. public:
  4283. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnableAllExtensions( void) = 0;
  4284. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetFirstExtension(
  4285. /* [out] */ LPCLSID pExtCLSID) = 0;
  4286. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNextExtension(
  4287. /* [out] */ LPCLSID pExtCLSID) = 0;
  4288. };
  4289. #else /* C style interface */
  4290. typedef struct IRequiredExtensionsVtbl
  4291. {
  4292. BEGIN_INTERFACE
  4293. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4294. IRequiredExtensions * This,
  4295. /* [in] */ REFIID riid,
  4296. /* [iid_is][out] */ void **ppvObject);
  4297. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4298. IRequiredExtensions * This);
  4299. ULONG ( STDMETHODCALLTYPE *Release )(
  4300. IRequiredExtensions * This);
  4301. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnableAllExtensions )(
  4302. IRequiredExtensions * This);
  4303. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetFirstExtension )(
  4304. IRequiredExtensions * This,
  4305. /* [out] */ LPCLSID pExtCLSID);
  4306. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNextExtension )(
  4307. IRequiredExtensions * This,
  4308. /* [out] */ LPCLSID pExtCLSID);
  4309. END_INTERFACE
  4310. } IRequiredExtensionsVtbl;
  4311. interface IRequiredExtensions
  4312. {
  4313. CONST_VTBL struct IRequiredExtensionsVtbl *lpVtbl;
  4314. };
  4315. #ifdef COBJMACROS
  4316. #define IRequiredExtensions_QueryInterface(This,riid,ppvObject) \
  4317. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4318. #define IRequiredExtensions_AddRef(This) \
  4319. (This)->lpVtbl -> AddRef(This)
  4320. #define IRequiredExtensions_Release(This) \
  4321. (This)->lpVtbl -> Release(This)
  4322. #define IRequiredExtensions_EnableAllExtensions(This) \
  4323. (This)->lpVtbl -> EnableAllExtensions(This)
  4324. #define IRequiredExtensions_GetFirstExtension(This,pExtCLSID) \
  4325. (This)->lpVtbl -> GetFirstExtension(This,pExtCLSID)
  4326. #define IRequiredExtensions_GetNextExtension(This,pExtCLSID) \
  4327. (This)->lpVtbl -> GetNextExtension(This,pExtCLSID)
  4328. #endif /* COBJMACROS */
  4329. #endif /* C style interface */
  4330. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRequiredExtensions_EnableAllExtensions_Proxy(
  4331. IRequiredExtensions * This);
  4332. void __RPC_STUB IRequiredExtensions_EnableAllExtensions_Stub(
  4333. IRpcStubBuffer *This,
  4334. IRpcChannelBuffer *_pRpcChannelBuffer,
  4335. PRPC_MESSAGE _pRpcMessage,
  4336. DWORD *_pdwStubPhase);
  4337. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRequiredExtensions_GetFirstExtension_Proxy(
  4338. IRequiredExtensions * This,
  4339. /* [out] */ LPCLSID pExtCLSID);
  4340. void __RPC_STUB IRequiredExtensions_GetFirstExtension_Stub(
  4341. IRpcStubBuffer *This,
  4342. IRpcChannelBuffer *_pRpcChannelBuffer,
  4343. PRPC_MESSAGE _pRpcMessage,
  4344. DWORD *_pdwStubPhase);
  4345. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRequiredExtensions_GetNextExtension_Proxy(
  4346. IRequiredExtensions * This,
  4347. /* [out] */ LPCLSID pExtCLSID);
  4348. void __RPC_STUB IRequiredExtensions_GetNextExtension_Stub(
  4349. IRpcStubBuffer *This,
  4350. IRpcChannelBuffer *_pRpcChannelBuffer,
  4351. PRPC_MESSAGE _pRpcMessage,
  4352. DWORD *_pdwStubPhase);
  4353. #endif /* __IRequiredExtensions_INTERFACE_DEFINED__ */
  4354. #ifndef __IStringTable_INTERFACE_DEFINED__
  4355. #define __IStringTable_INTERFACE_DEFINED__
  4356. /* interface IStringTable */
  4357. /* [unique][helpstring][uuid][object] */
  4358. EXTERN_C const IID IID_IStringTable;
  4359. #if defined(__cplusplus) && !defined(CINTERFACE)
  4360. MIDL_INTERFACE("DE40B7A4-0F65-11d2-8E25-00C04F8ECD78")
  4361. IStringTable : public IUnknown
  4362. {
  4363. public:
  4364. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddString(
  4365. /* [in] */ LPCOLESTR pszAdd,
  4366. /* [out] */ MMC_STRING_ID *pStringID) = 0;
  4367. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetString(
  4368. /* [in] */ MMC_STRING_ID StringID,
  4369. /* [in] */ ULONG cchBuffer,
  4370. /* [size_is][out] */ LPOLESTR lpBuffer,
  4371. /* [out] */ ULONG *pcchOut) = 0;
  4372. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStringLength(
  4373. /* [in] */ MMC_STRING_ID StringID,
  4374. /* [out] */ ULONG *pcchString) = 0;
  4375. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteString(
  4376. /* [in] */ MMC_STRING_ID StringID) = 0;
  4377. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteAllStrings( void) = 0;
  4378. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindString(
  4379. /* [in] */ LPCOLESTR pszFind,
  4380. /* [out] */ MMC_STRING_ID *pStringID) = 0;
  4381. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Enumerate(
  4382. /* [out] */ IEnumString **ppEnum) = 0;
  4383. };
  4384. #else /* C style interface */
  4385. typedef struct IStringTableVtbl
  4386. {
  4387. BEGIN_INTERFACE
  4388. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4389. IStringTable * This,
  4390. /* [in] */ REFIID riid,
  4391. /* [iid_is][out] */ void **ppvObject);
  4392. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4393. IStringTable * This);
  4394. ULONG ( STDMETHODCALLTYPE *Release )(
  4395. IStringTable * This);
  4396. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddString )(
  4397. IStringTable * This,
  4398. /* [in] */ LPCOLESTR pszAdd,
  4399. /* [out] */ MMC_STRING_ID *pStringID);
  4400. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetString )(
  4401. IStringTable * This,
  4402. /* [in] */ MMC_STRING_ID StringID,
  4403. /* [in] */ ULONG cchBuffer,
  4404. /* [size_is][out] */ LPOLESTR lpBuffer,
  4405. /* [out] */ ULONG *pcchOut);
  4406. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStringLength )(
  4407. IStringTable * This,
  4408. /* [in] */ MMC_STRING_ID StringID,
  4409. /* [out] */ ULONG *pcchString);
  4410. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteString )(
  4411. IStringTable * This,
  4412. /* [in] */ MMC_STRING_ID StringID);
  4413. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteAllStrings )(
  4414. IStringTable * This);
  4415. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindString )(
  4416. IStringTable * This,
  4417. /* [in] */ LPCOLESTR pszFind,
  4418. /* [out] */ MMC_STRING_ID *pStringID);
  4419. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Enumerate )(
  4420. IStringTable * This,
  4421. /* [out] */ IEnumString **ppEnum);
  4422. END_INTERFACE
  4423. } IStringTableVtbl;
  4424. interface IStringTable
  4425. {
  4426. CONST_VTBL struct IStringTableVtbl *lpVtbl;
  4427. };
  4428. #ifdef COBJMACROS
  4429. #define IStringTable_QueryInterface(This,riid,ppvObject) \
  4430. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4431. #define IStringTable_AddRef(This) \
  4432. (This)->lpVtbl -> AddRef(This)
  4433. #define IStringTable_Release(This) \
  4434. (This)->lpVtbl -> Release(This)
  4435. #define IStringTable_AddString(This,pszAdd,pStringID) \
  4436. (This)->lpVtbl -> AddString(This,pszAdd,pStringID)
  4437. #define IStringTable_GetString(This,StringID,cchBuffer,lpBuffer,pcchOut) \
  4438. (This)->lpVtbl -> GetString(This,StringID,cchBuffer,lpBuffer,pcchOut)
  4439. #define IStringTable_GetStringLength(This,StringID,pcchString) \
  4440. (This)->lpVtbl -> GetStringLength(This,StringID,pcchString)
  4441. #define IStringTable_DeleteString(This,StringID) \
  4442. (This)->lpVtbl -> DeleteString(This,StringID)
  4443. #define IStringTable_DeleteAllStrings(This) \
  4444. (This)->lpVtbl -> DeleteAllStrings(This)
  4445. #define IStringTable_FindString(This,pszFind,pStringID) \
  4446. (This)->lpVtbl -> FindString(This,pszFind,pStringID)
  4447. #define IStringTable_Enumerate(This,ppEnum) \
  4448. (This)->lpVtbl -> Enumerate(This,ppEnum)
  4449. #endif /* COBJMACROS */
  4450. #endif /* C style interface */
  4451. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IStringTable_AddString_Proxy(
  4452. IStringTable * This,
  4453. /* [in] */ LPCOLESTR pszAdd,
  4454. /* [out] */ MMC_STRING_ID *pStringID);
  4455. void __RPC_STUB IStringTable_AddString_Stub(
  4456. IRpcStubBuffer *This,
  4457. IRpcChannelBuffer *_pRpcChannelBuffer,
  4458. PRPC_MESSAGE _pRpcMessage,
  4459. DWORD *_pdwStubPhase);
  4460. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IStringTable_GetString_Proxy(
  4461. IStringTable * This,
  4462. /* [in] */ MMC_STRING_ID StringID,
  4463. /* [in] */ ULONG cchBuffer,
  4464. /* [size_is][out] */ LPOLESTR lpBuffer,
  4465. /* [out] */ ULONG *pcchOut);
  4466. void __RPC_STUB IStringTable_GetString_Stub(
  4467. IRpcStubBuffer *This,
  4468. IRpcChannelBuffer *_pRpcChannelBuffer,
  4469. PRPC_MESSAGE _pRpcMessage,
  4470. DWORD *_pdwStubPhase);
  4471. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IStringTable_GetStringLength_Proxy(
  4472. IStringTable * This,
  4473. /* [in] */ MMC_STRING_ID StringID,
  4474. /* [out] */ ULONG *pcchString);
  4475. void __RPC_STUB IStringTable_GetStringLength_Stub(
  4476. IRpcStubBuffer *This,
  4477. IRpcChannelBuffer *_pRpcChannelBuffer,
  4478. PRPC_MESSAGE _pRpcMessage,
  4479. DWORD *_pdwStubPhase);
  4480. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IStringTable_DeleteString_Proxy(
  4481. IStringTable * This,
  4482. /* [in] */ MMC_STRING_ID StringID);
  4483. void __RPC_STUB IStringTable_DeleteString_Stub(
  4484. IRpcStubBuffer *This,
  4485. IRpcChannelBuffer *_pRpcChannelBuffer,
  4486. PRPC_MESSAGE _pRpcMessage,
  4487. DWORD *_pdwStubPhase);
  4488. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IStringTable_DeleteAllStrings_Proxy(
  4489. IStringTable * This);
  4490. void __RPC_STUB IStringTable_DeleteAllStrings_Stub(
  4491. IRpcStubBuffer *This,
  4492. IRpcChannelBuffer *_pRpcChannelBuffer,
  4493. PRPC_MESSAGE _pRpcMessage,
  4494. DWORD *_pdwStubPhase);
  4495. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IStringTable_FindString_Proxy(
  4496. IStringTable * This,
  4497. /* [in] */ LPCOLESTR pszFind,
  4498. /* [out] */ MMC_STRING_ID *pStringID);
  4499. void __RPC_STUB IStringTable_FindString_Stub(
  4500. IRpcStubBuffer *This,
  4501. IRpcChannelBuffer *_pRpcChannelBuffer,
  4502. PRPC_MESSAGE _pRpcMessage,
  4503. DWORD *_pdwStubPhase);
  4504. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IStringTable_Enumerate_Proxy(
  4505. IStringTable * This,
  4506. /* [out] */ IEnumString **ppEnum);
  4507. void __RPC_STUB IStringTable_Enumerate_Stub(
  4508. IRpcStubBuffer *This,
  4509. IRpcChannelBuffer *_pRpcChannelBuffer,
  4510. PRPC_MESSAGE _pRpcMessage,
  4511. DWORD *_pdwStubPhase);
  4512. #endif /* __IStringTable_INTERFACE_DEFINED__ */
  4513. /* interface __MIDL_itf_mmc_0148 */
  4514. /* [local] */
  4515. #endif // MMC_VER >= 0x0110
  4516. #if (MMC_VER >= 0x0120)
  4517. #define HDI_HIDDEN ( 0x1 )
  4518. typedef struct _MMC_COLUMN_DATA
  4519. {
  4520. int nColIndex;
  4521. DWORD dwFlags;
  4522. int nWidth;
  4523. ULONG_PTR ulReserved;
  4524. } MMC_COLUMN_DATA;
  4525. typedef struct _MMC_COLUMN_SET_DATA
  4526. {
  4527. int cbSize;
  4528. int nNumCols;
  4529. MMC_COLUMN_DATA *pColData;
  4530. } MMC_COLUMN_SET_DATA;
  4531. typedef struct _MMC_SORT_DATA
  4532. {
  4533. int nColIndex;
  4534. DWORD dwSortOptions;
  4535. ULONG_PTR ulReserved;
  4536. } MMC_SORT_DATA;
  4537. typedef struct _MMC_SORT_SET_DATA
  4538. {
  4539. int cbSize;
  4540. int nNumItems;
  4541. MMC_SORT_DATA *pSortData;
  4542. } MMC_SORT_SET_DATA;
  4543. extern RPC_IF_HANDLE __MIDL_itf_mmc_0148_v0_0_c_ifspec;
  4544. extern RPC_IF_HANDLE __MIDL_itf_mmc_0148_v0_0_s_ifspec;
  4545. #ifndef __IColumnData_INTERFACE_DEFINED__
  4546. #define __IColumnData_INTERFACE_DEFINED__
  4547. /* interface IColumnData */
  4548. /* [unique][helpstring][uuid][object] */
  4549. EXTERN_C const IID IID_IColumnData;
  4550. #if defined(__cplusplus) && !defined(CINTERFACE)
  4551. MIDL_INTERFACE("547C1354-024D-11d3-A707-00C04F8EF4CB")
  4552. IColumnData : public IUnknown
  4553. {
  4554. public:
  4555. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetColumnConfigData(
  4556. /* [in] */ SColumnSetID *pColID,
  4557. /* [in] */ MMC_COLUMN_SET_DATA *pColSetData) = 0;
  4558. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetColumnConfigData(
  4559. /* [in] */ SColumnSetID *pColID,
  4560. /* [out] */ MMC_COLUMN_SET_DATA **ppColSetData) = 0;
  4561. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetColumnSortData(
  4562. /* [in] */ SColumnSetID *pColID,
  4563. /* [in] */ MMC_SORT_SET_DATA *pColSortData) = 0;
  4564. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetColumnSortData(
  4565. /* [in] */ SColumnSetID *pColID,
  4566. /* [out] */ MMC_SORT_SET_DATA **ppColSortData) = 0;
  4567. };
  4568. #else /* C style interface */
  4569. typedef struct IColumnDataVtbl
  4570. {
  4571. BEGIN_INTERFACE
  4572. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4573. IColumnData * This,
  4574. /* [in] */ REFIID riid,
  4575. /* [iid_is][out] */ void **ppvObject);
  4576. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4577. IColumnData * This);
  4578. ULONG ( STDMETHODCALLTYPE *Release )(
  4579. IColumnData * This);
  4580. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnConfigData )(
  4581. IColumnData * This,
  4582. /* [in] */ SColumnSetID *pColID,
  4583. /* [in] */ MMC_COLUMN_SET_DATA *pColSetData);
  4584. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnConfigData )(
  4585. IColumnData * This,
  4586. /* [in] */ SColumnSetID *pColID,
  4587. /* [out] */ MMC_COLUMN_SET_DATA **ppColSetData);
  4588. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnSortData )(
  4589. IColumnData * This,
  4590. /* [in] */ SColumnSetID *pColID,
  4591. /* [in] */ MMC_SORT_SET_DATA *pColSortData);
  4592. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnSortData )(
  4593. IColumnData * This,
  4594. /* [in] */ SColumnSetID *pColID,
  4595. /* [out] */ MMC_SORT_SET_DATA **ppColSortData);
  4596. END_INTERFACE
  4597. } IColumnDataVtbl;
  4598. interface IColumnData
  4599. {
  4600. CONST_VTBL struct IColumnDataVtbl *lpVtbl;
  4601. };
  4602. #ifdef COBJMACROS
  4603. #define IColumnData_QueryInterface(This,riid,ppvObject) \
  4604. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4605. #define IColumnData_AddRef(This) \
  4606. (This)->lpVtbl -> AddRef(This)
  4607. #define IColumnData_Release(This) \
  4608. (This)->lpVtbl -> Release(This)
  4609. #define IColumnData_SetColumnConfigData(This,pColID,pColSetData) \
  4610. (This)->lpVtbl -> SetColumnConfigData(This,pColID,pColSetData)
  4611. #define IColumnData_GetColumnConfigData(This,pColID,ppColSetData) \
  4612. (This)->lpVtbl -> GetColumnConfigData(This,pColID,ppColSetData)
  4613. #define IColumnData_SetColumnSortData(This,pColID,pColSortData) \
  4614. (This)->lpVtbl -> SetColumnSortData(This,pColID,pColSortData)
  4615. #define IColumnData_GetColumnSortData(This,pColID,ppColSortData) \
  4616. (This)->lpVtbl -> GetColumnSortData(This,pColID,ppColSortData)
  4617. #endif /* COBJMACROS */
  4618. #endif /* C style interface */
  4619. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IColumnData_SetColumnConfigData_Proxy(
  4620. IColumnData * This,
  4621. /* [in] */ SColumnSetID *pColID,
  4622. /* [in] */ MMC_COLUMN_SET_DATA *pColSetData);
  4623. void __RPC_STUB IColumnData_SetColumnConfigData_Stub(
  4624. IRpcStubBuffer *This,
  4625. IRpcChannelBuffer *_pRpcChannelBuffer,
  4626. PRPC_MESSAGE _pRpcMessage,
  4627. DWORD *_pdwStubPhase);
  4628. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IColumnData_GetColumnConfigData_Proxy(
  4629. IColumnData * This,
  4630. /* [in] */ SColumnSetID *pColID,
  4631. /* [out] */ MMC_COLUMN_SET_DATA **ppColSetData);
  4632. void __RPC_STUB IColumnData_GetColumnConfigData_Stub(
  4633. IRpcStubBuffer *This,
  4634. IRpcChannelBuffer *_pRpcChannelBuffer,
  4635. PRPC_MESSAGE _pRpcMessage,
  4636. DWORD *_pdwStubPhase);
  4637. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IColumnData_SetColumnSortData_Proxy(
  4638. IColumnData * This,
  4639. /* [in] */ SColumnSetID *pColID,
  4640. /* [in] */ MMC_SORT_SET_DATA *pColSortData);
  4641. void __RPC_STUB IColumnData_SetColumnSortData_Stub(
  4642. IRpcStubBuffer *This,
  4643. IRpcChannelBuffer *_pRpcChannelBuffer,
  4644. PRPC_MESSAGE _pRpcMessage,
  4645. DWORD *_pdwStubPhase);
  4646. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IColumnData_GetColumnSortData_Proxy(
  4647. IColumnData * This,
  4648. /* [in] */ SColumnSetID *pColID,
  4649. /* [out] */ MMC_SORT_SET_DATA **ppColSortData);
  4650. void __RPC_STUB IColumnData_GetColumnSortData_Stub(
  4651. IRpcStubBuffer *This,
  4652. IRpcChannelBuffer *_pRpcChannelBuffer,
  4653. PRPC_MESSAGE _pRpcMessage,
  4654. DWORD *_pdwStubPhase);
  4655. #endif /* __IColumnData_INTERFACE_DEFINED__ */
  4656. #ifndef __IMessageView_INTERFACE_DEFINED__
  4657. #define __IMessageView_INTERFACE_DEFINED__
  4658. /* interface IMessageView */
  4659. /* [unique][helpstring][uuid][object] */
  4660. typedef
  4661. enum tagIconIdentifier
  4662. { Icon_None = 0,
  4663. Icon_Error = 32513,
  4664. Icon_Question = 32514,
  4665. Icon_Warning = 32515,
  4666. Icon_Information = 32516,
  4667. Icon_First = Icon_Error,
  4668. Icon_Last = Icon_Information
  4669. } IconIdentifier;
  4670. EXTERN_C const IID IID_IMessageView;
  4671. #if defined(__cplusplus) && !defined(CINTERFACE)
  4672. MIDL_INTERFACE("80F94174-FCCC-11d2-B991-00C04F8ECD78")
  4673. IMessageView : public IUnknown
  4674. {
  4675. public:
  4676. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetTitleText(
  4677. /* [in] */ LPCOLESTR pszTitleText) = 0;
  4678. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetBodyText(
  4679. /* [in] */ LPCOLESTR pszBodyText) = 0;
  4680. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetIcon(
  4681. /* [in] */ IconIdentifier id) = 0;
  4682. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  4683. };
  4684. #else /* C style interface */
  4685. typedef struct IMessageViewVtbl
  4686. {
  4687. BEGIN_INTERFACE
  4688. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4689. IMessageView * This,
  4690. /* [in] */ REFIID riid,
  4691. /* [iid_is][out] */ void **ppvObject);
  4692. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4693. IMessageView * This);
  4694. ULONG ( STDMETHODCALLTYPE *Release )(
  4695. IMessageView * This);
  4696. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetTitleText )(
  4697. IMessageView * This,
  4698. /* [in] */ LPCOLESTR pszTitleText);
  4699. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetBodyText )(
  4700. IMessageView * This,
  4701. /* [in] */ LPCOLESTR pszBodyText);
  4702. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetIcon )(
  4703. IMessageView * This,
  4704. /* [in] */ IconIdentifier id);
  4705. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
  4706. IMessageView * This);
  4707. END_INTERFACE
  4708. } IMessageViewVtbl;
  4709. interface IMessageView
  4710. {
  4711. CONST_VTBL struct IMessageViewVtbl *lpVtbl;
  4712. };
  4713. #ifdef COBJMACROS
  4714. #define IMessageView_QueryInterface(This,riid,ppvObject) \
  4715. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4716. #define IMessageView_AddRef(This) \
  4717. (This)->lpVtbl -> AddRef(This)
  4718. #define IMessageView_Release(This) \
  4719. (This)->lpVtbl -> Release(This)
  4720. #define IMessageView_SetTitleText(This,pszTitleText) \
  4721. (This)->lpVtbl -> SetTitleText(This,pszTitleText)
  4722. #define IMessageView_SetBodyText(This,pszBodyText) \
  4723. (This)->lpVtbl -> SetBodyText(This,pszBodyText)
  4724. #define IMessageView_SetIcon(This,id) \
  4725. (This)->lpVtbl -> SetIcon(This,id)
  4726. #define IMessageView_Clear(This) \
  4727. (This)->lpVtbl -> Clear(This)
  4728. #endif /* COBJMACROS */
  4729. #endif /* C style interface */
  4730. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMessageView_SetTitleText_Proxy(
  4731. IMessageView * This,
  4732. /* [in] */ LPCOLESTR pszTitleText);
  4733. void __RPC_STUB IMessageView_SetTitleText_Stub(
  4734. IRpcStubBuffer *This,
  4735. IRpcChannelBuffer *_pRpcChannelBuffer,
  4736. PRPC_MESSAGE _pRpcMessage,
  4737. DWORD *_pdwStubPhase);
  4738. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMessageView_SetBodyText_Proxy(
  4739. IMessageView * This,
  4740. /* [in] */ LPCOLESTR pszBodyText);
  4741. void __RPC_STUB IMessageView_SetBodyText_Stub(
  4742. IRpcStubBuffer *This,
  4743. IRpcChannelBuffer *_pRpcChannelBuffer,
  4744. PRPC_MESSAGE _pRpcMessage,
  4745. DWORD *_pdwStubPhase);
  4746. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMessageView_SetIcon_Proxy(
  4747. IMessageView * This,
  4748. /* [in] */ IconIdentifier id);
  4749. void __RPC_STUB IMessageView_SetIcon_Stub(
  4750. IRpcStubBuffer *This,
  4751. IRpcChannelBuffer *_pRpcChannelBuffer,
  4752. PRPC_MESSAGE _pRpcMessage,
  4753. DWORD *_pdwStubPhase);
  4754. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMessageView_Clear_Proxy(
  4755. IMessageView * This);
  4756. void __RPC_STUB IMessageView_Clear_Stub(
  4757. IRpcStubBuffer *This,
  4758. IRpcChannelBuffer *_pRpcChannelBuffer,
  4759. PRPC_MESSAGE _pRpcMessage,
  4760. DWORD *_pdwStubPhase);
  4761. #endif /* __IMessageView_INTERFACE_DEFINED__ */
  4762. /* interface __MIDL_itf_mmc_0150 */
  4763. /* [local] */
  4764. typedef struct _RDCITEMHDR
  4765. {
  4766. DWORD dwFlags;
  4767. MMC_COOKIE cookie;
  4768. LPARAM lpReserved;
  4769. } RDITEMHDR;
  4770. #define RDCI_ScopeItem ( 0x80000000 )
  4771. typedef struct _RDCOMPARE
  4772. {
  4773. DWORD cbSize;
  4774. DWORD dwFlags;
  4775. int nColumn;
  4776. LPARAM lUserParam;
  4777. RDITEMHDR *prdch1;
  4778. RDITEMHDR *prdch2;
  4779. } RDCOMPARE;
  4780. extern RPC_IF_HANDLE __MIDL_itf_mmc_0150_v0_0_c_ifspec;
  4781. extern RPC_IF_HANDLE __MIDL_itf_mmc_0150_v0_0_s_ifspec;
  4782. #ifndef __IResultDataCompareEx_INTERFACE_DEFINED__
  4783. #define __IResultDataCompareEx_INTERFACE_DEFINED__
  4784. /* interface IResultDataCompareEx */
  4785. /* [unique][helpstring][uuid][object] */
  4786. EXTERN_C const IID IID_IResultDataCompareEx;
  4787. #if defined(__cplusplus) && !defined(CINTERFACE)
  4788. MIDL_INTERFACE("96933476-0251-11d3-AEB0-00C04F8ECD78")
  4789. IResultDataCompareEx : public IUnknown
  4790. {
  4791. public:
  4792. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Compare(
  4793. /* [in] */ RDCOMPARE *prdc,
  4794. /* [out] */ int *pnResult) = 0;
  4795. };
  4796. #else /* C style interface */
  4797. typedef struct IResultDataCompareExVtbl
  4798. {
  4799. BEGIN_INTERFACE
  4800. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4801. IResultDataCompareEx * This,
  4802. /* [in] */ REFIID riid,
  4803. /* [iid_is][out] */ void **ppvObject);
  4804. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4805. IResultDataCompareEx * This);
  4806. ULONG ( STDMETHODCALLTYPE *Release )(
  4807. IResultDataCompareEx * This);
  4808. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Compare )(
  4809. IResultDataCompareEx * This,
  4810. /* [in] */ RDCOMPARE *prdc,
  4811. /* [out] */ int *pnResult);
  4812. END_INTERFACE
  4813. } IResultDataCompareExVtbl;
  4814. interface IResultDataCompareEx
  4815. {
  4816. CONST_VTBL struct IResultDataCompareExVtbl *lpVtbl;
  4817. };
  4818. #ifdef COBJMACROS
  4819. #define IResultDataCompareEx_QueryInterface(This,riid,ppvObject) \
  4820. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4821. #define IResultDataCompareEx_AddRef(This) \
  4822. (This)->lpVtbl -> AddRef(This)
  4823. #define IResultDataCompareEx_Release(This) \
  4824. (This)->lpVtbl -> Release(This)
  4825. #define IResultDataCompareEx_Compare(This,prdc,pnResult) \
  4826. (This)->lpVtbl -> Compare(This,prdc,pnResult)
  4827. #endif /* COBJMACROS */
  4828. #endif /* C style interface */
  4829. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultDataCompareEx_Compare_Proxy(
  4830. IResultDataCompareEx * This,
  4831. /* [in] */ RDCOMPARE *prdc,
  4832. /* [out] */ int *pnResult);
  4833. void __RPC_STUB IResultDataCompareEx_Compare_Stub(
  4834. IRpcStubBuffer *This,
  4835. IRpcChannelBuffer *_pRpcChannelBuffer,
  4836. PRPC_MESSAGE _pRpcMessage,
  4837. DWORD *_pdwStubPhase);
  4838. #endif /* __IResultDataCompareEx_INTERFACE_DEFINED__ */
  4839. /* interface __MIDL_itf_mmc_0151 */
  4840. /* [local] */
  4841. #endif // MMC_VER >= 0x0120
  4842. #if (MMC_VER >= 0x0200)
  4843. typedef
  4844. enum _MMC_VIEW_TYPE
  4845. { MMC_VIEW_TYPE_LIST = 0,
  4846. MMC_VIEW_TYPE_HTML = MMC_VIEW_TYPE_LIST + 1,
  4847. MMC_VIEW_TYPE_OCX = MMC_VIEW_TYPE_HTML + 1
  4848. } MMC_VIEW_TYPE;
  4849. #define RVTI_MISC_OPTIONS_NOLISTVIEWS ( 0x1 )
  4850. #define RVTI_LIST_OPTIONS_NONE ( 0 )
  4851. #define RVTI_LIST_OPTIONS_OWNERDATALIST ( 0x2 )
  4852. #define RVTI_LIST_OPTIONS_MULTISELECT ( 0x4 )
  4853. #define RVTI_LIST_OPTIONS_FILTERED ( 0x8 )
  4854. #define RVTI_LIST_OPTIONS_USEFONTLINKING ( 0x20 )
  4855. #define RVTI_LIST_OPTIONS_EXCLUDE_SCOPE_ITEMS_FROM_LIST ( 0x40 )
  4856. #define RVTI_LIST_OPTIONS_LEXICAL_SORT ( 0x80 )
  4857. #define RVTI_LIST_OPTIONS_ALLOWPASTE ( 0x100 )
  4858. #define RVTI_HTML_OPTIONS_NONE ( 0 )
  4859. #define RVTI_HTML_OPTIONS_NOLISTVIEW ( 0x1 )
  4860. #define RVTI_OCX_OPTIONS_NONE ( 0 )
  4861. #define RVTI_OCX_OPTIONS_NOLISTVIEW ( 0x1 )
  4862. #define RVTI_OCX_OPTIONS_CACHE_OCX ( 0x2 )
  4863. typedef struct _RESULT_VIEW_TYPE_INFO
  4864. {
  4865. LPOLESTR pstrPersistableViewDescription;
  4866. MMC_VIEW_TYPE eViewType;
  4867. DWORD dwMiscOptions;
  4868. /* [switch_is][switch_type] */ union
  4869. {
  4870. /* [case()] */ DWORD dwListOptions;
  4871. /* [case()] */ struct
  4872. {
  4873. DWORD dwHTMLOptions;
  4874. LPOLESTR pstrURL;
  4875. } ;
  4876. /* [case()] */ struct
  4877. {
  4878. DWORD dwOCXOptions;
  4879. LPUNKNOWN pUnkControl;
  4880. } ;
  4881. /* [default] */ /* Empty union arm */
  4882. } ;
  4883. } RESULT_VIEW_TYPE_INFO;
  4884. typedef struct _RESULT_VIEW_TYPE_INFO *PRESULT_VIEW_TYPE_INFO;
  4885. #define CCF_DESCRIPTION ( L"CCF_DESCRIPTION" )
  4886. #define CCF_HTML_DETAILS ( L"CCF_HTML_DETAILS" )
  4887. typedef struct _CONTEXTMENUITEM2
  4888. {
  4889. LPWSTR strName;
  4890. LPWSTR strStatusBarText;
  4891. LONG lCommandID;
  4892. LONG lInsertionPointID;
  4893. LONG fFlags;
  4894. LONG fSpecialFlags;
  4895. LPWSTR strLanguageIndependentName;
  4896. } CONTEXTMENUITEM2;
  4897. typedef CONTEXTMENUITEM2 *LPCONTEXTMENUITEM2;
  4898. typedef struct _MMC_EXT_VIEW_DATA
  4899. {
  4900. GUID viewID;
  4901. LPCOLESTR pszURL;
  4902. LPCOLESTR pszViewTitle;
  4903. LPCOLESTR pszTooltipText;
  4904. BOOL bReplacesDefaultView;
  4905. } MMC_EXT_VIEW_DATA;
  4906. typedef struct _MMC_EXT_VIEW_DATA *PMMC_EXT_VIEW_DATA;
  4907. #define MMC_DEFAULT_OPERATION_COPY ( 0x1 )
  4908. extern RPC_IF_HANDLE __MIDL_itf_mmc_0151_v0_0_c_ifspec;
  4909. extern RPC_IF_HANDLE __MIDL_itf_mmc_0151_v0_0_s_ifspec;
  4910. #ifndef __IComponentData2_INTERFACE_DEFINED__
  4911. #define __IComponentData2_INTERFACE_DEFINED__
  4912. /* interface IComponentData2 */
  4913. /* [unique][helpstring][uuid][object] */
  4914. EXTERN_C const IID IID_IComponentData2;
  4915. #if defined(__cplusplus) && !defined(CINTERFACE)
  4916. MIDL_INTERFACE("CCA0F2D2-82DE-41B5-BF47-3B2076273D5C")
  4917. IComponentData2 : public IComponentData
  4918. {
  4919. public:
  4920. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryDispatch(
  4921. /* [in] */ MMC_COOKIE cookie,
  4922. /* [in] */ DATA_OBJECT_TYPES type,
  4923. /* [out] */ LPDISPATCH *ppDispatch) = 0;
  4924. };
  4925. #else /* C style interface */
  4926. typedef struct IComponentData2Vtbl
  4927. {
  4928. BEGIN_INTERFACE
  4929. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4930. IComponentData2 * This,
  4931. /* [in] */ REFIID riid,
  4932. /* [iid_is][out] */ void **ppvObject);
  4933. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4934. IComponentData2 * This);
  4935. ULONG ( STDMETHODCALLTYPE *Release )(
  4936. IComponentData2 * This);
  4937. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
  4938. IComponentData2 * This,
  4939. /* [in] */ LPUNKNOWN pUnknown);
  4940. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateComponent )(
  4941. IComponentData2 * This,
  4942. /* [out] */ LPCOMPONENT *ppComponent);
  4943. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Notify )(
  4944. IComponentData2 * This,
  4945. /* [in] */ LPDATAOBJECT lpDataObject,
  4946. /* [in] */ MMC_NOTIFY_TYPE event,
  4947. /* [in] */ LPARAM arg,
  4948. /* [in] */ LPARAM param);
  4949. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Destroy )(
  4950. IComponentData2 * This);
  4951. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryDataObject )(
  4952. IComponentData2 * This,
  4953. /* [in] */ MMC_COOKIE cookie,
  4954. /* [in] */ DATA_OBJECT_TYPES type,
  4955. /* [out] */ LPDATAOBJECT *ppDataObject);
  4956. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDisplayInfo )(
  4957. IComponentData2 * This,
  4958. /* [out][in] */ SCOPEDATAITEM *pScopeDataItem);
  4959. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CompareObjects )(
  4960. IComponentData2 * This,
  4961. /* [in] */ LPDATAOBJECT lpDataObjectA,
  4962. /* [in] */ LPDATAOBJECT lpDataObjectB);
  4963. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryDispatch )(
  4964. IComponentData2 * This,
  4965. /* [in] */ MMC_COOKIE cookie,
  4966. /* [in] */ DATA_OBJECT_TYPES type,
  4967. /* [out] */ LPDISPATCH *ppDispatch);
  4968. END_INTERFACE
  4969. } IComponentData2Vtbl;
  4970. interface IComponentData2
  4971. {
  4972. CONST_VTBL struct IComponentData2Vtbl *lpVtbl;
  4973. };
  4974. #ifdef COBJMACROS
  4975. #define IComponentData2_QueryInterface(This,riid,ppvObject) \
  4976. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4977. #define IComponentData2_AddRef(This) \
  4978. (This)->lpVtbl -> AddRef(This)
  4979. #define IComponentData2_Release(This) \
  4980. (This)->lpVtbl -> Release(This)
  4981. #define IComponentData2_Initialize(This,pUnknown) \
  4982. (This)->lpVtbl -> Initialize(This,pUnknown)
  4983. #define IComponentData2_CreateComponent(This,ppComponent) \
  4984. (This)->lpVtbl -> CreateComponent(This,ppComponent)
  4985. #define IComponentData2_Notify(This,lpDataObject,event,arg,param) \
  4986. (This)->lpVtbl -> Notify(This,lpDataObject,event,arg,param)
  4987. #define IComponentData2_Destroy(This) \
  4988. (This)->lpVtbl -> Destroy(This)
  4989. #define IComponentData2_QueryDataObject(This,cookie,type,ppDataObject) \
  4990. (This)->lpVtbl -> QueryDataObject(This,cookie,type,ppDataObject)
  4991. #define IComponentData2_GetDisplayInfo(This,pScopeDataItem) \
  4992. (This)->lpVtbl -> GetDisplayInfo(This,pScopeDataItem)
  4993. #define IComponentData2_CompareObjects(This,lpDataObjectA,lpDataObjectB) \
  4994. (This)->lpVtbl -> CompareObjects(This,lpDataObjectA,lpDataObjectB)
  4995. #define IComponentData2_QueryDispatch(This,cookie,type,ppDispatch) \
  4996. (This)->lpVtbl -> QueryDispatch(This,cookie,type,ppDispatch)
  4997. #endif /* COBJMACROS */
  4998. #endif /* C style interface */
  4999. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData2_QueryDispatch_Proxy(
  5000. IComponentData2 * This,
  5001. /* [in] */ MMC_COOKIE cookie,
  5002. /* [in] */ DATA_OBJECT_TYPES type,
  5003. /* [out] */ LPDISPATCH *ppDispatch);
  5004. void __RPC_STUB IComponentData2_QueryDispatch_Stub(
  5005. IRpcStubBuffer *This,
  5006. IRpcChannelBuffer *_pRpcChannelBuffer,
  5007. PRPC_MESSAGE _pRpcMessage,
  5008. DWORD *_pdwStubPhase);
  5009. #endif /* __IComponentData2_INTERFACE_DEFINED__ */
  5010. #ifndef __IComponent2_INTERFACE_DEFINED__
  5011. #define __IComponent2_INTERFACE_DEFINED__
  5012. /* interface IComponent2 */
  5013. /* [unique][helpstring][uuid][object] */
  5014. EXTERN_C const IID IID_IComponent2;
  5015. #if defined(__cplusplus) && !defined(CINTERFACE)
  5016. MIDL_INTERFACE("79A2D615-4A10-4ED4-8C65-8633F9335095")
  5017. IComponent2 : public IComponent
  5018. {
  5019. public:
  5020. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryDispatch(
  5021. /* [in] */ MMC_COOKIE cookie,
  5022. /* [in] */ DATA_OBJECT_TYPES type,
  5023. /* [out] */ LPDISPATCH *ppDispatch) = 0;
  5024. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetResultViewType2(
  5025. /* [in] */ MMC_COOKIE cookie,
  5026. /* [out][in] */ PRESULT_VIEW_TYPE_INFO pResultViewType) = 0;
  5027. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RestoreResultView(
  5028. /* [in] */ MMC_COOKIE cookie,
  5029. /* [in] */ PRESULT_VIEW_TYPE_INFO pResultViewType) = 0;
  5030. };
  5031. #else /* C style interface */
  5032. typedef struct IComponent2Vtbl
  5033. {
  5034. BEGIN_INTERFACE
  5035. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5036. IComponent2 * This,
  5037. /* [in] */ REFIID riid,
  5038. /* [iid_is][out] */ void **ppvObject);
  5039. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5040. IComponent2 * This);
  5041. ULONG ( STDMETHODCALLTYPE *Release )(
  5042. IComponent2 * This);
  5043. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
  5044. IComponent2 * This,
  5045. /* [in] */ LPCONSOLE lpConsole);
  5046. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Notify )(
  5047. IComponent2 * This,
  5048. /* [in] */ LPDATAOBJECT lpDataObject,
  5049. /* [in] */ MMC_NOTIFY_TYPE event,
  5050. /* [in] */ LPARAM arg,
  5051. /* [in] */ LPARAM param);
  5052. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Destroy )(
  5053. IComponent2 * This,
  5054. /* [in] */ MMC_COOKIE cookie);
  5055. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryDataObject )(
  5056. IComponent2 * This,
  5057. /* [in] */ MMC_COOKIE cookie,
  5058. /* [in] */ DATA_OBJECT_TYPES type,
  5059. /* [out] */ LPDATAOBJECT *ppDataObject);
  5060. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetResultViewType )(
  5061. IComponent2 * This,
  5062. /* [in] */ MMC_COOKIE cookie,
  5063. /* [out] */ LPOLESTR *ppViewType,
  5064. /* [out] */ long *pViewOptions);
  5065. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDisplayInfo )(
  5066. IComponent2 * This,
  5067. /* [out][in] */ RESULTDATAITEM *pResultDataItem);
  5068. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CompareObjects )(
  5069. IComponent2 * This,
  5070. /* [in] */ LPDATAOBJECT lpDataObjectA,
  5071. /* [in] */ LPDATAOBJECT lpDataObjectB);
  5072. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryDispatch )(
  5073. IComponent2 * This,
  5074. /* [in] */ MMC_COOKIE cookie,
  5075. /* [in] */ DATA_OBJECT_TYPES type,
  5076. /* [out] */ LPDISPATCH *ppDispatch);
  5077. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetResultViewType2 )(
  5078. IComponent2 * This,
  5079. /* [in] */ MMC_COOKIE cookie,
  5080. /* [out][in] */ PRESULT_VIEW_TYPE_INFO pResultViewType);
  5081. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RestoreResultView )(
  5082. IComponent2 * This,
  5083. /* [in] */ MMC_COOKIE cookie,
  5084. /* [in] */ PRESULT_VIEW_TYPE_INFO pResultViewType);
  5085. END_INTERFACE
  5086. } IComponent2Vtbl;
  5087. interface IComponent2
  5088. {
  5089. CONST_VTBL struct IComponent2Vtbl *lpVtbl;
  5090. };
  5091. #ifdef COBJMACROS
  5092. #define IComponent2_QueryInterface(This,riid,ppvObject) \
  5093. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5094. #define IComponent2_AddRef(This) \
  5095. (This)->lpVtbl -> AddRef(This)
  5096. #define IComponent2_Release(This) \
  5097. (This)->lpVtbl -> Release(This)
  5098. #define IComponent2_Initialize(This,lpConsole) \
  5099. (This)->lpVtbl -> Initialize(This,lpConsole)
  5100. #define IComponent2_Notify(This,lpDataObject,event,arg,param) \
  5101. (This)->lpVtbl -> Notify(This,lpDataObject,event,arg,param)
  5102. #define IComponent2_Destroy(This,cookie) \
  5103. (This)->lpVtbl -> Destroy(This,cookie)
  5104. #define IComponent2_QueryDataObject(This,cookie,type,ppDataObject) \
  5105. (This)->lpVtbl -> QueryDataObject(This,cookie,type,ppDataObject)
  5106. #define IComponent2_GetResultViewType(This,cookie,ppViewType,pViewOptions) \
  5107. (This)->lpVtbl -> GetResultViewType(This,cookie,ppViewType,pViewOptions)
  5108. #define IComponent2_GetDisplayInfo(This,pResultDataItem) \
  5109. (This)->lpVtbl -> GetDisplayInfo(This,pResultDataItem)
  5110. #define IComponent2_CompareObjects(This,lpDataObjectA,lpDataObjectB) \
  5111. (This)->lpVtbl -> CompareObjects(This,lpDataObjectA,lpDataObjectB)
  5112. #define IComponent2_QueryDispatch(This,cookie,type,ppDispatch) \
  5113. (This)->lpVtbl -> QueryDispatch(This,cookie,type,ppDispatch)
  5114. #define IComponent2_GetResultViewType2(This,cookie,pResultViewType) \
  5115. (This)->lpVtbl -> GetResultViewType2(This,cookie,pResultViewType)
  5116. #define IComponent2_RestoreResultView(This,cookie,pResultViewType) \
  5117. (This)->lpVtbl -> RestoreResultView(This,cookie,pResultViewType)
  5118. #endif /* COBJMACROS */
  5119. #endif /* C style interface */
  5120. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent2_QueryDispatch_Proxy(
  5121. IComponent2 * This,
  5122. /* [in] */ MMC_COOKIE cookie,
  5123. /* [in] */ DATA_OBJECT_TYPES type,
  5124. /* [out] */ LPDISPATCH *ppDispatch);
  5125. void __RPC_STUB IComponent2_QueryDispatch_Stub(
  5126. IRpcStubBuffer *This,
  5127. IRpcChannelBuffer *_pRpcChannelBuffer,
  5128. PRPC_MESSAGE _pRpcMessage,
  5129. DWORD *_pdwStubPhase);
  5130. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent2_GetResultViewType2_Proxy(
  5131. IComponent2 * This,
  5132. /* [in] */ MMC_COOKIE cookie,
  5133. /* [out][in] */ PRESULT_VIEW_TYPE_INFO pResultViewType);
  5134. void __RPC_STUB IComponent2_GetResultViewType2_Stub(
  5135. IRpcStubBuffer *This,
  5136. IRpcChannelBuffer *_pRpcChannelBuffer,
  5137. PRPC_MESSAGE _pRpcMessage,
  5138. DWORD *_pdwStubPhase);
  5139. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent2_RestoreResultView_Proxy(
  5140. IComponent2 * This,
  5141. /* [in] */ MMC_COOKIE cookie,
  5142. /* [in] */ PRESULT_VIEW_TYPE_INFO pResultViewType);
  5143. void __RPC_STUB IComponent2_RestoreResultView_Stub(
  5144. IRpcStubBuffer *This,
  5145. IRpcChannelBuffer *_pRpcChannelBuffer,
  5146. PRPC_MESSAGE _pRpcMessage,
  5147. DWORD *_pdwStubPhase);
  5148. #endif /* __IComponent2_INTERFACE_DEFINED__ */
  5149. #ifndef __IContextMenuCallback2_INTERFACE_DEFINED__
  5150. #define __IContextMenuCallback2_INTERFACE_DEFINED__
  5151. /* interface IContextMenuCallback2 */
  5152. /* [unique][helpstring][uuid][object] */
  5153. EXTERN_C const IID IID_IContextMenuCallback2;
  5154. #if defined(__cplusplus) && !defined(CINTERFACE)
  5155. MIDL_INTERFACE("E178BC0E-2ED0-4b5e-8097-42C9087E8B33")
  5156. IContextMenuCallback2 : public IUnknown
  5157. {
  5158. public:
  5159. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddItem(
  5160. /* [in] */ CONTEXTMENUITEM2 *pItem) = 0;
  5161. };
  5162. #else /* C style interface */
  5163. typedef struct IContextMenuCallback2Vtbl
  5164. {
  5165. BEGIN_INTERFACE
  5166. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5167. IContextMenuCallback2 * This,
  5168. /* [in] */ REFIID riid,
  5169. /* [iid_is][out] */ void **ppvObject);
  5170. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5171. IContextMenuCallback2 * This);
  5172. ULONG ( STDMETHODCALLTYPE *Release )(
  5173. IContextMenuCallback2 * This);
  5174. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddItem )(
  5175. IContextMenuCallback2 * This,
  5176. /* [in] */ CONTEXTMENUITEM2 *pItem);
  5177. END_INTERFACE
  5178. } IContextMenuCallback2Vtbl;
  5179. interface IContextMenuCallback2
  5180. {
  5181. CONST_VTBL struct IContextMenuCallback2Vtbl *lpVtbl;
  5182. };
  5183. #ifdef COBJMACROS
  5184. #define IContextMenuCallback2_QueryInterface(This,riid,ppvObject) \
  5185. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5186. #define IContextMenuCallback2_AddRef(This) \
  5187. (This)->lpVtbl -> AddRef(This)
  5188. #define IContextMenuCallback2_Release(This) \
  5189. (This)->lpVtbl -> Release(This)
  5190. #define IContextMenuCallback2_AddItem(This,pItem) \
  5191. (This)->lpVtbl -> AddItem(This,pItem)
  5192. #endif /* COBJMACROS */
  5193. #endif /* C style interface */
  5194. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuCallback2_AddItem_Proxy(
  5195. IContextMenuCallback2 * This,
  5196. /* [in] */ CONTEXTMENUITEM2 *pItem);
  5197. void __RPC_STUB IContextMenuCallback2_AddItem_Stub(
  5198. IRpcStubBuffer *This,
  5199. IRpcChannelBuffer *_pRpcChannelBuffer,
  5200. PRPC_MESSAGE _pRpcMessage,
  5201. DWORD *_pdwStubPhase);
  5202. #endif /* __IContextMenuCallback2_INTERFACE_DEFINED__ */
  5203. #ifndef __IMMCVersionInfo_INTERFACE_DEFINED__
  5204. #define __IMMCVersionInfo_INTERFACE_DEFINED__
  5205. /* interface IMMCVersionInfo */
  5206. /* [object][helpstring][uuid] */
  5207. EXTERN_C const IID IID_IMMCVersionInfo;
  5208. #if defined(__cplusplus) && !defined(CINTERFACE)
  5209. MIDL_INTERFACE("A8D2C5FE-CDCB-4b9d-BDE5-A27343FF54BC")
  5210. IMMCVersionInfo : public IUnknown
  5211. {
  5212. public:
  5213. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMMCVersion(
  5214. /* [out] */ long *pVersionMajor,
  5215. /* [out] */ long *pVersionMinor) = 0;
  5216. };
  5217. #else /* C style interface */
  5218. typedef struct IMMCVersionInfoVtbl
  5219. {
  5220. BEGIN_INTERFACE
  5221. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5222. IMMCVersionInfo * This,
  5223. /* [in] */ REFIID riid,
  5224. /* [iid_is][out] */ void **ppvObject);
  5225. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5226. IMMCVersionInfo * This);
  5227. ULONG ( STDMETHODCALLTYPE *Release )(
  5228. IMMCVersionInfo * This);
  5229. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMMCVersion )(
  5230. IMMCVersionInfo * This,
  5231. /* [out] */ long *pVersionMajor,
  5232. /* [out] */ long *pVersionMinor);
  5233. END_INTERFACE
  5234. } IMMCVersionInfoVtbl;
  5235. interface IMMCVersionInfo
  5236. {
  5237. CONST_VTBL struct IMMCVersionInfoVtbl *lpVtbl;
  5238. };
  5239. #ifdef COBJMACROS
  5240. #define IMMCVersionInfo_QueryInterface(This,riid,ppvObject) \
  5241. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5242. #define IMMCVersionInfo_AddRef(This) \
  5243. (This)->lpVtbl -> AddRef(This)
  5244. #define IMMCVersionInfo_Release(This) \
  5245. (This)->lpVtbl -> Release(This)
  5246. #define IMMCVersionInfo_GetMMCVersion(This,pVersionMajor,pVersionMinor) \
  5247. (This)->lpVtbl -> GetMMCVersion(This,pVersionMajor,pVersionMinor)
  5248. #endif /* COBJMACROS */
  5249. #endif /* C style interface */
  5250. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMMCVersionInfo_GetMMCVersion_Proxy(
  5251. IMMCVersionInfo * This,
  5252. /* [out] */ long *pVersionMajor,
  5253. /* [out] */ long *pVersionMinor);
  5254. void __RPC_STUB IMMCVersionInfo_GetMMCVersion_Stub(
  5255. IRpcStubBuffer *This,
  5256. IRpcChannelBuffer *_pRpcChannelBuffer,
  5257. PRPC_MESSAGE _pRpcMessage,
  5258. DWORD *_pdwStubPhase);
  5259. #endif /* __IMMCVersionInfo_INTERFACE_DEFINED__ */
  5260. #ifndef __MMCVersionLib_LIBRARY_DEFINED__
  5261. #define __MMCVersionLib_LIBRARY_DEFINED__
  5262. /* library MMCVersionLib */
  5263. /* [helpstring][version][uuid] */
  5264. EXTERN_C const IID LIBID_MMCVersionLib;
  5265. EXTERN_C const CLSID CLSID_MMCVersionInfo;
  5266. #ifdef __cplusplus
  5267. class DECLSPEC_UUID("D6FEDB1D-CF21-4bd9-AF3B-C5468E9C6684")
  5268. MMCVersionInfo;
  5269. #endif
  5270. EXTERN_C const CLSID CLSID_ConsolePower;
  5271. #ifdef __cplusplus
  5272. class DECLSPEC_UUID("f0285374-dff1-11d3-b433-00c04f8ecd78")
  5273. ConsolePower;
  5274. #endif
  5275. #endif /* __MMCVersionLib_LIBRARY_DEFINED__ */
  5276. #ifndef __IExtendView_INTERFACE_DEFINED__
  5277. #define __IExtendView_INTERFACE_DEFINED__
  5278. /* interface IExtendView */
  5279. /* [unique][helpstring][uuid][object] */
  5280. EXTERN_C const IID IID_IExtendView;
  5281. #if defined(__cplusplus) && !defined(CINTERFACE)
  5282. MIDL_INTERFACE("89995CEE-D2ED-4c0e-AE5E-DF7E76F3FA53")
  5283. IExtendView : public IUnknown
  5284. {
  5285. public:
  5286. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetViews(
  5287. /* [in] */ LPDATAOBJECT pDataObject,
  5288. /* [in] */ LPVIEWEXTENSIONCALLBACK pViewExtensionCallback) = 0;
  5289. };
  5290. #else /* C style interface */
  5291. typedef struct IExtendViewVtbl
  5292. {
  5293. BEGIN_INTERFACE
  5294. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5295. IExtendView * This,
  5296. /* [in] */ REFIID riid,
  5297. /* [iid_is][out] */ void **ppvObject);
  5298. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5299. IExtendView * This);
  5300. ULONG ( STDMETHODCALLTYPE *Release )(
  5301. IExtendView * This);
  5302. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetViews )(
  5303. IExtendView * This,
  5304. /* [in] */ LPDATAOBJECT pDataObject,
  5305. /* [in] */ LPVIEWEXTENSIONCALLBACK pViewExtensionCallback);
  5306. END_INTERFACE
  5307. } IExtendViewVtbl;
  5308. interface IExtendView
  5309. {
  5310. CONST_VTBL struct IExtendViewVtbl *lpVtbl;
  5311. };
  5312. #ifdef COBJMACROS
  5313. #define IExtendView_QueryInterface(This,riid,ppvObject) \
  5314. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5315. #define IExtendView_AddRef(This) \
  5316. (This)->lpVtbl -> AddRef(This)
  5317. #define IExtendView_Release(This) \
  5318. (This)->lpVtbl -> Release(This)
  5319. #define IExtendView_GetViews(This,pDataObject,pViewExtensionCallback) \
  5320. (This)->lpVtbl -> GetViews(This,pDataObject,pViewExtensionCallback)
  5321. #endif /* COBJMACROS */
  5322. #endif /* C style interface */
  5323. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendView_GetViews_Proxy(
  5324. IExtendView * This,
  5325. /* [in] */ LPDATAOBJECT pDataObject,
  5326. /* [in] */ LPVIEWEXTENSIONCALLBACK pViewExtensionCallback);
  5327. void __RPC_STUB IExtendView_GetViews_Stub(
  5328. IRpcStubBuffer *This,
  5329. IRpcChannelBuffer *_pRpcChannelBuffer,
  5330. PRPC_MESSAGE _pRpcMessage,
  5331. DWORD *_pdwStubPhase);
  5332. #endif /* __IExtendView_INTERFACE_DEFINED__ */
  5333. #ifndef __IViewExtensionCallback_INTERFACE_DEFINED__
  5334. #define __IViewExtensionCallback_INTERFACE_DEFINED__
  5335. /* interface IViewExtensionCallback */
  5336. /* [unique][helpstring][uuid][object] */
  5337. EXTERN_C const IID IID_IViewExtensionCallback;
  5338. #if defined(__cplusplus) && !defined(CINTERFACE)
  5339. MIDL_INTERFACE("34DD928A-7599-41E5-9F5E-D6BC3062C2DA")
  5340. IViewExtensionCallback : public IUnknown
  5341. {
  5342. public:
  5343. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddView(
  5344. /* [in] */ PMMC_EXT_VIEW_DATA pExtViewData) = 0;
  5345. };
  5346. #else /* C style interface */
  5347. typedef struct IViewExtensionCallbackVtbl
  5348. {
  5349. BEGIN_INTERFACE
  5350. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5351. IViewExtensionCallback * This,
  5352. /* [in] */ REFIID riid,
  5353. /* [iid_is][out] */ void **ppvObject);
  5354. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5355. IViewExtensionCallback * This);
  5356. ULONG ( STDMETHODCALLTYPE *Release )(
  5357. IViewExtensionCallback * This);
  5358. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddView )(
  5359. IViewExtensionCallback * This,
  5360. /* [in] */ PMMC_EXT_VIEW_DATA pExtViewData);
  5361. END_INTERFACE
  5362. } IViewExtensionCallbackVtbl;
  5363. interface IViewExtensionCallback
  5364. {
  5365. CONST_VTBL struct IViewExtensionCallbackVtbl *lpVtbl;
  5366. };
  5367. #ifdef COBJMACROS
  5368. #define IViewExtensionCallback_QueryInterface(This,riid,ppvObject) \
  5369. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5370. #define IViewExtensionCallback_AddRef(This) \
  5371. (This)->lpVtbl -> AddRef(This)
  5372. #define IViewExtensionCallback_Release(This) \
  5373. (This)->lpVtbl -> Release(This)
  5374. #define IViewExtensionCallback_AddView(This,pExtViewData) \
  5375. (This)->lpVtbl -> AddView(This,pExtViewData)
  5376. #endif /* COBJMACROS */
  5377. #endif /* C style interface */
  5378. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IViewExtensionCallback_AddView_Proxy(
  5379. IViewExtensionCallback * This,
  5380. /* [in] */ PMMC_EXT_VIEW_DATA pExtViewData);
  5381. void __RPC_STUB IViewExtensionCallback_AddView_Stub(
  5382. IRpcStubBuffer *This,
  5383. IRpcChannelBuffer *_pRpcChannelBuffer,
  5384. PRPC_MESSAGE _pRpcMessage,
  5385. DWORD *_pdwStubPhase);
  5386. #endif /* __IViewExtensionCallback_INTERFACE_DEFINED__ */
  5387. #ifndef __IConsolePower_INTERFACE_DEFINED__
  5388. #define __IConsolePower_INTERFACE_DEFINED__
  5389. /* interface IConsolePower */
  5390. /* [unique][helpstring][uuid][object] */
  5391. EXTERN_C const IID IID_IConsolePower;
  5392. #if defined(__cplusplus) && !defined(CINTERFACE)
  5393. MIDL_INTERFACE("1cfbdd0e-62ca-49ce-a3af-dbb2de61b068")
  5394. IConsolePower : public IUnknown
  5395. {
  5396. public:
  5397. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetExecutionState(
  5398. /* [in] */ DWORD dwAdd,
  5399. /* [in] */ DWORD dwRemove) = 0;
  5400. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ResetIdleTimer(
  5401. /* [in] */ DWORD dwFlags) = 0;
  5402. };
  5403. #else /* C style interface */
  5404. typedef struct IConsolePowerVtbl
  5405. {
  5406. BEGIN_INTERFACE
  5407. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5408. IConsolePower * This,
  5409. /* [in] */ REFIID riid,
  5410. /* [iid_is][out] */ void **ppvObject);
  5411. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5412. IConsolePower * This);
  5413. ULONG ( STDMETHODCALLTYPE *Release )(
  5414. IConsolePower * This);
  5415. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetExecutionState )(
  5416. IConsolePower * This,
  5417. /* [in] */ DWORD dwAdd,
  5418. /* [in] */ DWORD dwRemove);
  5419. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ResetIdleTimer )(
  5420. IConsolePower * This,
  5421. /* [in] */ DWORD dwFlags);
  5422. END_INTERFACE
  5423. } IConsolePowerVtbl;
  5424. interface IConsolePower
  5425. {
  5426. CONST_VTBL struct IConsolePowerVtbl *lpVtbl;
  5427. };
  5428. #ifdef COBJMACROS
  5429. #define IConsolePower_QueryInterface(This,riid,ppvObject) \
  5430. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5431. #define IConsolePower_AddRef(This) \
  5432. (This)->lpVtbl -> AddRef(This)
  5433. #define IConsolePower_Release(This) \
  5434. (This)->lpVtbl -> Release(This)
  5435. #define IConsolePower_SetExecutionState(This,dwAdd,dwRemove) \
  5436. (This)->lpVtbl -> SetExecutionState(This,dwAdd,dwRemove)
  5437. #define IConsolePower_ResetIdleTimer(This,dwFlags) \
  5438. (This)->lpVtbl -> ResetIdleTimer(This,dwFlags)
  5439. #endif /* COBJMACROS */
  5440. #endif /* C style interface */
  5441. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsolePower_SetExecutionState_Proxy(
  5442. IConsolePower * This,
  5443. /* [in] */ DWORD dwAdd,
  5444. /* [in] */ DWORD dwRemove);
  5445. void __RPC_STUB IConsolePower_SetExecutionState_Stub(
  5446. IRpcStubBuffer *This,
  5447. IRpcChannelBuffer *_pRpcChannelBuffer,
  5448. PRPC_MESSAGE _pRpcMessage,
  5449. DWORD *_pdwStubPhase);
  5450. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsolePower_ResetIdleTimer_Proxy(
  5451. IConsolePower * This,
  5452. /* [in] */ DWORD dwFlags);
  5453. void __RPC_STUB IConsolePower_ResetIdleTimer_Stub(
  5454. IRpcStubBuffer *This,
  5455. IRpcChannelBuffer *_pRpcChannelBuffer,
  5456. PRPC_MESSAGE _pRpcMessage,
  5457. DWORD *_pdwStubPhase);
  5458. #endif /* __IConsolePower_INTERFACE_DEFINED__ */
  5459. #ifndef __IConsolePowerSink_INTERFACE_DEFINED__
  5460. #define __IConsolePowerSink_INTERFACE_DEFINED__
  5461. /* interface IConsolePowerSink */
  5462. /* [unique][helpstring][uuid][object] */
  5463. EXTERN_C const IID IID_IConsolePowerSink;
  5464. #if defined(__cplusplus) && !defined(CINTERFACE)
  5465. MIDL_INTERFACE("3333759f-fe4f-4975-b143-fec0a5dd6d65")
  5466. IConsolePowerSink : public IUnknown
  5467. {
  5468. public:
  5469. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnPowerBroadcast(
  5470. /* [in] */ UINT nEvent,
  5471. /* [in] */ LPARAM lParam,
  5472. /* [out] */ LRESULT *plReturn) = 0;
  5473. };
  5474. #else /* C style interface */
  5475. typedef struct IConsolePowerSinkVtbl
  5476. {
  5477. BEGIN_INTERFACE
  5478. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5479. IConsolePowerSink * This,
  5480. /* [in] */ REFIID riid,
  5481. /* [iid_is][out] */ void **ppvObject);
  5482. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5483. IConsolePowerSink * This);
  5484. ULONG ( STDMETHODCALLTYPE *Release )(
  5485. IConsolePowerSink * This);
  5486. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnPowerBroadcast )(
  5487. IConsolePowerSink * This,
  5488. /* [in] */ UINT nEvent,
  5489. /* [in] */ LPARAM lParam,
  5490. /* [out] */ LRESULT *plReturn);
  5491. END_INTERFACE
  5492. } IConsolePowerSinkVtbl;
  5493. interface IConsolePowerSink
  5494. {
  5495. CONST_VTBL struct IConsolePowerSinkVtbl *lpVtbl;
  5496. };
  5497. #ifdef COBJMACROS
  5498. #define IConsolePowerSink_QueryInterface(This,riid,ppvObject) \
  5499. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5500. #define IConsolePowerSink_AddRef(This) \
  5501. (This)->lpVtbl -> AddRef(This)
  5502. #define IConsolePowerSink_Release(This) \
  5503. (This)->lpVtbl -> Release(This)
  5504. #define IConsolePowerSink_OnPowerBroadcast(This,nEvent,lParam,plReturn) \
  5505. (This)->lpVtbl -> OnPowerBroadcast(This,nEvent,lParam,plReturn)
  5506. #endif /* COBJMACROS */
  5507. #endif /* C style interface */
  5508. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsolePowerSink_OnPowerBroadcast_Proxy(
  5509. IConsolePowerSink * This,
  5510. /* [in] */ UINT nEvent,
  5511. /* [in] */ LPARAM lParam,
  5512. /* [out] */ LRESULT *plReturn);
  5513. void __RPC_STUB IConsolePowerSink_OnPowerBroadcast_Stub(
  5514. IRpcStubBuffer *This,
  5515. IRpcChannelBuffer *_pRpcChannelBuffer,
  5516. PRPC_MESSAGE _pRpcMessage,
  5517. DWORD *_pdwStubPhase);
  5518. #endif /* __IConsolePowerSink_INTERFACE_DEFINED__ */
  5519. #ifndef __INodeProperties_INTERFACE_DEFINED__
  5520. #define __INodeProperties_INTERFACE_DEFINED__
  5521. /* interface INodeProperties */
  5522. /* [unique][helpstring][uuid][object] */
  5523. EXTERN_C const IID IID_INodeProperties;
  5524. #if defined(__cplusplus) && !defined(CINTERFACE)
  5525. MIDL_INTERFACE("15BC4D24-A522-4406-AA55-0749537A6865")
  5526. INodeProperties : public IUnknown
  5527. {
  5528. public:
  5529. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProperty(
  5530. /* [in] */ LPDATAOBJECT pDataObject,
  5531. /* [in] */ BSTR szPropertyName,
  5532. /* [out] */ PBSTR pbstrProperty) = 0;
  5533. };
  5534. #else /* C style interface */
  5535. typedef struct INodePropertiesVtbl
  5536. {
  5537. BEGIN_INTERFACE
  5538. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5539. INodeProperties * This,
  5540. /* [in] */ REFIID riid,
  5541. /* [iid_is][out] */ void **ppvObject);
  5542. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5543. INodeProperties * This);
  5544. ULONG ( STDMETHODCALLTYPE *Release )(
  5545. INodeProperties * This);
  5546. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  5547. INodeProperties * This,
  5548. /* [in] */ LPDATAOBJECT pDataObject,
  5549. /* [in] */ BSTR szPropertyName,
  5550. /* [out] */ PBSTR pbstrProperty);
  5551. END_INTERFACE
  5552. } INodePropertiesVtbl;
  5553. interface INodeProperties
  5554. {
  5555. CONST_VTBL struct INodePropertiesVtbl *lpVtbl;
  5556. };
  5557. #ifdef COBJMACROS
  5558. #define INodeProperties_QueryInterface(This,riid,ppvObject) \
  5559. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5560. #define INodeProperties_AddRef(This) \
  5561. (This)->lpVtbl -> AddRef(This)
  5562. #define INodeProperties_Release(This) \
  5563. (This)->lpVtbl -> Release(This)
  5564. #define INodeProperties_GetProperty(This,pDataObject,szPropertyName,pbstrProperty) \
  5565. (This)->lpVtbl -> GetProperty(This,pDataObject,szPropertyName,pbstrProperty)
  5566. #endif /* COBJMACROS */
  5567. #endif /* C style interface */
  5568. /* [helpstring] */ HRESULT STDMETHODCALLTYPE INodeProperties_GetProperty_Proxy(
  5569. INodeProperties * This,
  5570. /* [in] */ LPDATAOBJECT pDataObject,
  5571. /* [in] */ BSTR szPropertyName,
  5572. /* [out] */ PBSTR pbstrProperty);
  5573. void __RPC_STUB INodeProperties_GetProperty_Stub(
  5574. IRpcStubBuffer *This,
  5575. IRpcChannelBuffer *_pRpcChannelBuffer,
  5576. PRPC_MESSAGE _pRpcMessage,
  5577. DWORD *_pdwStubPhase);
  5578. #endif /* __INodeProperties_INTERFACE_DEFINED__ */
  5579. #ifndef __IConsole3_INTERFACE_DEFINED__
  5580. #define __IConsole3_INTERFACE_DEFINED__
  5581. /* interface IConsole3 */
  5582. /* [unique][helpstring][uuid][object] */
  5583. EXTERN_C const IID IID_IConsole3;
  5584. #if defined(__cplusplus) && !defined(CINTERFACE)
  5585. MIDL_INTERFACE("4F85EFDB-D0E1-498c-8D4A-D010DFDD404F")
  5586. IConsole3 : public IConsole2
  5587. {
  5588. public:
  5589. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RenameScopeItem(
  5590. /* [in] */ HSCOPEITEM hScopeItem) = 0;
  5591. };
  5592. #else /* C style interface */
  5593. typedef struct IConsole3Vtbl
  5594. {
  5595. BEGIN_INTERFACE
  5596. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5597. IConsole3 * This,
  5598. /* [in] */ REFIID riid,
  5599. /* [iid_is][out] */ void **ppvObject);
  5600. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5601. IConsole3 * This);
  5602. ULONG ( STDMETHODCALLTYPE *Release )(
  5603. IConsole3 * This);
  5604. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetHeader )(
  5605. IConsole3 * This,
  5606. /* [in] */ LPHEADERCTRL pHeader);
  5607. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetToolbar )(
  5608. IConsole3 * This,
  5609. /* [in] */ LPTOOLBAR pToolbar);
  5610. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryResultView )(
  5611. IConsole3 * This,
  5612. /* [out] */ LPUNKNOWN *pUnknown);
  5613. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryScopeImageList )(
  5614. IConsole3 * This,
  5615. /* [out] */ LPIMAGELIST *ppImageList);
  5616. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryResultImageList )(
  5617. IConsole3 * This,
  5618. /* [out] */ LPIMAGELIST *ppImageList);
  5619. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdateAllViews )(
  5620. IConsole3 * This,
  5621. /* [in] */ LPDATAOBJECT lpDataObject,
  5622. /* [in] */ LPARAM data,
  5623. /* [in] */ LONG_PTR hint);
  5624. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *MessageBox )(
  5625. IConsole3 * This,
  5626. /* [in] */ LPCWSTR lpszText,
  5627. /* [in] */ LPCWSTR lpszTitle,
  5628. /* [in] */ UINT fuStyle,
  5629. /* [out] */ int *piRetval);
  5630. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryConsoleVerb )(
  5631. IConsole3 * This,
  5632. /* [out] */ LPCONSOLEVERB *ppConsoleVerb);
  5633. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SelectScopeItem )(
  5634. IConsole3 * This,
  5635. /* [in] */ HSCOPEITEM hScopeItem);
  5636. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMainWindow )(
  5637. IConsole3 * This,
  5638. /* [out] */ HWND *phwnd);
  5639. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NewWindow )(
  5640. IConsole3 * This,
  5641. /* [in] */ HSCOPEITEM hScopeItem,
  5642. /* [in] */ unsigned long lOptions);
  5643. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Expand )(
  5644. IConsole3 * This,
  5645. /* [in] */ HSCOPEITEM hItem,
  5646. /* [in] */ BOOL bExpand);
  5647. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsTaskpadViewPreferred )(
  5648. IConsole3 * This);
  5649. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStatusText )(
  5650. IConsole3 * This,
  5651. /* [string][in] */ LPOLESTR pszStatusText);
  5652. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RenameScopeItem )(
  5653. IConsole3 * This,
  5654. /* [in] */ HSCOPEITEM hScopeItem);
  5655. END_INTERFACE
  5656. } IConsole3Vtbl;
  5657. interface IConsole3
  5658. {
  5659. CONST_VTBL struct IConsole3Vtbl *lpVtbl;
  5660. };
  5661. #ifdef COBJMACROS
  5662. #define IConsole3_QueryInterface(This,riid,ppvObject) \
  5663. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5664. #define IConsole3_AddRef(This) \
  5665. (This)->lpVtbl -> AddRef(This)
  5666. #define IConsole3_Release(This) \
  5667. (This)->lpVtbl -> Release(This)
  5668. #define IConsole3_SetHeader(This,pHeader) \
  5669. (This)->lpVtbl -> SetHeader(This,pHeader)
  5670. #define IConsole3_SetToolbar(This,pToolbar) \
  5671. (This)->lpVtbl -> SetToolbar(This,pToolbar)
  5672. #define IConsole3_QueryResultView(This,pUnknown) \
  5673. (This)->lpVtbl -> QueryResultView(This,pUnknown)
  5674. #define IConsole3_QueryScopeImageList(This,ppImageList) \
  5675. (This)->lpVtbl -> QueryScopeImageList(This,ppImageList)
  5676. #define IConsole3_QueryResultImageList(This,ppImageList) \
  5677. (This)->lpVtbl -> QueryResultImageList(This,ppImageList)
  5678. #define IConsole3_UpdateAllViews(This,lpDataObject,data,hint) \
  5679. (This)->lpVtbl -> UpdateAllViews(This,lpDataObject,data,hint)
  5680. #define IConsole3_MessageBox(This,lpszText,lpszTitle,fuStyle,piRetval) \
  5681. (This)->lpVtbl -> MessageBox(This,lpszText,lpszTitle,fuStyle,piRetval)
  5682. #define IConsole3_QueryConsoleVerb(This,ppConsoleVerb) \
  5683. (This)->lpVtbl -> QueryConsoleVerb(This,ppConsoleVerb)
  5684. #define IConsole3_SelectScopeItem(This,hScopeItem) \
  5685. (This)->lpVtbl -> SelectScopeItem(This,hScopeItem)
  5686. #define IConsole3_GetMainWindow(This,phwnd) \
  5687. (This)->lpVtbl -> GetMainWindow(This,phwnd)
  5688. #define IConsole3_NewWindow(This,hScopeItem,lOptions) \
  5689. (This)->lpVtbl -> NewWindow(This,hScopeItem,lOptions)
  5690. #define IConsole3_Expand(This,hItem,bExpand) \
  5691. (This)->lpVtbl -> Expand(This,hItem,bExpand)
  5692. #define IConsole3_IsTaskpadViewPreferred(This) \
  5693. (This)->lpVtbl -> IsTaskpadViewPreferred(This)
  5694. #define IConsole3_SetStatusText(This,pszStatusText) \
  5695. (This)->lpVtbl -> SetStatusText(This,pszStatusText)
  5696. #define IConsole3_RenameScopeItem(This,hScopeItem) \
  5697. (This)->lpVtbl -> RenameScopeItem(This,hScopeItem)
  5698. #endif /* COBJMACROS */
  5699. #endif /* C style interface */
  5700. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole3_RenameScopeItem_Proxy(
  5701. IConsole3 * This,
  5702. /* [in] */ HSCOPEITEM hScopeItem);
  5703. void __RPC_STUB IConsole3_RenameScopeItem_Stub(
  5704. IRpcStubBuffer *This,
  5705. IRpcChannelBuffer *_pRpcChannelBuffer,
  5706. PRPC_MESSAGE _pRpcMessage,
  5707. DWORD *_pdwStubPhase);
  5708. #endif /* __IConsole3_INTERFACE_DEFINED__ */
  5709. #ifndef __IResultData2_INTERFACE_DEFINED__
  5710. #define __IResultData2_INTERFACE_DEFINED__
  5711. /* interface IResultData2 */
  5712. /* [unique][helpstring][uuid][object] */
  5713. EXTERN_C const IID IID_IResultData2;
  5714. #if defined(__cplusplus) && !defined(CINTERFACE)
  5715. MIDL_INTERFACE("0F36E0EB-A7F1-4a81-BE5A-9247F7DE4B1B")
  5716. IResultData2 : public IResultData
  5717. {
  5718. public:
  5719. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RenameResultItem(
  5720. /* [in] */ HRESULTITEM itemID) = 0;
  5721. };
  5722. #else /* C style interface */
  5723. typedef struct IResultData2Vtbl
  5724. {
  5725. BEGIN_INTERFACE
  5726. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5727. IResultData2 * This,
  5728. /* [in] */ REFIID riid,
  5729. /* [iid_is][out] */ void **ppvObject);
  5730. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5731. IResultData2 * This);
  5732. ULONG ( STDMETHODCALLTYPE *Release )(
  5733. IResultData2 * This);
  5734. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertItem )(
  5735. IResultData2 * This,
  5736. /* [out][in] */ LPRESULTDATAITEM item);
  5737. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteItem )(
  5738. IResultData2 * This,
  5739. /* [in] */ HRESULTITEM itemID,
  5740. /* [in] */ int nCol);
  5741. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindItemByLParam )(
  5742. IResultData2 * This,
  5743. /* [in] */ LPARAM lParam,
  5744. /* [out] */ HRESULTITEM *pItemID);
  5745. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteAllRsltItems )(
  5746. IResultData2 * This);
  5747. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItem )(
  5748. IResultData2 * This,
  5749. /* [in] */ LPRESULTDATAITEM item);
  5750. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetItem )(
  5751. IResultData2 * This,
  5752. /* [out][in] */ LPRESULTDATAITEM item);
  5753. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNextItem )(
  5754. IResultData2 * This,
  5755. /* [out][in] */ LPRESULTDATAITEM item);
  5756. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ModifyItemState )(
  5757. IResultData2 * This,
  5758. /* [in] */ int nIndex,
  5759. /* [in] */ HRESULTITEM itemID,
  5760. /* [in] */ UINT uAdd,
  5761. /* [in] */ UINT uRemove);
  5762. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ModifyViewStyle )(
  5763. IResultData2 * This,
  5764. /* [in] */ MMC_RESULT_VIEW_STYLE add,
  5765. /* [in] */ MMC_RESULT_VIEW_STYLE remove);
  5766. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetViewMode )(
  5767. IResultData2 * This,
  5768. /* [in] */ long lViewMode);
  5769. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetViewMode )(
  5770. IResultData2 * This,
  5771. /* [out] */ long *lViewMode);
  5772. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdateItem )(
  5773. IResultData2 * This,
  5774. /* [in] */ HRESULTITEM itemID);
  5775. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sort )(
  5776. IResultData2 * This,
  5777. /* [in] */ int nColumn,
  5778. /* [in] */ DWORD dwSortOptions,
  5779. /* [in] */ LPARAM lUserParam);
  5780. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetDescBarText )(
  5781. IResultData2 * This,
  5782. /* [in] */ LPOLESTR DescText);
  5783. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItemCount )(
  5784. IResultData2 * This,
  5785. /* [in] */ int nItemCount,
  5786. /* [in] */ DWORD dwOptions);
  5787. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RenameResultItem )(
  5788. IResultData2 * This,
  5789. /* [in] */ HRESULTITEM itemID);
  5790. END_INTERFACE
  5791. } IResultData2Vtbl;
  5792. interface IResultData2
  5793. {
  5794. CONST_VTBL struct IResultData2Vtbl *lpVtbl;
  5795. };
  5796. #ifdef COBJMACROS
  5797. #define IResultData2_QueryInterface(This,riid,ppvObject) \
  5798. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5799. #define IResultData2_AddRef(This) \
  5800. (This)->lpVtbl -> AddRef(This)
  5801. #define IResultData2_Release(This) \
  5802. (This)->lpVtbl -> Release(This)
  5803. #define IResultData2_InsertItem(This,item) \
  5804. (This)->lpVtbl -> InsertItem(This,item)
  5805. #define IResultData2_DeleteItem(This,itemID,nCol) \
  5806. (This)->lpVtbl -> DeleteItem(This,itemID,nCol)
  5807. #define IResultData2_FindItemByLParam(This,lParam,pItemID) \
  5808. (This)->lpVtbl -> FindItemByLParam(This,lParam,pItemID)
  5809. #define IResultData2_DeleteAllRsltItems(This) \
  5810. (This)->lpVtbl -> DeleteAllRsltItems(This)
  5811. #define IResultData2_SetItem(This,item) \
  5812. (This)->lpVtbl -> SetItem(This,item)
  5813. #define IResultData2_GetItem(This,item) \
  5814. (This)->lpVtbl -> GetItem(This,item)
  5815. #define IResultData2_GetNextItem(This,item) \
  5816. (This)->lpVtbl -> GetNextItem(This,item)
  5817. #define IResultData2_ModifyItemState(This,nIndex,itemID,uAdd,uRemove) \
  5818. (This)->lpVtbl -> ModifyItemState(This,nIndex,itemID,uAdd,uRemove)
  5819. #define IResultData2_ModifyViewStyle(This,add,remove) \
  5820. (This)->lpVtbl -> ModifyViewStyle(This,add,remove)
  5821. #define IResultData2_SetViewMode(This,lViewMode) \
  5822. (This)->lpVtbl -> SetViewMode(This,lViewMode)
  5823. #define IResultData2_GetViewMode(This,lViewMode) \
  5824. (This)->lpVtbl -> GetViewMode(This,lViewMode)
  5825. #define IResultData2_UpdateItem(This,itemID) \
  5826. (This)->lpVtbl -> UpdateItem(This,itemID)
  5827. #define IResultData2_Sort(This,nColumn,dwSortOptions,lUserParam) \
  5828. (This)->lpVtbl -> Sort(This,nColumn,dwSortOptions,lUserParam)
  5829. #define IResultData2_SetDescBarText(This,DescText) \
  5830. (This)->lpVtbl -> SetDescBarText(This,DescText)
  5831. #define IResultData2_SetItemCount(This,nItemCount,dwOptions) \
  5832. (This)->lpVtbl -> SetItemCount(This,nItemCount,dwOptions)
  5833. #define IResultData2_RenameResultItem(This,itemID) \
  5834. (This)->lpVtbl -> RenameResultItem(This,itemID)
  5835. #endif /* COBJMACROS */
  5836. #endif /* C style interface */
  5837. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultData2_RenameResultItem_Proxy(
  5838. IResultData2 * This,
  5839. /* [in] */ HRESULTITEM itemID);
  5840. void __RPC_STUB IResultData2_RenameResultItem_Stub(
  5841. IRpcStubBuffer *This,
  5842. IRpcChannelBuffer *_pRpcChannelBuffer,
  5843. PRPC_MESSAGE _pRpcMessage,
  5844. DWORD *_pdwStubPhase);
  5845. #endif /* __IResultData2_INTERFACE_DEFINED__ */
  5846. /* interface __MIDL_itf_mmc_0163 */
  5847. /* [local] */
  5848. #endif // MMC_VER >= 0x0200
  5849. extern RPC_IF_HANDLE __MIDL_itf_mmc_0163_v0_0_c_ifspec;
  5850. extern RPC_IF_HANDLE __MIDL_itf_mmc_0163_v0_0_s_ifspec;
  5851. /* Additional Prototypes for ALL interfaces */
  5852. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  5853. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  5854. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  5855. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  5856. unsigned long __RPC_USER HBITMAP_UserSize( unsigned long *, unsigned long , HBITMAP * );
  5857. unsigned char * __RPC_USER HBITMAP_UserMarshal( unsigned long *, unsigned char *, HBITMAP * );
  5858. unsigned char * __RPC_USER HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP * );
  5859. void __RPC_USER HBITMAP_UserFree( unsigned long *, HBITMAP * );
  5860. unsigned long __RPC_USER HICON_UserSize( unsigned long *, unsigned long , HICON * );
  5861. unsigned char * __RPC_USER HICON_UserMarshal( unsigned long *, unsigned char *, HICON * );
  5862. unsigned char * __RPC_USER HICON_UserUnmarshal(unsigned long *, unsigned char *, HICON * );
  5863. void __RPC_USER HICON_UserFree( unsigned long *, HICON * );
  5864. unsigned long __RPC_USER HPALETTE_UserSize( unsigned long *, unsigned long , HPALETTE * );
  5865. unsigned char * __RPC_USER HPALETTE_UserMarshal( unsigned long *, unsigned char *, HPALETTE * );
  5866. unsigned char * __RPC_USER HPALETTE_UserUnmarshal(unsigned long *, unsigned char *, HPALETTE * );
  5867. void __RPC_USER HPALETTE_UserFree( unsigned long *, HPALETTE * );
  5868. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  5869. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  5870. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  5871. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  5872. /* end of Additional Prototypes */
  5873. #ifdef __cplusplus
  5874. }
  5875. #endif
  5876. #endif