MMC.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:257k
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* Compiler settings for mmc.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __mmc_h__
- #define __mmc_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IComponentData_FWD_DEFINED__
- #define __IComponentData_FWD_DEFINED__
- typedef interface IComponentData IComponentData;
- #endif /* __IComponentData_FWD_DEFINED__ */
- #ifndef __IComponent_FWD_DEFINED__
- #define __IComponent_FWD_DEFINED__
- typedef interface IComponent IComponent;
- #endif /* __IComponent_FWD_DEFINED__ */
- #ifndef __IResultDataCompare_FWD_DEFINED__
- #define __IResultDataCompare_FWD_DEFINED__
- typedef interface IResultDataCompare IResultDataCompare;
- #endif /* __IResultDataCompare_FWD_DEFINED__ */
- #ifndef __IResultOwnerData_FWD_DEFINED__
- #define __IResultOwnerData_FWD_DEFINED__
- typedef interface IResultOwnerData IResultOwnerData;
- #endif /* __IResultOwnerData_FWD_DEFINED__ */
- #ifndef __IConsole_FWD_DEFINED__
- #define __IConsole_FWD_DEFINED__
- typedef interface IConsole IConsole;
- #endif /* __IConsole_FWD_DEFINED__ */
- #ifndef __IHeaderCtrl_FWD_DEFINED__
- #define __IHeaderCtrl_FWD_DEFINED__
- typedef interface IHeaderCtrl IHeaderCtrl;
- #endif /* __IHeaderCtrl_FWD_DEFINED__ */
- #ifndef __IContextMenuCallback_FWD_DEFINED__
- #define __IContextMenuCallback_FWD_DEFINED__
- typedef interface IContextMenuCallback IContextMenuCallback;
- #endif /* __IContextMenuCallback_FWD_DEFINED__ */
- #ifndef __IContextMenuProvider_FWD_DEFINED__
- #define __IContextMenuProvider_FWD_DEFINED__
- typedef interface IContextMenuProvider IContextMenuProvider;
- #endif /* __IContextMenuProvider_FWD_DEFINED__ */
- #ifndef __IExtendContextMenu_FWD_DEFINED__
- #define __IExtendContextMenu_FWD_DEFINED__
- typedef interface IExtendContextMenu IExtendContextMenu;
- #endif /* __IExtendContextMenu_FWD_DEFINED__ */
- #ifndef __IImageList_FWD_DEFINED__
- #define __IImageList_FWD_DEFINED__
- typedef interface IImageList IImageList;
- #endif /* __IImageList_FWD_DEFINED__ */
- #ifndef __IResultData_FWD_DEFINED__
- #define __IResultData_FWD_DEFINED__
- typedef interface IResultData IResultData;
- #endif /* __IResultData_FWD_DEFINED__ */
- #ifndef __IConsoleNameSpace_FWD_DEFINED__
- #define __IConsoleNameSpace_FWD_DEFINED__
- typedef interface IConsoleNameSpace IConsoleNameSpace;
- #endif /* __IConsoleNameSpace_FWD_DEFINED__ */
- #ifndef __IConsoleNameSpace2_FWD_DEFINED__
- #define __IConsoleNameSpace2_FWD_DEFINED__
- typedef interface IConsoleNameSpace2 IConsoleNameSpace2;
- #endif /* __IConsoleNameSpace2_FWD_DEFINED__ */
- #ifndef __IPropertySheetCallback_FWD_DEFINED__
- #define __IPropertySheetCallback_FWD_DEFINED__
- typedef interface IPropertySheetCallback IPropertySheetCallback;
- #endif /* __IPropertySheetCallback_FWD_DEFINED__ */
- #ifndef __IPropertySheetProvider_FWD_DEFINED__
- #define __IPropertySheetProvider_FWD_DEFINED__
- typedef interface IPropertySheetProvider IPropertySheetProvider;
- #endif /* __IPropertySheetProvider_FWD_DEFINED__ */
- #ifndef __IExtendPropertySheet_FWD_DEFINED__
- #define __IExtendPropertySheet_FWD_DEFINED__
- typedef interface IExtendPropertySheet IExtendPropertySheet;
- #endif /* __IExtendPropertySheet_FWD_DEFINED__ */
- #ifndef __IControlbar_FWD_DEFINED__
- #define __IControlbar_FWD_DEFINED__
- typedef interface IControlbar IControlbar;
- #endif /* __IControlbar_FWD_DEFINED__ */
- #ifndef __IExtendControlbar_FWD_DEFINED__
- #define __IExtendControlbar_FWD_DEFINED__
- typedef interface IExtendControlbar IExtendControlbar;
- #endif /* __IExtendControlbar_FWD_DEFINED__ */
- #ifndef __IToolbar_FWD_DEFINED__
- #define __IToolbar_FWD_DEFINED__
- typedef interface IToolbar IToolbar;
- #endif /* __IToolbar_FWD_DEFINED__ */
- #ifndef __IConsoleVerb_FWD_DEFINED__
- #define __IConsoleVerb_FWD_DEFINED__
- typedef interface IConsoleVerb IConsoleVerb;
- #endif /* __IConsoleVerb_FWD_DEFINED__ */
- #ifndef __ISnapinAbout_FWD_DEFINED__
- #define __ISnapinAbout_FWD_DEFINED__
- typedef interface ISnapinAbout ISnapinAbout;
- #endif /* __ISnapinAbout_FWD_DEFINED__ */
- #ifndef __IMenuButton_FWD_DEFINED__
- #define __IMenuButton_FWD_DEFINED__
- typedef interface IMenuButton IMenuButton;
- #endif /* __IMenuButton_FWD_DEFINED__ */
- #ifndef __ISnapinHelp_FWD_DEFINED__
- #define __ISnapinHelp_FWD_DEFINED__
- typedef interface ISnapinHelp ISnapinHelp;
- #endif /* __ISnapinHelp_FWD_DEFINED__ */
- #ifndef __IExtendPropertySheet2_FWD_DEFINED__
- #define __IExtendPropertySheet2_FWD_DEFINED__
- typedef interface IExtendPropertySheet2 IExtendPropertySheet2;
- #endif /* __IExtendPropertySheet2_FWD_DEFINED__ */
- #ifndef __IHeaderCtrl2_FWD_DEFINED__
- #define __IHeaderCtrl2_FWD_DEFINED__
- typedef interface IHeaderCtrl2 IHeaderCtrl2;
- #endif /* __IHeaderCtrl2_FWD_DEFINED__ */
- #ifndef __ISnapinHelp2_FWD_DEFINED__
- #define __ISnapinHelp2_FWD_DEFINED__
- typedef interface ISnapinHelp2 ISnapinHelp2;
- #endif /* __ISnapinHelp2_FWD_DEFINED__ */
- #ifndef __IEnumTASK_FWD_DEFINED__
- #define __IEnumTASK_FWD_DEFINED__
- typedef interface IEnumTASK IEnumTASK;
- #endif /* __IEnumTASK_FWD_DEFINED__ */
- #ifndef __IExtendTaskPad_FWD_DEFINED__
- #define __IExtendTaskPad_FWD_DEFINED__
- typedef interface IExtendTaskPad IExtendTaskPad;
- #endif /* __IExtendTaskPad_FWD_DEFINED__ */
- #ifndef __IConsole2_FWD_DEFINED__
- #define __IConsole2_FWD_DEFINED__
- typedef interface IConsole2 IConsole2;
- #endif /* __IConsole2_FWD_DEFINED__ */
- #ifndef __IDisplayHelp_FWD_DEFINED__
- #define __IDisplayHelp_FWD_DEFINED__
- typedef interface IDisplayHelp IDisplayHelp;
- #endif /* __IDisplayHelp_FWD_DEFINED__ */
- #ifndef __IRequiredExtensions_FWD_DEFINED__
- #define __IRequiredExtensions_FWD_DEFINED__
- typedef interface IRequiredExtensions IRequiredExtensions;
- #endif /* __IRequiredExtensions_FWD_DEFINED__ */
- #ifndef __IStringTable_FWD_DEFINED__
- #define __IStringTable_FWD_DEFINED__
- typedef interface IStringTable IStringTable;
- #endif /* __IStringTable_FWD_DEFINED__ */
- #ifndef __IColumnData_FWD_DEFINED__
- #define __IColumnData_FWD_DEFINED__
- typedef interface IColumnData IColumnData;
- #endif /* __IColumnData_FWD_DEFINED__ */
- #ifndef __IMessageView_FWD_DEFINED__
- #define __IMessageView_FWD_DEFINED__
- typedef interface IMessageView IMessageView;
- #endif /* __IMessageView_FWD_DEFINED__ */
- #ifndef __IResultDataCompareEx_FWD_DEFINED__
- #define __IResultDataCompareEx_FWD_DEFINED__
- typedef interface IResultDataCompareEx IResultDataCompareEx;
- #endif /* __IResultDataCompareEx_FWD_DEFINED__ */
- #ifndef __IComponentData2_FWD_DEFINED__
- #define __IComponentData2_FWD_DEFINED__
- typedef interface IComponentData2 IComponentData2;
- #endif /* __IComponentData2_FWD_DEFINED__ */
- #ifndef __IComponent2_FWD_DEFINED__
- #define __IComponent2_FWD_DEFINED__
- typedef interface IComponent2 IComponent2;
- #endif /* __IComponent2_FWD_DEFINED__ */
- #ifndef __IContextMenuCallback2_FWD_DEFINED__
- #define __IContextMenuCallback2_FWD_DEFINED__
- typedef interface IContextMenuCallback2 IContextMenuCallback2;
- #endif /* __IContextMenuCallback2_FWD_DEFINED__ */
- #ifndef __IMMCVersionInfo_FWD_DEFINED__
- #define __IMMCVersionInfo_FWD_DEFINED__
- typedef interface IMMCVersionInfo IMMCVersionInfo;
- #endif /* __IMMCVersionInfo_FWD_DEFINED__ */
- #ifndef __MMCVersionInfo_FWD_DEFINED__
- #define __MMCVersionInfo_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class MMCVersionInfo MMCVersionInfo;
- #else
- typedef struct MMCVersionInfo MMCVersionInfo;
- #endif /* __cplusplus */
- #endif /* __MMCVersionInfo_FWD_DEFINED__ */
- #ifndef __ConsolePower_FWD_DEFINED__
- #define __ConsolePower_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class ConsolePower ConsolePower;
- #else
- typedef struct ConsolePower ConsolePower;
- #endif /* __cplusplus */
- #endif /* __ConsolePower_FWD_DEFINED__ */
- #ifndef __IExtendView_FWD_DEFINED__
- #define __IExtendView_FWD_DEFINED__
- typedef interface IExtendView IExtendView;
- #endif /* __IExtendView_FWD_DEFINED__ */
- #ifndef __IViewExtensionCallback_FWD_DEFINED__
- #define __IViewExtensionCallback_FWD_DEFINED__
- typedef interface IViewExtensionCallback IViewExtensionCallback;
- #endif /* __IViewExtensionCallback_FWD_DEFINED__ */
- #ifndef __IConsolePower_FWD_DEFINED__
- #define __IConsolePower_FWD_DEFINED__
- typedef interface IConsolePower IConsolePower;
- #endif /* __IConsolePower_FWD_DEFINED__ */
- #ifndef __IConsolePowerSink_FWD_DEFINED__
- #define __IConsolePowerSink_FWD_DEFINED__
- typedef interface IConsolePowerSink IConsolePowerSink;
- #endif /* __IConsolePowerSink_FWD_DEFINED__ */
- #ifndef __INodeProperties_FWD_DEFINED__
- #define __INodeProperties_FWD_DEFINED__
- typedef interface INodeProperties INodeProperties;
- #endif /* __INodeProperties_FWD_DEFINED__ */
- #ifndef __IConsole3_FWD_DEFINED__
- #define __IConsole3_FWD_DEFINED__
- typedef interface IConsole3 IConsole3;
- #endif /* __IConsole3_FWD_DEFINED__ */
- #ifndef __IResultData2_FWD_DEFINED__
- #define __IResultData2_FWD_DEFINED__
- typedef interface IResultData2 IResultData2;
- #endif /* __IResultData2_FWD_DEFINED__ */
- /* header files for imported files */
- #include "basetsd.h"
- #include "oaidl.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_mmc_0000 */
- /* [local] */
- #ifndef MMC_VER
- #define MMC_VER 0x0200
- #endif
- #if (MMC_VER >= 0x0110)
- #endif // MMC_VER >= 0x0110
- #if (MMC_VER >= 0x0120)
- #endif // MMC_VER >= 0x0120
- #if (MMC_VER >= 0x0200)
- #endif // MMC_VER >= 0x0200
- #if (MMC_VER >= 0x0110)
- #endif // MMC_VER >= 0x0110
- #if (MMC_VER >= 0x0120)
- #endif // MMC_VER >= 0x0120
- #if (MMC_VER >= 0x0200)
- #endif // MMC_VER >= 0x0200
- typedef IConsole *LPCONSOLE;
- typedef IHeaderCtrl *LPHEADERCTRL;
- typedef IToolbar *LPTOOLBAR;
- typedef IImageList *LPIMAGELIST;
- typedef IResultData *LPRESULTDATA;
- typedef IConsoleNameSpace *LPCONSOLENAMESPACE;
- typedef IPropertySheetProvider *LPPROPERTYSHEETPROVIDER;
- typedef IPropertySheetCallback *LPPROPERTYSHEETCALLBACK;
- typedef IContextMenuProvider *LPCONTEXTMENUPROVIDER;
- typedef IContextMenuCallback *LPCONTEXTMENUCALLBACK;
- typedef IControlbar *LPCONTROLBAR;
- typedef IConsoleVerb *LPCONSOLEVERB;
- typedef IMenuButton *LPMENUBUTTON;
- #if (MMC_VER >= 0x0110)
- typedef IConsole2 *LPCONSOLE2;
- typedef IHeaderCtrl2 *LPHEADERCTRL2;
- typedef IConsoleNameSpace2 *LPCONSOLENAMESPACE2;
- typedef IDisplayHelp *LPDISPLAYHELP;
- typedef IStringTable *LPSTRINGTABLE;
- #endif // MMC_VER >= 0x0110
- #if (MMC_VER >= 0x0120)
- typedef IColumnData *LPCOLUMNDATA;
- typedef IResultDataCompareEx *LPRESULTDATACOMPAREEX;
- #endif // MMC_VER >= 0x0120
- typedef IComponent *LPCOMPONENT;
- typedef IComponentData *LPCOMPONENTDATA;
- typedef IExtendPropertySheet *LPEXTENDPROPERTYSHEET;
- typedef IExtendContextMenu *LPEXTENDCONTEXTMENU;
- typedef IExtendControlbar *LPEXTENDCONTROLBAR;
- typedef IResultDataCompare *LPRESULTDATACOMPARE;
- typedef IResultOwnerData *LPRESULTOWNERDATA;
- typedef ISnapinAbout *LPSNAPABOUT;
- typedef ISnapinAbout *LPSNAPINABOUT;
- typedef ISnapinHelp *LPSNAPHELP;
- typedef ISnapinHelp *LPSNAPINHELP;
- #if (MMC_VER >= 0x0110)
- typedef IEnumTASK *LPENUMTASK;
- typedef IExtendPropertySheet2 *LPEXTENDPROPERTYSHEET2;
- typedef ISnapinHelp2 *LPSNAPINHELP2;
- typedef IExtendTaskPad *LPEXTENDTASKPAD;
- typedef IRequiredExtensions *LPREQUIREDEXTENSIONS;
- #endif // MMC_VER >= 0x0110
- #if (MMC_VER >= 0x0200)
- typedef IComponent2 *LPCOMPONENT2;
- typedef IComponentData2 *LPCOMPONENTDATA2;
- typedef IExtendView *LPEXTENDVIEW;
- typedef IViewExtensionCallback *LPVIEWEXTENSIONCALLBACK;
- typedef IConsolePower *LPCONSOLEPOWER;
- typedef IConsolePowerSink *LPCONSOLEPOWERSINK;
- typedef IConsole3 *LPCONSOLE3;
- typedef INodeProperties *LPNODEPROPERTIES;
- typedef IResultData2 *LPRESULTDATA2;
- #endif // MMC_VER >= 0x0200
- typedef BSTR *PBSTR;
- #define MMCLV_AUTO ( -1 )
- #define MMCLV_NOPARAM ( -2 )
- #define MMCLV_NOICON ( -1 )
- #define MMCLV_VIEWSTYLE_ICON ( 0 )
- #define MMCLV_VIEWSTYLE_SMALLICON ( 0x2 )
- #define MMCLV_VIEWSTYLE_LIST ( 0x3 )
- #define MMCLV_VIEWSTYLE_REPORT ( 0x1 )
- #define MMCLV_VIEWSTYLE_FILTERED ( 0x4 )
- #define MMCLV_NOPTR ( 0 )
- #define MMCLV_UPDATE_NOINVALIDATEALL ( 0x1 )
- #define MMCLV_UPDATE_NOSCROLL ( 0x2 )
- static unsigned short *MMC_CALLBACK = ( unsigned short * )-1;
- #if (MMC_VER >= 0x0120)
- #define MMC_IMAGECALLBACK (-1)
- #define MMC_TEXTCALLBACK MMC_CALLBACK
- #endif // MMC_VER >= 0x0120
- typedef LONG_PTR HSCOPEITEM;
- typedef long COMPONENTID;
- typedef LONG_PTR HRESULTITEM;
- #define RDI_STR ( 0x2 )
- #define RDI_IMAGE ( 0x4 )
- #define RDI_STATE ( 0x8 )
- #define RDI_PARAM ( 0x10 )
- #define RDI_INDEX ( 0x20 )
- #define RDI_INDENT ( 0x40 )
- typedef enum _MMC_RESULT_VIEW_STYLE
- {
- MMC_SINGLESEL = 0x0001,
- MMC_SHOWSELALWAYS = 0x0002,
- MMC_NOSORTHEADER = 0x0004,
- #if (MMC_VER >= 0x0120)
- MMC_ENSUREFOCUSVISIBLE = 0x0008
- #endif // MMC_VER >= 0x0120
- } MMC_RESULT_VIEW_STYLE;
- #if 0
- typedef
- enum _MMC_RESULT_VIEW_STYLE
- { _MMC_VIEW_STYLE__dummy_ = 0
- } MMC_RESULT_VIEW_STYLE;
- #endif
- #define MMC_VIEW_OPTIONS_NONE ( 0 )
- #define MMC_VIEW_OPTIONS_NOLISTVIEWS ( 0x1 )
- #define MMC_VIEW_OPTIONS_MULTISELECT ( 0x2 )
- #define MMC_VIEW_OPTIONS_OWNERDATALIST ( 0x4 )
- #define MMC_VIEW_OPTIONS_FILTERED ( 0x8 )
- #define MMC_VIEW_OPTIONS_CREATENEW ( 0x10 )
- #if (MMC_VER >= 0x0110)
- #define MMC_VIEW_OPTIONS_USEFONTLINKING ( 0x20 )
- #endif // MMC_VER >= 0x0110
- #if (MMC_VER >= 0x0120)
- #define MMC_VIEW_OPTIONS_EXCLUDE_SCOPE_ITEMS_FROM_LIST ( 0x40 )
- #define MMC_VIEW_OPTIONS_LEXICAL_SORT ( 0x80 )
- #endif // MMC_VER >= 0x0120
- #define MMC_PSO_NOAPPLYNOW ( 0x1 )
- #define MMC_PSO_HASHELP ( 0x2 )
- #define MMC_PSO_NEWWIZARDTYPE ( 0x4 )
- #define MMC_PSO_NO_PROPTITLE ( 0x8 )
- typedef
- enum _MMC_CONTROL_TYPE
- { TOOLBAR = 0,
- MENUBUTTON = TOOLBAR + 1,
- COMBOBOXBAR = MENUBUTTON + 1
- } MMC_CONTROL_TYPE;
- typedef enum _MMC_CONSOLE_VERB
- {
- MMC_VERB_NONE = 0x0000,
- MMC_VERB_OPEN = 0x8000,
- MMC_VERB_COPY = 0x8001,
- MMC_VERB_PASTE = 0x8002,
- MMC_VERB_DELETE = 0x8003,
- MMC_VERB_PROPERTIES = 0x8004,
- MMC_VERB_RENAME = 0x8005,
- MMC_VERB_REFRESH = 0x8006,
- MMC_VERB_PRINT = 0x8007,
- #if (MMC_VER >= 0x0110)
- MMC_VERB_CUT = 0x8008, // Used only to explicitly disable/hide
- // the cut verb, when copy & paste are enabled.
-
- // must be last
- MMC_VERB_MAX,
- MMC_VERB_FIRST = MMC_VERB_OPEN,
- MMC_VERB_LAST = MMC_VERB_MAX - 1
- #endif // MMC_VER >= 0x0110
- } MMC_CONSOLE_VERB;
- #if 0
- typedef
- enum _MMC_CONSOLE_VERB
- { MMC_VERB__dummy_ = 0
- } MMC_CONSOLE_VERB;
- #endif
- #include <pshpack8.h>
- typedef struct _MMCButton
- {
- int nBitmap;
- int idCommand;
- BYTE fsState;
- BYTE fsType;
- LPOLESTR lpButtonText;
- LPOLESTR lpTooltipText;
- } MMCBUTTON;
- #include <poppack.h>
- typedef MMCBUTTON *LPMMCBUTTON;
- typedef
- enum _MMC_BUTTON_STATE
- { ENABLED = 0x1,
- CHECKED = 0x2,
- HIDDEN = 0x4,
- INDETERMINATE = 0x8,
- BUTTONPRESSED = 0x10
- } MMC_BUTTON_STATE;
- typedef struct _RESULTDATAITEM
- {
- DWORD mask;
- BOOL bScopeItem;
- HRESULTITEM itemID;
- int nIndex;
- int nCol;
- LPOLESTR str;
- int nImage;
- UINT nState;
- LPARAM lParam;
- int iIndent;
- } RESULTDATAITEM;
- typedef RESULTDATAITEM *LPRESULTDATAITEM;
- #define RFI_PARTIAL ( 0x1 )
- #define RFI_WRAP ( 0x2 )
- typedef struct _RESULTFINDINFO
- {
- LPOLESTR psz;
- int nStart;
- DWORD dwOptions;
- } RESULTFINDINFO;
- typedef RESULTFINDINFO *LPRESULTFINDINFO;
- #define RSI_DESCENDING ( 0x1 )
- #define RSI_NOSORTICON ( 0x2 )
- #define SDI_STR ( 0x2 )
- #define SDI_IMAGE ( 0x4 )
- #define SDI_OPENIMAGE ( 0x8 )
- #define SDI_STATE ( 0x10 )
- #define SDI_PARAM ( 0x20 )
- #define SDI_CHILDREN ( 0x40 )
- #define SDI_PARENT ( 0 )
- #define SDI_PREVIOUS ( 0x10000000 )
- #define SDI_NEXT ( 0x20000000 )
- #define SDI_FIRST ( 0x8000000 )
- typedef struct _SCOPEDATAITEM
- {
- DWORD mask;
- LPOLESTR displayname;
- int nImage;
- int nOpenImage;
- UINT nState;
- int cChildren;
- LPARAM lParam;
- HSCOPEITEM relativeID;
- HSCOPEITEM ID;
- } SCOPEDATAITEM;
- typedef SCOPEDATAITEM *LPSCOPEDATAITEM;
- typedef
- enum _MMC_SCOPE_ITEM_STATE
- { MMC_SCOPE_ITEM_STATE_NORMAL = 0x1,
- MMC_SCOPE_ITEM_STATE_BOLD = 0x2,
- MMC_SCOPE_ITEM_STATE_EXPANDEDONCE = 0x3
- } MMC_SCOPE_ITEM_STATE;
- typedef struct _CONTEXTMENUITEM
- {
- LPWSTR strName;
- LPWSTR strStatusBarText;
- LONG lCommandID;
- LONG lInsertionPointID;
- LONG fFlags;
- LONG fSpecialFlags;
- } CONTEXTMENUITEM;
- typedef CONTEXTMENUITEM *LPCONTEXTMENUITEM;
- typedef
- enum _MMC_MENU_COMMAND_IDS
- { MMCC_STANDARD_VIEW_SELECT = -1
- } MMC_MENU_COMMAND_IDS;
- typedef struct _MENUBUTTONDATA
- {
- int idCommand;
- int x;
- int y;
- } MENUBUTTONDATA;
- typedef MENUBUTTONDATA *LPMENUBUTTONDATA;
- typedef LONG_PTR MMC_COOKIE;
- #define MMC_MULTI_SELECT_COOKIE ( -2 )
- #define MMC_WINDOW_COOKIE ( -3 )
- #if (MMC_VER >= 0x0110)
- #define SPECIAL_COOKIE_MIN ( -10 )
- #define SPECIAL_COOKIE_MAX ( -1 )
- typedef
- enum _MMC_FILTER_TYPE
- { MMC_STRING_FILTER = 0,
- MMC_INT_FILTER = 0x1,
- MMC_FILTER_NOVALUE = 0x8000
- } MMC_FILTER_TYPE;
- typedef struct _MMC_FILTERDATA
- {
- LPOLESTR pszText;
- INT cchTextMax;
- LONG lValue;
- } MMC_FILTERDATA;
- typedef
- enum _MMC_FILTER_CHANGE_CODE
- { MFCC_DISABLE = 0,
- MFCC_ENABLE = 1,
- MFCC_VALUE_CHANGE = 2
- } MMC_FILTER_CHANGE_CODE;
- typedef struct _MMC_RESTORE_VIEW
- {
- DWORD dwSize;
- MMC_COOKIE cookie;
- LPOLESTR pViewType;
- long lViewOptions;
- } MMC_RESTORE_VIEW;
- typedef struct _MMC_EXPANDSYNC_STRUCT
- {
- BOOL bHandled;
- BOOL bExpanding;
- HSCOPEITEM hItem;
- } MMC_EXPANDSYNC_STRUCT;
- #endif // MMC_VER >= 0x0110
- #if (MMC_VER >= 0x0120)
- typedef struct _MMC_VISIBLE_COLUMNS
- {
- INT nVisibleColumns;
- INT rgVisibleCols[ 1 ];
- } MMC_VISIBLE_COLUMNS;
- #endif // MMC_VER >= 0x0120
- typedef enum _MMC_NOTIFY_TYPE
- {
- MMCN_ACTIVATE = 0x8001,
- MMCN_ADD_IMAGES = 0x8002,
- MMCN_BTN_CLICK = 0x8003,
- MMCN_CLICK = 0x8004, // NOT USED
- MMCN_COLUMN_CLICK = 0x8005,
- MMCN_CONTEXTMENU = 0x8006, // NOT USED
- MMCN_CUTORMOVE = 0x8007,
- MMCN_DBLCLICK = 0x8008,
- MMCN_DELETE = 0x8009,
- MMCN_DESELECT_ALL = 0x800A,
- MMCN_EXPAND = 0x800B,
- MMCN_HELP = 0x800C, // NOT USED
- MMCN_MENU_BTNCLICK = 0x800D,
- MMCN_MINIMIZED = 0x800E,
- MMCN_PASTE = 0x800F,
- MMCN_PROPERTY_CHANGE = 0x8010,
- MMCN_QUERY_PASTE = 0x8011,
- MMCN_REFRESH = 0x8012,
- MMCN_REMOVE_CHILDREN = 0x8013,
- MMCN_RENAME = 0x8014,
- MMCN_SELECT = 0x8015,
- MMCN_SHOW = 0x8016,
- MMCN_VIEW_CHANGE = 0x8017,
- MMCN_SNAPINHELP = 0x8018,
- MMCN_CONTEXTHELP = 0x8019,
- MMCN_INITOCX = 0x801A,
- #if (MMC_VER >= 0x0110)
- MMCN_FILTER_CHANGE = 0x801B,
- MMCN_FILTERBTN_CLICK = 0x801C,
- MMCN_RESTORE_VIEW = 0x801D,
- MMCN_PRINT = 0x801E,
- MMCN_PRELOAD = 0x801F,
- MMCN_LISTPAD = 0x8020,
- MMCN_EXPANDSYNC = 0x8021,
- #if (MMC_VER >= 0x0120)
- MMCN_COLUMNS_CHANGED = 0x8022,
- #if (MMC_VER >= 0x0200)
- MMCN_CANPASTE_OUTOFPROC = 0x8023,
- #endif // MMC_VER >= 0x0200
- #endif // MMC_VER >= 0x0120
- #endif // MMC_VER >= 0x0110
- } MMC_NOTIFY_TYPE;
- #if 0
- typedef
- enum _MMC_NOTIFY_TYPE
- { MMCN__dummy_ = 0
- } MMC_NOTIFY_TYPE;
- #endif
- typedef
- enum _DATA_OBJECT_TYPES
- { CCT_SCOPE = 0x8000,
- CCT_RESULT = 0x8001,
- CCT_SNAPIN_MANAGER = 0x8002,
- CCT_UNINITIALIZED = 0xffff
- } DATA_OBJECT_TYPES;
- #define MMC_NW_OPTION_NONE ( 0 )
- #define MMC_NW_OPTION_NOSCOPEPANE ( 0x1 )
- #define MMC_NW_OPTION_NOTOOLBARS ( 0x2 )
- #define MMC_NW_OPTION_SHORTTITLE ( 0x4 )
- #define MMC_NW_OPTION_CUSTOMTITLE ( 0x8 )
- #define MMC_NW_OPTION_NOPERSIST ( 0x10 )
- #define CCF_NODETYPE ( L"CCF_NODETYPE" )
- #define CCF_SZNODETYPE ( L"CCF_SZNODETYPE" )
- #define CCF_DISPLAY_NAME ( L"CCF_DISPLAY_NAME" )
- #define CCF_SNAPIN_CLASSID ( L"CCF_SNAPIN_CLASSID" )
- #define CCF_WINDOW_TITLE ( L"CCF_WINDOW_TITLE" )
- #define CCF_MMC_MULTISELECT_DATAOBJECT ( L"CCF_MMC_MULTISELECT_DATAOBJECT" )
- typedef struct _SMMCDataObjects
- {
- DWORD count;
- LPDATAOBJECT lpDataObject[ 1 ];
- } SMMCDataObjects;
- #define CCF_MULTI_SELECT_SNAPINS ( L"CCF_MULTI_SELECT_SNAPINS" )
- typedef struct _SMMCObjectTypes
- {
- DWORD count;
- GUID guid[ 1 ];
- } SMMCObjectTypes;
- #define CCF_OBJECT_TYPES_IN_MULTI_SELECT ( L"CCF_OBJECT_TYPES_IN_MULTI_SELECT" )
- #if (MMC_VER >= 0x0110)
- typedef SMMCObjectTypes SMMCDynamicExtensions;
- #define CCF_MMC_DYNAMIC_EXTENSIONS ( L"CCF_MMC_DYNAMIC_EXTENSIONS" )
- #define CCF_SNAPIN_PRELOADS ( L"CCF_SNAPIN_PRELOADS" )
- typedef struct _SNodeID
- {
- DWORD cBytes;
- BYTE id[ 1 ];
- } SNodeID;
- #if (MMC_VER >= 0x0120)
- typedef struct _SNodeID2
- {
- DWORD dwFlags;
- DWORD cBytes;
- BYTE id[ 1 ];
- } SNodeID2;
- #define MMC_NODEID_SLOW_RETRIEVAL ( 0x1 )
- #define CCF_NODEID2 ( L"CCF_NODEID2" )
- #endif // MMC_VER >= 0x0120
- #define CCF_NODEID ( L"CCF_NODEID" )
- #if (MMC_VER >= 0x0120)
- typedef struct _SColumnSetID
- {
- DWORD dwFlags;
- DWORD cBytes;
- BYTE id[ 1 ];
- } SColumnSetID;
- #define CCF_COLUMN_SET_ID ( L"CCF_COLUMN_SET_ID" )
- #endif // MMC_VER >= 0x0120
- #endif // MMC_VER >= 0x0110
- STDAPI MMCPropertyChangeNotify(LONG_PTR lNotifyHandle, LPARAM param);
- #if (MMC_VER >= 0x0110)
- STDAPI MMCPropertyHelp(LPOLESTR pszHelpTopic);
- #endif // MMC_VER >= 0x0110
- STDAPI MMCFreeNotifyHandle(LONG_PTR lNotifyHandle);
- STDAPI MMCPropPageCallback(void* vpsp);
- EXTERN_C const CLSID CLSID_NodeManager;
- #if (MMC_VER >= 0x0120)
- EXTERN_C const CLSID CLSID_MessageView;
- #endif // MMC_VER >= 0x0120
- #define DOBJ_NULL (LPDATAOBJECT) 0
- #define DOBJ_CUSTOMOCX (LPDATAOBJECT) -1
- #define DOBJ_CUSTOMWEB (LPDATAOBJECT) -2
- #if (MMC_VER >= 0x0110)
- #if (MMC_VER >= 0x0120)
- #define DOBJ_NOCONSOLE (LPDATAOBJECT) -3
- #endif // MMC_VER >= 0x0120
- #define SPECIAL_DOBJ_MIN -10
- #define SPECIAL_DOBJ_MAX 0
- #endif // MMC_VER >= 0x0110
- #define IS_SPECIAL_DATAOBJECT(d) (((LONG_PTR)(d) >= SPECIAL_DOBJ_MIN) && ((LONG_PTR)(d) <= SPECIAL_DOBJ_MAX))
- #define IS_SPECIAL_COOKIE(c) (((c) >= SPECIAL_COOKIE_MIN) && ((c) <= SPECIAL_COOKIE_MAX))
- extern RPC_IF_HANDLE __MIDL_itf_mmc_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_mmc_0000_v0_0_s_ifspec;
- #ifndef __IComponentData_INTERFACE_DEFINED__
- #define __IComponentData_INTERFACE_DEFINED__
- /* interface IComponentData */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IComponentData;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("955AB28A-5218-11D0-A985-00C04FD8D565")
- IComponentData : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize(
- /* [in] */ LPUNKNOWN pUnknown) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateComponent(
- /* [out] */ LPCOMPONENT *ppComponent) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Notify(
- /* [in] */ LPDATAOBJECT lpDataObject,
- /* [in] */ MMC_NOTIFY_TYPE event,
- /* [in] */ LPARAM arg,
- /* [in] */ LPARAM param) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Destroy( void) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryDataObject(
- /* [in] */ MMC_COOKIE cookie,
- /* [in] */ DATA_OBJECT_TYPES type,
- /* [out] */ LPDATAOBJECT *ppDataObject) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDisplayInfo(
- /* [out][in] */ SCOPEDATAITEM *pScopeDataItem) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CompareObjects(
- /* [in] */ LPDATAOBJECT lpDataObjectA,
- /* [in] */ LPDATAOBJECT lpDataObjectB) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IComponentDataVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IComponentData * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IComponentData * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IComponentData * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
- IComponentData * This,
- /* [in] */ LPUNKNOWN pUnknown);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateComponent )(
- IComponentData * This,
- /* [out] */ LPCOMPONENT *ppComponent);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Notify )(
- IComponentData * This,
- /* [in] */ LPDATAOBJECT lpDataObject,
- /* [in] */ MMC_NOTIFY_TYPE event,
- /* [in] */ LPARAM arg,
- /* [in] */ LPARAM param);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Destroy )(
- IComponentData * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryDataObject )(
- IComponentData * This,
- /* [in] */ MMC_COOKIE cookie,
- /* [in] */ DATA_OBJECT_TYPES type,
- /* [out] */ LPDATAOBJECT *ppDataObject);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDisplayInfo )(
- IComponentData * This,
- /* [out][in] */ SCOPEDATAITEM *pScopeDataItem);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CompareObjects )(
- IComponentData * This,
- /* [in] */ LPDATAOBJECT lpDataObjectA,
- /* [in] */ LPDATAOBJECT lpDataObjectB);
-
- END_INTERFACE
- } IComponentDataVtbl;
- interface IComponentData
- {
- CONST_VTBL struct IComponentDataVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IComponentData_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IComponentData_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IComponentData_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IComponentData_Initialize(This,pUnknown)
- (This)->lpVtbl -> Initialize(This,pUnknown)
- #define IComponentData_CreateComponent(This,ppComponent)
- (This)->lpVtbl -> CreateComponent(This,ppComponent)
- #define IComponentData_Notify(This,lpDataObject,event,arg,param)
- (This)->lpVtbl -> Notify(This,lpDataObject,event,arg,param)
- #define IComponentData_Destroy(This)
- (This)->lpVtbl -> Destroy(This)
- #define IComponentData_QueryDataObject(This,cookie,type,ppDataObject)
- (This)->lpVtbl -> QueryDataObject(This,cookie,type,ppDataObject)
- #define IComponentData_GetDisplayInfo(This,pScopeDataItem)
- (This)->lpVtbl -> GetDisplayInfo(This,pScopeDataItem)
- #define IComponentData_CompareObjects(This,lpDataObjectA,lpDataObjectB)
- (This)->lpVtbl -> CompareObjects(This,lpDataObjectA,lpDataObjectB)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_Initialize_Proxy(
- IComponentData * This,
- /* [in] */ LPUNKNOWN pUnknown);
- void __RPC_STUB IComponentData_Initialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_CreateComponent_Proxy(
- IComponentData * This,
- /* [out] */ LPCOMPONENT *ppComponent);
- void __RPC_STUB IComponentData_CreateComponent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_Notify_Proxy(
- IComponentData * This,
- /* [in] */ LPDATAOBJECT lpDataObject,
- /* [in] */ MMC_NOTIFY_TYPE event,
- /* [in] */ LPARAM arg,
- /* [in] */ LPARAM param);
- void __RPC_STUB IComponentData_Notify_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_Destroy_Proxy(
- IComponentData * This);
- void __RPC_STUB IComponentData_Destroy_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_QueryDataObject_Proxy(
- IComponentData * This,
- /* [in] */ MMC_COOKIE cookie,
- /* [in] */ DATA_OBJECT_TYPES type,
- /* [out] */ LPDATAOBJECT *ppDataObject);
- void __RPC_STUB IComponentData_QueryDataObject_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_GetDisplayInfo_Proxy(
- IComponentData * This,
- /* [out][in] */ SCOPEDATAITEM *pScopeDataItem);
- void __RPC_STUB IComponentData_GetDisplayInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponentData_CompareObjects_Proxy(
- IComponentData * This,
- /* [in] */ LPDATAOBJECT lpDataObjectA,
- /* [in] */ LPDATAOBJECT lpDataObjectB);
- void __RPC_STUB IComponentData_CompareObjects_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IComponentData_INTERFACE_DEFINED__ */
- #ifndef __IComponent_INTERFACE_DEFINED__
- #define __IComponent_INTERFACE_DEFINED__
- /* interface IComponent */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IComponent;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("43136EB2-D36C-11CF-ADBC-00AA00A80033")
- IComponent : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize(
- /* [in] */ LPCONSOLE lpConsole) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Notify(
- /* [in] */ LPDATAOBJECT lpDataObject,
- /* [in] */ MMC_NOTIFY_TYPE event,
- /* [in] */ LPARAM arg,
- /* [in] */ LPARAM param) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Destroy(
- /* [in] */ MMC_COOKIE cookie) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryDataObject(
- /* [in] */ MMC_COOKIE cookie,
- /* [in] */ DATA_OBJECT_TYPES type,
- /* [out] */ LPDATAOBJECT *ppDataObject) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetResultViewType(
- /* [in] */ MMC_COOKIE cookie,
- /* [out] */ LPOLESTR *ppViewType,
- /* [out] */ long *pViewOptions) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDisplayInfo(
- /* [out][in] */ RESULTDATAITEM *pResultDataItem) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CompareObjects(
- /* [in] */ LPDATAOBJECT lpDataObjectA,
- /* [in] */ LPDATAOBJECT lpDataObjectB) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IComponentVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IComponent * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IComponent * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IComponent * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
- IComponent * This,
- /* [in] */ LPCONSOLE lpConsole);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Notify )(
- IComponent * This,
- /* [in] */ LPDATAOBJECT lpDataObject,
- /* [in] */ MMC_NOTIFY_TYPE event,
- /* [in] */ LPARAM arg,
- /* [in] */ LPARAM param);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Destroy )(
- IComponent * This,
- /* [in] */ MMC_COOKIE cookie);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryDataObject )(
- IComponent * This,
- /* [in] */ MMC_COOKIE cookie,
- /* [in] */ DATA_OBJECT_TYPES type,
- /* [out] */ LPDATAOBJECT *ppDataObject);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetResultViewType )(
- IComponent * This,
- /* [in] */ MMC_COOKIE cookie,
- /* [out] */ LPOLESTR *ppViewType,
- /* [out] */ long *pViewOptions);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDisplayInfo )(
- IComponent * This,
- /* [out][in] */ RESULTDATAITEM *pResultDataItem);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CompareObjects )(
- IComponent * This,
- /* [in] */ LPDATAOBJECT lpDataObjectA,
- /* [in] */ LPDATAOBJECT lpDataObjectB);
-
- END_INTERFACE
- } IComponentVtbl;
- interface IComponent
- {
- CONST_VTBL struct IComponentVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IComponent_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IComponent_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IComponent_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IComponent_Initialize(This,lpConsole)
- (This)->lpVtbl -> Initialize(This,lpConsole)
- #define IComponent_Notify(This,lpDataObject,event,arg,param)
- (This)->lpVtbl -> Notify(This,lpDataObject,event,arg,param)
- #define IComponent_Destroy(This,cookie)
- (This)->lpVtbl -> Destroy(This,cookie)
- #define IComponent_QueryDataObject(This,cookie,type,ppDataObject)
- (This)->lpVtbl -> QueryDataObject(This,cookie,type,ppDataObject)
- #define IComponent_GetResultViewType(This,cookie,ppViewType,pViewOptions)
- (This)->lpVtbl -> GetResultViewType(This,cookie,ppViewType,pViewOptions)
- #define IComponent_GetDisplayInfo(This,pResultDataItem)
- (This)->lpVtbl -> GetDisplayInfo(This,pResultDataItem)
- #define IComponent_CompareObjects(This,lpDataObjectA,lpDataObjectB)
- (This)->lpVtbl -> CompareObjects(This,lpDataObjectA,lpDataObjectB)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_Initialize_Proxy(
- IComponent * This,
- /* [in] */ LPCONSOLE lpConsole);
- void __RPC_STUB IComponent_Initialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_Notify_Proxy(
- IComponent * This,
- /* [in] */ LPDATAOBJECT lpDataObject,
- /* [in] */ MMC_NOTIFY_TYPE event,
- /* [in] */ LPARAM arg,
- /* [in] */ LPARAM param);
- void __RPC_STUB IComponent_Notify_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_Destroy_Proxy(
- IComponent * This,
- /* [in] */ MMC_COOKIE cookie);
- void __RPC_STUB IComponent_Destroy_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_QueryDataObject_Proxy(
- IComponent * This,
- /* [in] */ MMC_COOKIE cookie,
- /* [in] */ DATA_OBJECT_TYPES type,
- /* [out] */ LPDATAOBJECT *ppDataObject);
- void __RPC_STUB IComponent_QueryDataObject_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_GetResultViewType_Proxy(
- IComponent * This,
- /* [in] */ MMC_COOKIE cookie,
- /* [out] */ LPOLESTR *ppViewType,
- /* [out] */ long *pViewOptions);
- void __RPC_STUB IComponent_GetResultViewType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_GetDisplayInfo_Proxy(
- IComponent * This,
- /* [out][in] */ RESULTDATAITEM *pResultDataItem);
- void __RPC_STUB IComponent_GetDisplayInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IComponent_CompareObjects_Proxy(
- IComponent * This,
- /* [in] */ LPDATAOBJECT lpDataObjectA,
- /* [in] */ LPDATAOBJECT lpDataObjectB);
- void __RPC_STUB IComponent_CompareObjects_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IComponent_INTERFACE_DEFINED__ */
- #ifndef __IResultDataCompare_INTERFACE_DEFINED__
- #define __IResultDataCompare_INTERFACE_DEFINED__
- /* interface IResultDataCompare */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IResultDataCompare;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("E8315A52-7A1A-11D0-A2D2-00C04FD909DD")
- IResultDataCompare : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Compare(
- /* [in] */ LPARAM lUserParam,
- /* [in] */ MMC_COOKIE cookieA,
- /* [in] */ MMC_COOKIE cookieB,
- /* [out][in] */ int *pnResult) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IResultDataCompareVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IResultDataCompare * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IResultDataCompare * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IResultDataCompare * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Compare )(
- IResultDataCompare * This,
- /* [in] */ LPARAM lUserParam,
- /* [in] */ MMC_COOKIE cookieA,
- /* [in] */ MMC_COOKIE cookieB,
- /* [out][in] */ int *pnResult);
-
- END_INTERFACE
- } IResultDataCompareVtbl;
- interface IResultDataCompare
- {
- CONST_VTBL struct IResultDataCompareVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IResultDataCompare_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IResultDataCompare_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IResultDataCompare_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IResultDataCompare_Compare(This,lUserParam,cookieA,cookieB,pnResult)
- (This)->lpVtbl -> Compare(This,lUserParam,cookieA,cookieB,pnResult)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultDataCompare_Compare_Proxy(
- IResultDataCompare * This,
- /* [in] */ LPARAM lUserParam,
- /* [in] */ MMC_COOKIE cookieA,
- /* [in] */ MMC_COOKIE cookieB,
- /* [out][in] */ int *pnResult);
- void __RPC_STUB IResultDataCompare_Compare_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IResultDataCompare_INTERFACE_DEFINED__ */
- #ifndef __IResultOwnerData_INTERFACE_DEFINED__
- #define __IResultOwnerData_INTERFACE_DEFINED__
- /* interface IResultOwnerData */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IResultOwnerData;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9CB396D8-EA83-11d0-AEF1-00C04FB6DD2C")
- IResultOwnerData : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindItem(
- /* [in] */ LPRESULTFINDINFO pFindInfo,
- /* [out] */ int *pnFoundIndex) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CacheHint(
- /* [in] */ int nStartIndex,
- /* [in] */ int nEndIndex) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SortItems(
- /* [in] */ int nColumn,
- /* [in] */ DWORD dwSortOptions,
- /* [in] */ LPARAM lUserParam) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IResultOwnerDataVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IResultOwnerData * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IResultOwnerData * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IResultOwnerData * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindItem )(
- IResultOwnerData * This,
- /* [in] */ LPRESULTFINDINFO pFindInfo,
- /* [out] */ int *pnFoundIndex);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CacheHint )(
- IResultOwnerData * This,
- /* [in] */ int nStartIndex,
- /* [in] */ int nEndIndex);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SortItems )(
- IResultOwnerData * This,
- /* [in] */ int nColumn,
- /* [in] */ DWORD dwSortOptions,
- /* [in] */ LPARAM lUserParam);
-
- END_INTERFACE
- } IResultOwnerDataVtbl;
- interface IResultOwnerData
- {
- CONST_VTBL struct IResultOwnerDataVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IResultOwnerData_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IResultOwnerData_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IResultOwnerData_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IResultOwnerData_FindItem(This,pFindInfo,pnFoundIndex)
- (This)->lpVtbl -> FindItem(This,pFindInfo,pnFoundIndex)
- #define IResultOwnerData_CacheHint(This,nStartIndex,nEndIndex)
- (This)->lpVtbl -> CacheHint(This,nStartIndex,nEndIndex)
- #define IResultOwnerData_SortItems(This,nColumn,dwSortOptions,lUserParam)
- (This)->lpVtbl -> SortItems(This,nColumn,dwSortOptions,lUserParam)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultOwnerData_FindItem_Proxy(
- IResultOwnerData * This,
- /* [in] */ LPRESULTFINDINFO pFindInfo,
- /* [out] */ int *pnFoundIndex);
- void __RPC_STUB IResultOwnerData_FindItem_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultOwnerData_CacheHint_Proxy(
- IResultOwnerData * This,
- /* [in] */ int nStartIndex,
- /* [in] */ int nEndIndex);
- void __RPC_STUB IResultOwnerData_CacheHint_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IResultOwnerData_SortItems_Proxy(
- IResultOwnerData * This,
- /* [in] */ int nColumn,
- /* [in] */ DWORD dwSortOptions,
- /* [in] */ LPARAM lUserParam);
- void __RPC_STUB IResultOwnerData_SortItems_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IResultOwnerData_INTERFACE_DEFINED__ */
- #ifndef __IConsole_INTERFACE_DEFINED__
- #define __IConsole_INTERFACE_DEFINED__
- /* interface IConsole */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IConsole;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("43136EB1-D36C-11CF-ADBC-00AA00A80033")
- IConsole : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetHeader(
- /* [in] */ LPHEADERCTRL pHeader) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetToolbar(
- /* [in] */ LPTOOLBAR pToolbar) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryResultView(
- /* [out] */ LPUNKNOWN *pUnknown) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryScopeImageList(
- /* [out] */ LPIMAGELIST *ppImageList) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryResultImageList(
- /* [out] */ LPIMAGELIST *ppImageList) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UpdateAllViews(
- /* [in] */ LPDATAOBJECT lpDataObject,
- /* [in] */ LPARAM data,
- /* [in] */ LONG_PTR hint) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE MessageBox(
- /* [in] */ LPCWSTR lpszText,
- /* [in] */ LPCWSTR lpszTitle,
- /* [in] */ UINT fuStyle,
- /* [out] */ int *piRetval) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryConsoleVerb(
- /* [out] */ LPCONSOLEVERB *ppConsoleVerb) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SelectScopeItem(
- /* [in] */ HSCOPEITEM hScopeItem) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMainWindow(
- /* [out] */ HWND *phwnd) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NewWindow(
- /* [in] */ HSCOPEITEM hScopeItem,
- /* [in] */ unsigned long lOptions) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IConsoleVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IConsole * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IConsole * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IConsole * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetHeader )(
- IConsole * This,
- /* [in] */ LPHEADERCTRL pHeader);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetToolbar )(
- IConsole * This,
- /* [in] */ LPTOOLBAR pToolbar);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryResultView )(
- IConsole * This,
- /* [out] */ LPUNKNOWN *pUnknown);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryScopeImageList )(
- IConsole * This,
- /* [out] */ LPIMAGELIST *ppImageList);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryResultImageList )(
- IConsole * This,
- /* [out] */ LPIMAGELIST *ppImageList);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdateAllViews )(
- IConsole * This,
- /* [in] */ LPDATAOBJECT lpDataObject,
- /* [in] */ LPARAM data,
- /* [in] */ LONG_PTR hint);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *MessageBox )(
- IConsole * This,
- /* [in] */ LPCWSTR lpszText,
- /* [in] */ LPCWSTR lpszTitle,
- /* [in] */ UINT fuStyle,
- /* [out] */ int *piRetval);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryConsoleVerb )(
- IConsole * This,
- /* [out] */ LPCONSOLEVERB *ppConsoleVerb);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SelectScopeItem )(
- IConsole * This,
- /* [in] */ HSCOPEITEM hScopeItem);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMainWindow )(
- IConsole * This,
- /* [out] */ HWND *phwnd);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NewWindow )(
- IConsole * This,
- /* [in] */ HSCOPEITEM hScopeItem,
- /* [in] */ unsigned long lOptions);
-
- END_INTERFACE
- } IConsoleVtbl;
- interface IConsole
- {
- CONST_VTBL struct IConsoleVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IConsole_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IConsole_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IConsole_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IConsole_SetHeader(This,pHeader)
- (This)->lpVtbl -> SetHeader(This,pHeader)
- #define IConsole_SetToolbar(This,pToolbar)
- (This)->lpVtbl -> SetToolbar(This,pToolbar)
- #define IConsole_QueryResultView(This,pUnknown)
- (This)->lpVtbl -> QueryResultView(This,pUnknown)
- #define IConsole_QueryScopeImageList(This,ppImageList)
- (This)->lpVtbl -> QueryScopeImageList(This,ppImageList)
- #define IConsole_QueryResultImageList(This,ppImageList)
- (This)->lpVtbl -> QueryResultImageList(This,ppImageList)
- #define IConsole_UpdateAllViews(This,lpDataObject,data,hint)
- (This)->lpVtbl -> UpdateAllViews(This,lpDataObject,data,hint)
- #define IConsole_MessageBox(This,lpszText,lpszTitle,fuStyle,piRetval)
- (This)->lpVtbl -> MessageBox(This,lpszText,lpszTitle,fuStyle,piRetval)
- #define IConsole_QueryConsoleVerb(This,ppConsoleVerb)
- (This)->lpVtbl -> QueryConsoleVerb(This,ppConsoleVerb)
- #define IConsole_SelectScopeItem(This,hScopeItem)
- (This)->lpVtbl -> SelectScopeItem(This,hScopeItem)
- #define IConsole_GetMainWindow(This,phwnd)
- (This)->lpVtbl -> GetMainWindow(This,phwnd)
- #define IConsole_NewWindow(This,hScopeItem,lOptions)
- (This)->lpVtbl -> NewWindow(This,hScopeItem,lOptions)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_SetHeader_Proxy(
- IConsole * This,
- /* [in] */ LPHEADERCTRL pHeader);
- void __RPC_STUB IConsole_SetHeader_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_SetToolbar_Proxy(
- IConsole * This,
- /* [in] */ LPTOOLBAR pToolbar);
- void __RPC_STUB IConsole_SetToolbar_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_QueryResultView_Proxy(
- IConsole * This,
- /* [out] */ LPUNKNOWN *pUnknown);
- void __RPC_STUB IConsole_QueryResultView_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_QueryScopeImageList_Proxy(
- IConsole * This,
- /* [out] */ LPIMAGELIST *ppImageList);
- void __RPC_STUB IConsole_QueryScopeImageList_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_QueryResultImageList_Proxy(
- IConsole * This,
- /* [out] */ LPIMAGELIST *ppImageList);
- void __RPC_STUB IConsole_QueryResultImageList_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_UpdateAllViews_Proxy(
- IConsole * This,
- /* [in] */ LPDATAOBJECT lpDataObject,
- /* [in] */ LPARAM data,
- /* [in] */ LONG_PTR hint);
- void __RPC_STUB IConsole_UpdateAllViews_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_MessageBox_Proxy(
- IConsole * This,
- /* [in] */ LPCWSTR lpszText,
- /* [in] */ LPCWSTR lpszTitle,
- /* [in] */ UINT fuStyle,
- /* [out] */ int *piRetval);
- void __RPC_STUB IConsole_MessageBox_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_QueryConsoleVerb_Proxy(
- IConsole * This,
- /* [out] */ LPCONSOLEVERB *ppConsoleVerb);
- void __RPC_STUB IConsole_QueryConsoleVerb_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_SelectScopeItem_Proxy(
- IConsole * This,
- /* [in] */ HSCOPEITEM hScopeItem);
- void __RPC_STUB IConsole_SelectScopeItem_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_GetMainWindow_Proxy(
- IConsole * This,
- /* [out] */ HWND *phwnd);
- void __RPC_STUB IConsole_GetMainWindow_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConsole_NewWindow_Proxy(
- IConsole * This,
- /* [in] */ HSCOPEITEM hScopeItem,
- /* [in] */ unsigned long lOptions);
- void __RPC_STUB IConsole_NewWindow_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IConsole_INTERFACE_DEFINED__ */
- #ifndef __IHeaderCtrl_INTERFACE_DEFINED__
- #define __IHeaderCtrl_INTERFACE_DEFINED__
- /* interface IHeaderCtrl */
- /* [unique][helpstring][uuid][object] */
- #define AUTO_WIDTH ( -1 )
- #if (MMC_VER >= 0x0120)
- #define HIDE_COLUMN ( -4 )
- #endif // MMC_VER >= 0x0120
- EXTERN_C const IID IID_IHeaderCtrl;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("43136EB3-D36C-11CF-ADBC-00AA00A80033")
- IHeaderCtrl : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertColumn(
- /* [in] */ int nCol,
- /* [in] */ LPCWSTR title,
- /* [in] */ int nFormat,
- /* [in] */ int nWidth) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteColumn(
- /* [in] */ int nCol) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetColumnText(
- /* [in] */ int nCol,
- /* [in] */ LPCWSTR title) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetColumnText(
- /* [in] */ int nCol,
- /* [out] */ LPOLESTR *pText) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetColumnWidth(
- /* [in] */ int nCol,
- /* [in] */ int nWidth) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetColumnWidth(
- /* [in] */ int nCol,
- /* [out] */ int *pWidth) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IHeaderCtrlVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IHeaderCtrl * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IHeaderCtrl * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IHeaderCtrl * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertColumn )(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [in] */ LPCWSTR title,
- /* [in] */ int nFormat,
- /* [in] */ int nWidth);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteColumn )(
- IHeaderCtrl * This,
- /* [in] */ int nCol);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnText )(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [in] */ LPCWSTR title);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnText )(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [out] */ LPOLESTR *pText);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetColumnWidth )(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [in] */ int nWidth);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetColumnWidth )(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [out] */ int *pWidth);
-
- END_INTERFACE
- } IHeaderCtrlVtbl;
- interface IHeaderCtrl
- {
- CONST_VTBL struct IHeaderCtrlVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IHeaderCtrl_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IHeaderCtrl_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IHeaderCtrl_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IHeaderCtrl_InsertColumn(This,nCol,title,nFormat,nWidth)
- (This)->lpVtbl -> InsertColumn(This,nCol,title,nFormat,nWidth)
- #define IHeaderCtrl_DeleteColumn(This,nCol)
- (This)->lpVtbl -> DeleteColumn(This,nCol)
- #define IHeaderCtrl_SetColumnText(This,nCol,title)
- (This)->lpVtbl -> SetColumnText(This,nCol,title)
- #define IHeaderCtrl_GetColumnText(This,nCol,pText)
- (This)->lpVtbl -> GetColumnText(This,nCol,pText)
- #define IHeaderCtrl_SetColumnWidth(This,nCol,nWidth)
- (This)->lpVtbl -> SetColumnWidth(This,nCol,nWidth)
- #define IHeaderCtrl_GetColumnWidth(This,nCol,pWidth)
- (This)->lpVtbl -> GetColumnWidth(This,nCol,pWidth)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_InsertColumn_Proxy(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [in] */ LPCWSTR title,
- /* [in] */ int nFormat,
- /* [in] */ int nWidth);
- void __RPC_STUB IHeaderCtrl_InsertColumn_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_DeleteColumn_Proxy(
- IHeaderCtrl * This,
- /* [in] */ int nCol);
- void __RPC_STUB IHeaderCtrl_DeleteColumn_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_SetColumnText_Proxy(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [in] */ LPCWSTR title);
- void __RPC_STUB IHeaderCtrl_SetColumnText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_GetColumnText_Proxy(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [out] */ LPOLESTR *pText);
- void __RPC_STUB IHeaderCtrl_GetColumnText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_SetColumnWidth_Proxy(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [in] */ int nWidth);
- void __RPC_STUB IHeaderCtrl_SetColumnWidth_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCtrl_GetColumnWidth_Proxy(
- IHeaderCtrl * This,
- /* [in] */ int nCol,
- /* [out] */ int *pWidth);
- void __RPC_STUB IHeaderCtrl_GetColumnWidth_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IHeaderCtrl_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_mmc_0116 */
- /* [local] */
- enum __MIDL___MIDL_itf_mmc_0116_0001
- { CCM_INSERTIONPOINTID_MASK_SPECIAL = 0xffff0000,
- CCM_INSERTIONPOINTID_MASK_SHARED = 0x80000000,
- CCM_INSERTIONPOINTID_MASK_CREATE_PRIMARY = 0x40000000,
- CCM_INSERTIONPOINTID_MASK_ADD_PRIMARY = 0x20000000,
- CCM_INSERTIONPOINTID_MASK_ADD_3RDPARTY = 0x10000000,
- CCM_INSERTIONPOINTID_MASK_RESERVED = 0xfff0000,
- CCM_INSERTIONPOINTID_MASK_FLAGINDEX = 0x1f,
- CCM_INSERTIONPOINTID_PRIMARY_TOP = 0xa0000000,
- CCM_INSERTIONPOINTID_PRIMARY_NEW = 0xa0000001,
- CCM_INSERTIONPOINTID_PRIMARY_TASK = 0xa0000002,
- CCM_INSERTIONPOINTID_PRIMARY_VIEW = 0xa0000003,
- CCM_INSERTIONPOINTID_3RDPARTY_NEW = 0x90000001,
- CCM_INSERTIONPOINTID_3RDPARTY_TASK = 0x90000002,
- CCM_INSERTIONPOINTID_ROOT_MENU = 0x80000000
- } ;
- enum __MIDL___MIDL_itf_mmc_0116_0002
- { CCM_INSERTIONALLOWED_TOP = 1L << (CCM_INSERTIONPOINTID_PRIMARY_TOP & CCM_INSERTIONPOINTID_MASK_FLAGINDEX),
- CCM_INSERTIONALLOWED_NEW = 1L << (CCM_INSERTIONPOINTID_PRIMARY_NEW & CCM_INSERTIONPOINTID_MASK_FLAGINDEX),
- CCM_INSERTIONALLOWED_TASK = 1L << (CCM_INSERTIONPOINTID_PRIMARY_TASK & CCM_INSERTIONPOINTID_MASK_FLAGINDEX),
- CCM_INSERTIONALLOWED_VIEW = 1L << (CCM_INSERTIONPOINTID_PRIMARY_VIEW & CCM_INSERTIONPOINTID_MASK_FLAGINDEX)
- } ;
- enum __MIDL___MIDL_itf_mmc_0116_0003
- { CCM_COMMANDID_MASK_RESERVED = 0xffff0000
- } ;
- enum __MIDL___MIDL_itf_mmc_0116_0004
- { CCM_SPECIAL_SEPARATOR = 0x1,
- CCM_SPECIAL_SUBMENU = 0x2,
- CCM_SPECIAL_DEFAULT_ITEM = 0x4,
- CCM_SPECIAL_INSERTION_POINT = 0x8,
- CCM_SPECIAL_TESTONLY = 0x10
- } ;
- extern RPC_IF_HANDLE __MIDL_itf_mmc_0116_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_mmc_0116_v0_0_s_ifspec;
- #ifndef __IContextMenuCallback_INTERFACE_DEFINED__
- #define __IContextMenuCallback_INTERFACE_DEFINED__
- /* interface IContextMenuCallback */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IContextMenuCallback;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("43136EB7-D36C-11CF-ADBC-00AA00A80033")
- IContextMenuCallback : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddItem(
- /* [in] */ CONTEXTMENUITEM *pItem) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IContextMenuCallbackVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IContextMenuCallback * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IContextMenuCallback * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IContextMenuCallback * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddItem )(
- IContextMenuCallback * This,
- /* [in] */ CONTEXTMENUITEM *pItem);
-
- END_INTERFACE
- } IContextMenuCallbackVtbl;
- interface IContextMenuCallback
- {
- CONST_VTBL struct IContextMenuCallbackVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IContextMenuCallback_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IContextMenuCallback_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IContextMenuCallback_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IContextMenuCallback_AddItem(This,pItem)
- (This)->lpVtbl -> AddItem(This,pItem)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuCallback_AddItem_Proxy(
- IContextMenuCallback * This,
- /* [in] */ CONTEXTMENUITEM *pItem);
- void __RPC_STUB IContextMenuCallback_AddItem_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IContextMenuCallback_INTERFACE_DEFINED__ */
- #ifndef __IContextMenuProvider_INTERFACE_DEFINED__
- #define __IContextMenuProvider_INTERFACE_DEFINED__
- /* interface IContextMenuProvider */
- /* [unique][helpstring][object][uuid][object] */
- EXTERN_C const IID IID_IContextMenuProvider;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("43136EB6-D36C-11CF-ADBC-00AA00A80033")
- IContextMenuProvider : public IContextMenuCallback
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EmptyMenuList( void) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddPrimaryExtensionItems(
- /* [in] */ LPUNKNOWN piExtension,
- /* [in] */ LPDATAOBJECT piDataObject) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddThirdPartyExtensionItems(
- /* [in] */ LPDATAOBJECT piDataObject) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShowContextMenu(
- /* [in] */ HWND hwndParent,
- /* [in] */ long xPos,
- /* [in] */ long yPos,
- /* [retval][out] */ long *plSelected) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IContextMenuProviderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IContextMenuProvider * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IContextMenuProvider * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IContextMenuProvider * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddItem )(
- IContextMenuProvider * This,
- /* [in] */ CONTEXTMENUITEM *pItem);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EmptyMenuList )(
- IContextMenuProvider * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPrimaryExtensionItems )(
- IContextMenuProvider * This,
- /* [in] */ LPUNKNOWN piExtension,
- /* [in] */ LPDATAOBJECT piDataObject);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddThirdPartyExtensionItems )(
- IContextMenuProvider * This,
- /* [in] */ LPDATAOBJECT piDataObject);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShowContextMenu )(
- IContextMenuProvider * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ long xPos,
- /* [in] */ long yPos,
- /* [retval][out] */ long *plSelected);
-
- END_INTERFACE
- } IContextMenuProviderVtbl;
- interface IContextMenuProvider
- {
- CONST_VTBL struct IContextMenuProviderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IContextMenuProvider_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IContextMenuProvider_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IContextMenuProvider_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IContextMenuProvider_AddItem(This,pItem)
- (This)->lpVtbl -> AddItem(This,pItem)
- #define IContextMenuProvider_EmptyMenuList(This)
- (This)->lpVtbl -> EmptyMenuList(This)
- #define IContextMenuProvider_AddPrimaryExtensionItems(This,piExtension,piDataObject)
- (This)->lpVtbl -> AddPrimaryExtensionItems(This,piExtension,piDataObject)
- #define IContextMenuProvider_AddThirdPartyExtensionItems(This,piDataObject)
- (This)->lpVtbl -> AddThirdPartyExtensionItems(This,piDataObject)
- #define IContextMenuProvider_ShowContextMenu(This,hwndParent,xPos,yPos,plSelected)
- (This)->lpVtbl -> ShowContextMenu(This,hwndParent,xPos,yPos,plSelected)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuProvider_EmptyMenuList_Proxy(
- IContextMenuProvider * This);
- void __RPC_STUB IContextMenuProvider_EmptyMenuList_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuProvider_AddPrimaryExtensionItems_Proxy(
- IContextMenuProvider * This,
- /* [in] */ LPUNKNOWN piExtension,
- /* [in] */ LPDATAOBJECT piDataObject);
- void __RPC_STUB IContextMenuProvider_AddPrimaryExtensionItems_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuProvider_AddThirdPartyExtensionItems_Proxy(
- IContextMenuProvider * This,
- /* [in] */ LPDATAOBJECT piDataObject);
- void __RPC_STUB IContextMenuProvider_AddThirdPartyExtensionItems_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IContextMenuProvider_ShowContextMenu_Proxy(
- IContextMenuProvider * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ long xPos,
- /* [in] */ long yPos,
- /* [retval][out] */ long *plSelected);
- void __RPC_STUB IContextMenuProvider_ShowContextMenu_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IContextMenuProvider_INTERFACE_DEFINED__ */
- #ifndef __IExtendContextMenu_INTERFACE_DEFINED__
- #define __IExtendContextMenu_INTERFACE_DEFINED__
- /* interface IExtendContextMenu */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IExtendContextMenu;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("4F3B7A4F-CFAC-11CF-B8E3-00C04FD8D5B0")
- IExtendContextMenu : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddMenuItems(
- /* [in] */ LPDATAOBJECT piDataObject,
- /* [in] */ LPCONTEXTMENUCALLBACK piCallback,
- /* [out][in] */ long *pInsertionAllowed) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Command(
- /* [in] */ long lCommandID,
- /* [in] */ LPDATAOBJECT piDataObject) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IExtendContextMenuVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IExtendContextMenu * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IExtendContextMenu * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IExtendContextMenu * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddMenuItems )(
- IExtendContextMenu * This,
- /* [in] */ LPDATAOBJECT piDataObject,
- /* [in] */ LPCONTEXTMENUCALLBACK piCallback,
- /* [out][in] */ long *pInsertionAllowed);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Command )(
- IExtendContextMenu * This,
- /* [in] */ long lCommandID,
- /* [in] */ LPDATAOBJECT piDataObject);
-
- END_INTERFACE
- } IExtendContextMenuVtbl;
- interface IExtendContextMenu
- {
- CONST_VTBL struct IExtendContextMenuVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IExtendContextMenu_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IExtendContextMenu_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IExtendContextMenu_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IExtendContextMenu_AddMenuItems(This,piDataObject,piCallback,pInsertionAllowed)
- (This)->lpVtbl -> AddMenuItems(This,piDataObject,piCallback,pInsertionAllowed)
- #define IExtendContextMenu_Command(This,lCommandID,piDataObject)
- (This)->lpVtbl -> Command(This,lCommandID,piDataObject)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendContextMenu_AddMenuItems_Proxy(
- IExtendContextMenu * This,
- /* [in] */ LPDATAOBJECT piDataObject,
- /* [in] */ LPCONTEXTMENUCALLBACK piCallback,
- /* [out][in] */ long *pInsertionAllowed);
- void __RPC_STUB IExtendContextMenu_AddMenuItems_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IExtendContextMenu_Command_Proxy(
- IExtendContextMenu * This,
- /* [in] */ long lCommandID,
- /* [in] */ LPDATAOBJECT piDataObject);
- void __RPC_STUB IExtendContextMenu_Command_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IExtendContextMenu_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_mmc_0119 */
- /* [local] */
- #if (MMC_VER >= 0x0120)
- #define ILSIF_LEAVE_LARGE_ICON 0x40000000
- #define ILSIF_LEAVE_SMALL_ICON 0x20000000
- #define ILSIF_LEAVE_MASK (ILSIF_LEAVE_LARGE_ICON | ILSIF_LEAVE_SMALL_ICON)
- #define ILSI_LARGE_ICON(nLoc) (nLoc | ILSIF_LEAVE_SMALL_ICON)
- #define ILSI_SMALL_ICON(nLoc) (nLoc | ILSIF_LEAVE_LARGE_ICON)
- #endif // MMC_VER >= 0x0120
- extern RPC_IF_HANDLE __MIDL_itf_mmc_0119_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_mmc_0119_v0_0_s_ifspec;
- #ifndef __IImageList_INTERFACE_DEFINED__
- #define __IImageList_INTERFACE_DEFINED__
- /* interface IImageList */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IImageList;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("43136EB8-D36C-11CF-ADBC-00AA00A80033")
- IImageList : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ImageListSetIcon(
- /* [in] */ LONG_PTR *pIcon,
- /* [in] */ long nLoc) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ImageListSetStrip(
- /* [in] */ LONG_PTR *pBMapSm,
- /* [in] */ LONG_PTR *pBMapLg,
- /* [in] */ long nStartLoc,
- /* [in] */ COLORREF cMask) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IImageListVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IImageList * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IImageList * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IImageList * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ImageListSetIcon )(
- IImageList * This,
- /* [in] */ LONG_PTR *pIcon,
- /* [in] */ long nLoc);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ImageListSetStrip )(
- IImageList * This,
- /* [in] */ LONG_PTR *pBMapSm,
- /* [in] */ LONG_PTR *pBMapLg,
- /* [in] */ long nStartLoc,
- /* [in] */ COLORREF cMask);
-
- END_INTERFACE
- } IImageListVtbl;
- interface IImageList
- {
- CONST_VTBL struct IImageListVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IImageList_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IImageList_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IImageList_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IImageList_ImageListSetIcon(This,pIcon,nLoc)
- (This)->lpVtbl -> ImageListSetIcon(This,pIcon,nLoc)
- #define IImageList_ImageListSetStrip(This,pBMapSm,pBMapLg,nStartLoc,cMask)
- (This)->lpVtbl -> ImageListSetStrip(This,pBMapSm,pBMapLg,nStartLoc,cMask)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IImageList_ImageListSetIcon_Proxy(
- IImageList * This,
- /* [in] */ LONG_PTR *pIcon,
- /* [in] */ long nLoc);
- void __RPC_STUB IImageList_ImageListSetIcon_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IImageList_ImageListSetStrip_Proxy(
- IImageList * This,
- /* [in] */ LONG_PTR *pBMapSm,
- /* [in] */ LONG_PTR *pBMapLg,
- /* [in] */ long nStartLoc,
- /* [in] */ COLORREF cMask);
- void __RPC_STUB IImageList_ImageListSetStrip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IImageList_INTERFACE_DEFINED__ */
- #ifndef __IResultData_INTERFACE_DEFINED__
- #define __IResultData_INTERFACE_DEFINED__
- /* interface IResultData */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IResultData;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("31DA5FA0-E0EB-11cf-9F21-00AA003CA9F6")
- IResultData : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertItem(
- /* [out][in] */ LPRESULTDATAITEM item) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteItem(
- /* [in] */ HRESULTITEM itemID,
- /* [in] */ int nCol) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindItemByLParam(
- /* [in] */ LPARAM lParam,
- /* [out] */ HRESULTITEM *pItemID) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteAllRsltItems( void) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetItem(
- /* [in] */ LPRESULTDATAITEM item) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetItem(
- /* [out][in] */ LPRESULTDATAITEM item) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNextItem(
- /* [out][in] */ LPRESULTDATAITEM item) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ModifyItemState(
- /* [in] */ int nIndex,
- /* [in] */ HRESULTITEM itemID,
- /* [in] */ UINT uAdd,
- /* [in] */ UINT uRemove) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ModifyViewStyle(
- /* [in] */ MMC_RESULT_VIEW_STYLE add,
- /* [in] */ MMC_RESULT_VIEW_STYLE remove) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetViewMode(
- /* [in] */ long lViewMode) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetViewMode(
- /* [out] */ long *lViewMode) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UpdateItem(
- /* [in] */ HRESULTITEM itemID) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Sort(
- /* [in] */ int nColumn,
- /* [in] */ DWORD dwSortOptions,
- /* [in] */ LPARAM lUserParam) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDescBarText(
- /* [in] */ LPOLESTR DescText) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetItemCount(
- /* [in] */ int nItemCount,
- /* [in] */ DWORD dwOptions) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IResultDataVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IResultData * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IResultData * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IResultData * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertItem )(
- IResultData * This,
- /* [out][in] */ LPRESULTDATAITEM item);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteItem )(
- IResultData * This,
- /* [in] */ HRESULTITEM itemID,
- /* [in] */ int nCol);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindItemByLParam )(
- IResultData * This,
- /* [in] */ LPARAM lParam,
- /* [out] */ HRESULTITEM *pItemID);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteAllRsltItems )(
- IResultData * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetItem )(
- IResultData * This,
- /* [in] */ LPRESULTDATAITEM item);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetItem )(
- IResultData * This,
- /* [out][in] */ LPRESULTDATAITEM item);