IComponent interface (mmc.h)

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.

Inheritance

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

Methods

The IComponent interface has these methods.

 
IComponent::CompareObjects

The IComponent::CompareObjects method enables a snap-in to compare two data objects acquired through IComponent::QueryDataObject. Be aware that data objects can be acquired from two different instances of IComponent.
IComponent::Destroy

The IComponent::Destroy method releases all references to the console that are held by this component.
IComponent::GetDisplayInfo

The IComponent::GetDisplayInfo method retrieves display information for an item in the result pane.
IComponent::GetResultViewType

The IComponent::GetResultViewType method determines what the result pane view should be.
IComponent::Initialize

The IComponent::Initialize method provides an entry point to the console.
IComponent::Notify

The IComponent::Notify method notifies the snap-in of actions taken by the user.
IComponent::QueryDataObject

The IComponent::QueryDataObject method returns a data object that can be used to retrieve context information for the specified cookie.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h