IComponent::CompareObjects

[This is preliminary documentation and subject to change.]

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

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 object exposing an IDataObject interface that is to be compared.
lpDataObjectB
[in] Pointer to the second 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