IProvideMultipleClassInfo interface
An extension to IProvideClassInfo2 that makes it faster and easier to retrieve type information from a component that may have multiple coclasses that determine its behavior.
When to implement
Implement IProvideMultipleClassInfo on an object that aggregates from another. The component that aggregates is responsible for returning type information that will describe both components. By implementing this interface and publishing the way that the type information blocks are ordered, a component can provide both type information blocks.
When to use
Clients call the methods of the IProvideMultipleClassInfo interface to specify the kinds of information they are looking for. This allows more than one kind of information to be returned with a single call.
Members
The IProvideMultipleClassInfo interface inherits from IProvideClassInfo2. IProvideMultipleClassInfo also has these types of members:
Methods
The IProvideMultipleClassInfo interface has these methods.
| Method | Description |
|---|---|
| GetInfoOfIndex |
Retrieves the type information from the specified index. |
| GetMultiTypeInfoCount |
Retrieves the number of type information blocks that this object must provide. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IProvideMultipleClassInfo is defined as A7ABA9C1-8983-11cf-8F20-00805F2CD064 |