IComponentData2 interface

The IComponentData2 interface supersedes the IComponentData interface. The IComponentData2 interface contains the IComponentData2::QueryDispatch method, which provides an IDispatch interface to the View object for use with the MMC 2.0 Automation Object Model.

Members

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

Methods

The IComponentData2 interface has these methods.

MethodDescription
CompareObjects

Enables a snap-in to compare two data objects acquired through QueryDataObject. Be aware that data objects can be acquired from two different instances of IComponentData.

(Inherited from IComponentData)
CreateComponent

Creates a component that will be associated with this IComponentData interface.

(Inherited from IComponentData)
Destroy

Releases all references to the console.

(Inherited from IComponentData)
GetDisplayInfo

Retrieves display information about an item in the scope pane.

(Inherited from IComponentData)
Initialize

Provides an entry point to the console.

(Inherited from IComponentData)
Notify

Called by the console to notify the snap-in of actions taken by a user.

(Inherited from IComponentData)
QueryDataObject

Returns a data object that can be used to retrieve context information for the specified cookie.

(Inherited from IComponentData)
QueryDispatch

Returns an IDispatch interface for the specified cookie; MMC will expose the IDispatch interface through the MMC 2.0 Automation Object Model.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

 

 

Show: