IMSVidXDSEvent::RatingChange
Microsoft DirectShow 9.0 |
IMSVidXDSEvent::RatingChange
The RatingChange method is called when the current rating changes.
Syntax
HRESULT RatingChange( EnTvRat_System PrevRatingSystem, EnTvRat_GenericLevel PrevLevel, BfEnTvRat_GenericAttributes PrevAttributes, EnTvRat_System NewRatingSystem, EnTvRat_GenericLevel NewLevel, BfEnTvRat_GenericAttributes NewAttributes );
Parameters
PrevRatingSystem
[in] The previous rating system, as an EnTvRat_System enumeration type.
PrevLevel
[in] The previous rating level, as an EnTvRat_GenericLevel enumeration type. The meaning of this value depends on the rating system.
PrevAttributes
[in] The previous rating attributes. This value is a bitwise OR of flags from the BfEnTvRat_GenericAttributes enumeration. These flags specify content attributes, such as violence or adult language. Content attributes do not apply to all rating systems.
NewRatingSystem
[in] The new rating system, as an EnTvRat_System enumeration type.
NewLevel
[in] The new rating level, as an EnTvRat_GenericLevel enumeration type.
NewAttributes
[in] Specifies the new rating attributes. This value is a bitwise OR of flags from the BfEnTvRat_GenericAttributes enumeration.
Return Values
Return S_OK or an error code.
See Also