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.

7161 lines
220 KiB

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