Resolution of Multiple Aggregation Components Supporting the Same Interface
It's highly unlikely that two extensions expose the same interface to ADSI. If this happens, however, the following rules apply:
- If an interface, such as IFoo, is supported by both the aggregator (ADSI) and any extension objects, QueryInterface will always return the IFoo for ADSI.
- If an interface, such as IFoo, is not supported by the aggregator (ADSI) but is supported by more than one extension object, QueryInterface will always return the IFoo of the first extension object listed in the registry which supports the interface.
Please note that the ordering of components in the registry will also affect the resolution of name conflicts in Automation . Please see Resolution of Function/Property Name Conflicts in Automation in Extensions.