Partager via


CCF_DISPLAY_NAME clipboard format

The CCF_DISPLAY_NAME clipboard format is required for a snap-in to specify the display name for the snap-in's static node, which is displayed in the Standalone tab of the Add/Remove Snap-ins dialog box and the scope pane.

Data Format

WCHAR string. Return a string that contains the name to display for the snap-in's static node.

Remarks

Every snap-in must support this format in its IDataObject::GetDataHere implementation.

When a stand-alone snap-in is added to a console file, MMC calls the snap-in's IDataObject::GetDataHere method requesting the CCF_DISPLAY_NAME clipboard format to retrieve the display name for the snap-in's static node. Be aware that IDataObject::GetDataHere is called when the static node is first displayed in the Standalone tab of the Add/Remove Snap-ins dialog box and when the static node is first added to the scope pane. After the initial creation of the static node, a snap-in must use the IConsoleNameSpace2::SetItem method to change the static node's name.

Requirements

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