IResultDataCompare interface (mmc.h)

The IResultDataCompare interface allows primary snap-ins to compare result items that are displayed in a sorted order in the result pane. MMC uses a primary snap-in's implementation of this interface for all results items. Scope items from either the primary snap-in or any extensions are left unsorted at the top of the list.

The IResultDataCompare interface differs from the IResultDataCompareEx interface. IResultDataCompareEx allows primary snap-ins to compare both scope and result items.


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


The IResultDataCompare interface has these methods.

Method Description
IResultDataCompare::Compare Provides a way for a primary snap-in to compare cookies for the purpose of sorting the result items that it inserts in the result pane.


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