Partager via


IBDAComparable interface (tuner.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.

The IBDAComparable interface compares two objects to determine whether they contain the same or equivalent tuning information. DirectShow supports this interface in its implementation of the IComponent, IComponentType, ITuneRequest, ILocator, and ITuningSpace base interfaces and in the derived interfaces that inherit from these base interfaces. An application can query a component, component-type, tune-request, locator, or tuning-space object for an IBDAComparable interface that it can use to compare the tuning properties of the object to those of another object of the same type.

To support comparisons of the tuning properties of similar objects, two of the methods in this interface compare the property values directly. The remaining methods generate 64-bit CRC values from the property values for each object that the caller can compare to determine whether the objects have the same or equivalent properties.

Inheritance

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

Methods

The IBDAComparable interface has these methods.

 
IBDAComparable::CompareEquivalent

The CompareEquivalent method compares two objects to determine whether they contain equivalent tuning information.
IBDAComparable::CompareExact

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
IBDAComparable::HashEquivalent

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
IBDAComparable::HashEquivalentIncremental

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
IBDAComparable::HashExact

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
IBDAComparable::HashExactIncremental

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.

Remarks

To declare the interface identifier (IID) for this interface, use the __uuidof operator: __uuidof(IBDAComparable).

Requirements

Requirement Value
Target Platform Windows
Header tuner.h

See also

BDA Interfaces