Share via


IMSVidXDSEvent::RatingChange method (segment.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.]

Note��This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 or later.

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

[in] PrevRatingSystem

The previous rating system, as an EnTvRat_System enumeration type.

[in] PrevLevel

The previous rating level, as an EnTvRat_GenericLevel enumeration type. The meaning of this value depends on the rating system.

[in] PrevAttributes

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.

[in] NewRatingSystem

The new rating system, as an EnTvRat_System enumeration type.

[in] NewLevel

The new rating level, as an EnTvRat_GenericLevel enumeration type.

[in] NewAttributes

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.

Requirements

Requirement Value
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidXDSEvent Interface