IEvalRat interface (tvratings.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.]

The IEvalRat interface is used to evaluate content ratings carried by a broadcast stream. This interface is exposed by the EvalRat (ratings evaluator) object. The EvalRat object is implemented by third parties.

The Encrypter/Tagger filter and the Decrypter/Detagger filter use this interface. Applications use the interfaces exposed by those filters, but typically do not use the IEvalRat interface.

Inheritance

The IEvalRat interface inherits from the IDispatch interface. IEvalRat also has these types of members:

Methods

The IEvalRat interface has these methods.

 
IEvalRat::get_BlockedRatingAttributes

The get_BlockedRatingAttributes method determines whether content is blocked for a given rating system and rating level.
IEvalRat::get_BlockUnRated

The get_BlockUnRated method indicates whether a program without rating information is blocked.
IEvalRat::MostRestrictiveRating

The MostRestrictiveRating method compares two ratings and returns the more restrictive of the two.
IEvalRat::put_BlockedRatingAttributes

The put_BlockedRatingAttributes method specifies whether to block content that has a specified rating.
IEvalRat::put_BlockUnRated

The put_BlockUnRated method specifies whether to block a program for which rating information has not been obtained.
IEvalRat::TestRating

The TestRating method determines whether a program with the specified rating should be blocked.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tvratings.h

See also

IDispatch

TV Ratings Interfaces