IComponentData::CompareObjects

[This is preliminary documentation and subject to change.]

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

HRESULT CompareObjects(
  LPDATAOBJECT lpDataObjectA,  // pointer to the first data object
  LPDATAOBJECT lpDataObjectB  // pointer to the second data object
);
 

Parameters

lpDataObjectA
[in] Pointer to the first data object exposing an IDataObject interface that is to be compared.
lpDataObjectB
[in] Pointer to the second data object exposing an IDataObject interface that is to be compared.

Return Values

S_OK
The comparison was successful.
S_FALSE
The comparison was unsuccessful.
E_UNEXPECTED
An unexpected error occurred.

Remarks

The IDataObject interface is documented in the Platform SDK.

See Also

IComponent, IComponentData, IConsole