mmc.h header

This header is used by multiple technologies. For more information, see:

mmc.h contains the following programming interfaces:

Interfaces

 
IColumnData

The IColumnData interface is introduced in MMC 1.2.
IComponent

The IComponent interface enables MMC to communicate with snap-ins. Similar to the IComponentData interface, IComponent is typically implemented at the view level and is closely associated with items being displayed in the result pane.
IComponent2

The IComponent2 interface, implemented by snap-ins, is introduced in MMC 2.0 and supersedes the IComponent interface.
IComponentData

The IComponentData interface enables MMC to communicate with snap-ins. Similar to the IComponent interface, IComponentData is typically implemented at the document level and is closely associated with items (folders) being displayed in the scope pane.
IComponentData2

The IComponentData2 interface supersedes the IComponentData interface.
IConsole

Enables communication with the console.
IConsole2

The IConsole2 interface is introduced in MMC 1.1.
IConsole3

The IConsole3 interface supersedes the IConsole2 interface. The IConsole3 interface contains the IConsole3::RenameScopeItem method, which allows a scope node to programmatically be placed in rename mode.
IConsoleNameSpace

Enables snap-ins to enumerate dynamic subcontainers in the scope pane. The particular snap-in determines what qualifies as a subcontainer.
IConsoleNameSpace2

The IConsoleNameSpace2 interface is introduced in MMC 1.1.
IConsolePower

The IConsolePower interface controls the execution state and idle timers on operating systems that support power management.
IConsolePowerSink

The IConsolePowerSink interface monitors and responds to power management messages.
IConsoleVerb

The IConsoleVerb interface allows snap-ins to enable standard verbs including cut, copy, paste, delete, properties, rename, refresh, and print. When an item is selected, the snap-in can update the state of these verbs.
IContextMenuCallback

The IContextMenuCallback interface is used to add menu items to a context menu.
IContextMenuCallback2

The IContextMenuCallback2 interface is used to add menu items to a context menu. This interface supersedes IContextMenuCallback.
IContextMenuProvider

The IContextMenuProvider interface implements methods that create new context menus, for the purpose of adding items to those menus, to enable extensions to extend those menus, and to display the resulting context menus.
IControlbar

The IControlbar interface provides a way to create toolbars and other controls.
IDisplayHelp

The IDisplayHelp interface is introduced in MMC version 1.1.
IEnumTASK

The IEnumTASK interface is introduced in MMC 1.1.
IExtendContextMenu

The IExtendContextMenu interface enables a snap-in to add items to an existing context menu.
IExtendControlbar

The IExtendControlbar interface enables an extension to add control bars to the console. This provides a way to improve the functionality and appearance of your snap-in by adding toolbars or other user interface enhancements.
IExtendPropertySheet

Enables a snap-in component to add pages to the property sheet of an item.
IExtendPropertySheet2

The IExtendPropertySheet2 interface is introduced in MMC 1.1.
IExtendTaskPad

The IExtendTaskPad interface is introduced in MMC 1.1.
IExtendView

The IExtendView interface provides information about the extended view.
IHeaderCtrl

Enables the manipulation of columns and indicates the kind of information that is to be presented in the result view pane of the console.
IHeaderCtrl2

The IHeaderCtrl2 interface is introduced in MMC 1.2.
IImageList

The IImageList interface enables the user to insert images to be used as icons for items in the result or scope pane of the console.
IMenuButton

The IMenuButton interface enables the user to add and manage menu buttons for a snap-in.
IMessageView

The IMessageView interface is introduced in MMC 1.2.
IMMCVersionInfo

The IMMCVersionInfo interface provides version information about the installed MMC application.
INodeProperties

The INodeProperties interface retrieves text-only properties for a node.
IPropertySheetCallback

The IPropertySheetCallback interface is a COM-based interface used by a snap-in to add its property pages to a property sheet.
IPropertySheetProvider

The IPropertySheetProvider interface implements Windows property sheets as COM objects.
IRequiredExtensions

The IRequiredExtensions interface is introduced in MMC 1.1.
IResultData

The IResultData interface enables a user to add, remove, find, and modify items associated with the result view pane. It also enables the manipulation of the view style of the result view pane.
IResultData2

