Partager via


CCF_MMC_DYNAMIC_EXTENSIONS clipboard format

For MMC 1.1 and later, the CCF_MMC_DYNAMIC_EXTENSIONS clipboard format enables a snap-in to add any of the following types of extensions to its own scope or result items: context menu, toolbar, property sheet, or taskpad.

Data Format

SMMCDynamicExtensions structure.

Remarks

For a snap-in to support dynamic extension of its scope or result items with non-namespace extensions (that is, context menu, toolbar, property sheet, or taskpad extensions), the clipboard format CCF_MMC_DYNAMIC_EXTENSIONS must be handled in the snap-in IDataObject implementation. For more information, see Dynamic Non-Namespace Extensions.

Be aware that the extension snap-in must be a non-namespace extension and the MMC registry entries for the snap-in to be extended as well as the extension snap-in must be set correctly. For more information about how to set an MMC registry entry for extensions, see Registration Requirements for Extension Snap-ins.

The CCF_MMC_DYNAMIC_EXTENSIONS clipboard format extends only non-namespace extensions. To dynamically add namespace extensions, the snap-in must use the IConsoleNameSpace2::AddExtension method. For more information, see Dynamic Namespace Extensions.

Just before MMC must use an extensible feature (that is, just before creating and that displays a context menu, property sheet, toolbar, or taskpad), MMC calls IDataObject::GetData on the data object for the selected item and asks for dynamic extensions to add through the CCF_MMC_DYNAMIC_EXTENSIONS clipboard format. Based on CLSIDs passed in the SMMCDynamicExtensions structure, MMC attempts to add the specified extensions to the extensible feature. If an extension is unavailable or unregistered, MMC skips that extension and continues to the next CLSID passed in the structure.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Mmc.h