Condividi tramite


IBDAComparable::HashExact method (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 HashExact method generates a hash code for all of the tuning properties of an object.

Syntax

HRESULT HashExact(
  [out] __int64 *Result
);

Parameters

[out] Result

Receives the result of the hash operation. This result is the hash code for the tuning properties of the object and its associated objects that are to be included in comparisons with other objects.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method generates a hash code from the values of the tuning properties in the object that implements the IBDAComparable interface, and its associated objects.

The caller can compare the resulting hash code to the hash code for another object of the same type to determine whether the two objects contain the same tuning information. The hash code incorporates the tuning properties in the object and its associated objects. If the hash codes for the two objects are identical, the two objects contain the same tuning information.

Requirements

Requirement Value
Target Platform Windows
Header tuner.h

See also

HashExactIncremental

IBDAComparable Interface