The IResultData2 interface supersedes the IResultData interface. The IResultData2 interface contains the IResultData2::RenameResultItem method, which allows a result node to programmatically be put in rename mode.
IResultDataCompare

Allows primary snap-ins to compare result items that are displayed in a sorted order in the result pane.
IResultDataCompareEx

Allows primary snap-ins to compare both scope and result items that are displayed in a sorted order in the result pane.
IResultOwnerData

The IResultOwnerData interface supports the use of virtual lists, which are list-view controls that have the LVS_OWNERDATA style set.
ISnapinAbout

The ISnapinAbout interface enables the console to get copyright and version information from a snap-in. The console also uses this interface to obtain images for the static folder from the snap-in.
ISnapinHelp

Allows snap-ins to add HTML Help support. (ISnapinHelp)
ISnapinHelp2

Allows snap-ins to add HTML Help support. (ISnapinHelp2)
IStringTable

The IStringTable interface is introduced in MMC 1.1.
IToolbar

The IToolbar interface is used to create new toolbars, to add items to them, to extend the toolbars, and to display the resultant new toolbars. Each toolbar is created on its own band within the control bar.
IViewExtensionCallback

The IViewExtensionCallback interface is used to add a view to the result pane.

Functions

 
IS_SPECIAL_COOKIE

The IS_SPECIAL_COOKIE macro determines whether an MMC_COOKIE value passed by MMC in a call to the snap-in's IComponent::QueryDataObject method is a special type of cookie.
IS_SPECIAL_DATAOBJECT

Determines whether an LPDATAOBJECT passed by MMC in a call to the snap-in's Notify method is a special type of data object instead of a pointer to an actual IDataObject object.
MMCFreeNotifyHandle

Called by a snap-in to free the handle to an MMCN_PROPERTY_CHANGE notification message sent to the snap-in by MMC in response to an MMCPropertyChangeNotify call made by a property sheet.
MMCPropertyChangeNotify

Enables a snap-in property sheet to notify its IComponent or IComponentData interface that an item's properties have changed.
MMCPropertyHelp

Displays the specified HTML Help topic in the merged MMC HTML Help file for a property page.
MMCPropPageCallback

The MMCPropPageCallback function is only required by Microsoft Foundation Classes (MFC)-based snap-ins. The function sets the correct module state during page creation.

Structures

 
CONTEXTMENUITEM

The CONTEXTMENUITEM structure is passed to the IContextMenuCallback::AddItem method or the IContextMenuProvider::AddItem method (inherited from IContextMenuCallback) to define a new menu item, submenu, or insertion point.
CONTEXTMENUITEM2

The CONTEXTMENUITEM2 structure is introduced in MMC 2.0.
MENUBUTTONDATA

The MENUBUTTONDATA structure contains values used to create buttons on a toolbar.
MMC_COLUMN_DATA

The MMC_COLUMN_DATA structure is introduced in MMC 1.2.
MMC_COLUMN_SET_DATA

The MMC_COLUMN_SET_DATA structure is introduced in MMC 1.2.
MMC_EXPANDSYNC_STRUCT

The MMC_EXPANDSYNC_STRUCT structure is introduced in MMC 1.1.
MMC_EXT_VIEW_DATA

The MMC_EXT_VIEW_DATA structure is introduced in MMC 2.0.
MMC_FILTERDATA

The MMC_FILTERDATA structure is introduced in MMC 1.2.
MMC_LISTPAD_INFO

The MMC_LISTPAD_INFO structure is introduced in MMC 1.1.
MMC_RESTORE_VIEW

The MMC_RESTORE_VIEW structure is introduced in MMC 1.1.
MMC_SORT_DATA

Contains the column sort data of a single column in a column set.
MMC_SORT_SET_DATA

Used with setting and retrieving list view column sets whose sort data is stored persistently.
MMC_TASK

The MMC_TASK structure is introduced in MMC 1.1.
MMC_TASK_DISPLAY_BITMAP

The MMC_TASK_DISPLAY_BITMAP structure is introduced in MMC 1.1.
MMC_TASK_DISPLAY_OBJECT

Specifies the type of image and all the data required to use that image to display a task or the background on a taskpad.
MMC_TASK_DISPLAY_SYMBOL

The MMC_TASK_DISPLAY_SYMBOL structure is introduced in MMC 1.1.
MMC_VISIBLE_COLUMNS

