IComponentData::CompareObjects method (mmc.h)

The IComponentData::CompareObjects method enables a snap-in to compare two data objects acquired through QueryDataObject. Be aware that the data objects can be acquired from two different instances of IComponentData.

Syntax

HRESULT CompareObjects(
  [in] LPDATAOBJECT lpDataObjectA,
  [in] LPDATAOBJECT lpDataObjectB
);

Parameters

[in] lpDataObjectA

A pointer to the first data object exposing an IDataObject interface that is to be compared.

[in] lpDataObjectB

A pointer to the second data object exposing an IDataObject interface that is to be compared.

Return value

This method can return one of these values.

Requirements

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

See also

IComponent

IComponentData

IConsole2