IComponent::CompareObjects method (mmc.h)
The IComponent::CompareObjects method enables a snap-in to compare two data objects acquired through IComponent::QueryDataObject. Be aware that data objects can be acquired from two different instances of IComponent.
Syntax
HRESULT CompareObjects(
[in] LPDATAOBJECT lpDataObjectA,
[in] LPDATAOBJECT lpDataObjectB
);
Parameters
[in] lpDataObjectA
A pointer to the first object exposing an IDataObject interface that is to be compared.
[in] lpDataObjectB
A pointer to the second object exposing an IDataObject interface that is to be compared.
Return value
This method can return one of these values.
Remarks
The IDataObject interface is documented in the Platform Software Development Kit (SDK).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |