IViewExtensionCallback interface

The IViewExtensionCallback interface is used to add a view to the result pane. During the call to the view extension's IExtendView::GetViews method, MMC provides an IViewExtensionCallback interface pointer; this pointer is valid only during the call and should not be saved for later use.

When to implement

Do not implement this interface. The IViewExtensionCallback interface is implemented by MMC.

When to use

Use the IViewExtensionCallback interface when you create a view extension. Your view extension implements the IExtendView interface. When MMC calls your view extension's implementation of the IExtendView::GetViews method, a pointer to the IViewExtensionCallback interface is provided. MMC calls your view extension's implementation of the IExtendView::GetViews method when a node, extended by your view extension, is selected.

Members

The IViewExtensionCallback interface inherits from the IUnknown interface. IViewExtensionCallback also has these types of members:

Methods

The IViewExtensionCallback interface has these methods.

MethodDescription
AddView

Adds a view to the result pane, and optionally removes the standard view.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

Library

Mmc.lib

DLL

Mmcndmgr.dll

See also

Extending Views
View Extension Mechanism
IExtendView
IExtendView::GetViews

 

 

Show: