Compartilhar via


IEvalRat Interface

 
Microsoft DirectShow 9.0

IEvalRat Interface

This topic applies to Windows XP Service Pack 1 or later.

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.

IID: IID_IEvalRat

In addition to the methods inherited from IDispatch, the IEvalRat interface exposes the following methods.

Method Description
get_BlockedRatingAttributes Determines whether content is blocked for a given rating system and rating level.
get_BlockUnRated Indicates whether a program without rating information is blocked.
MostRestrictiveRating Compares two ratings and returns the more restrictive of the two.
put_BlockedRatingAttributes Specifies whether to block content that has a specified rating.
put_BlockUnRated Specifies whether to block a program for which rating information has not been obtained.
TestRating Determines whether a program with the specified rating should be blocked.

See Also