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.
The IComponent interface inherits from the IUnknown interface. IComponent also has these types of members:
The IComponent interface has these methods.
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.
The IComponent::Destroy method releases all references to the console that are held by this component.
The IComponent::GetDisplayInfo method retrieves display information for an item in the result pane.
The IComponent::GetResultViewType method determines what the result pane view should be.
The IComponent::Initialize method provides an entry point to the console.
The IComponent::Notify method notifies the snap-in of actions taken by the user.
The IComponent::QueryDataObject method returns a data object that can be used to retrieve context information for the specified cookie.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|