Used by MMC with the MMCN_COLUMNS_CHANGED notification to inform the snap-in which columns in a column set are visible.
MMCBUTTON

The MMCBUTTON structure contains values used in creating buttons on a toolbar. This structure is similar to the TBBUTTON structure discussed in the Platform Software Development Kit (SDK) topics related to common controls.
RDCOMPARE

The RDCOMPARE structure is introduced in MMC 1.2.
RDITEMHDR

The RDITEMHDR structure is introduced in MMC 1.2.
RESULT_VIEW_TYPE_INFO

The RESULT_VIEW_TYPE_INFO structure is introduced in MMC 2.0.
RESULTDATAITEM

The RESULTDATAITEM structure specifies or receives the attributes of result items in the result pane of the snap-in.
RESULTFINDINFO

Used by the IResultOwnerData::FindItem method to support keyboard navigation in virtual lists in the result pane.
SColumnSetID

The SColumnSetID structure is introduced in MMC 1.2.
SCOPEDATAITEM

The SCOPEDATAITEM structure specifies items to be inserted into the scope pane.
SMMCDataObjects

The SMMCDataObjects structure defines the format of the data for the CCF_MULTI_SELECT_SNAPINS clipboard format.
SMMCObjectTypes

The SMMCDynamicExtensions structure is introduced in MMC 1.1.
SNodeID

The SNodeID structure is introduced in MMC 1.1, and is replaced by the SNodeID2 structure in MMC 1.2.
SNodeID2

The SNodeID2 structure is introduced in MMC 1.2, and replaces the SNodeID structure.

Enumerations

 
DATA_OBJECT_TYPES

The DATA_OBJECT_TYPES enumeration is used by the type parameter of IComponentData::QueryDataObject and IComponent::QueryDataObject to obtain context information about a specified cookie.
IconIdentifier

The IconIdentifier enumeration is introduced in MMC 1.2.
MMC_ACTION_TYPE

The MMC_ACTION_TYPE enumeration is introduced in MMC 1.1.
MMC_BUTTON_STATE

The MMC_BUTTON_STATE enumeration defines the possible states of buttons available in MMC. These values are used in the nState parameter of IConsoleVerb::GetVerbState, IConsoleVerb::SetVerbState, IToolbar::GetButtonState, and IToolbar::SetButtonState.
MMC_CONSOLE_VERB

The MMC_CONSOLE_VERB enumeration defines the command identifiers available for MMC verbs. These values are used in the m_eCmdID parameter of IConsoleVerb::GetVerbState, IConsoleVerb::SetVerbState, and IConsoleVerb::SetDefaultVerb.
MMC_CONTROL_TYPE

The MMC_CONTROL_TYPE enumeration defines the kinds of controls that can appear in the control bar. The values can be used in the nType parameter of the IControlbar::Attach and IControlbar::Create methods.
MMC_FILTER_CHANGE_CODE

The MMC_FILTER_CHANGE_CODE enumeration is introduced in MMC 1.2.
MMC_FILTER_TYPE

The MMC_FILTER_TYPE enumeration is introduced in MMC 1.2.
MMC_MENU_COMMAND_IDS

The MMC_MENU_COMMAND_IDS enumeration defines the Command Identifiers that are reserved by MMC.
MMC_NOTIFY_TYPE

The MMC_NOTIFY_TYPE enumeration defines the notifications of user actions that can be sent to a snap-in by the console's Node Manager when it calls IComponentData::Notify, IComponent::Notify, or IExtendControlbar::ControlbarNotify.
MMC_RESULT_VIEW_STYLE

The MMC_RESULT_VIEW_STYLE enumeration defines the Win32 list view style (LVS_*) flags that can be used to set the view style in the MMC result view pane. They can be used in the add and remove parameters of the IResultData::ModifyViewStyle method.
MMC_SCOPE_ITEM_STATE

Used to specify the nState member of the SCOPEDATAITEM structure.
MMC_TASK_DISPLAY_TYPE

The MMC_TASK_DISPLAY_TYPE enumeration is introduced in MMC 1.1.
MMC_VIEW_TYPE

The MMC_VIEW_TYPE enumeration specifies a result view type and is used in the RESULT_VIEW_TYPE_INFO structure.