Share via


IMSVidXDSEvent::RatingChange Method

The RatingChange method is called when the current rating changes.

Syntax

HRESULT RatingChange(
  [in]  EnTvRat_System PrevRatingSystem,
  [in]  EnTvRat_GenericLevel PrevLevel,
  [in]  BfEnTvRat_GenericAttributes PrevAttributes,
  [in]  EnTvRat_System NewRatingSystem,
  [in]  EnTvRat_GenericLevel NewLevel,
  [in]  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 Value

Return S_OK or an error code.

See Also

IMSVidXDSEvent Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008