Share via


IMSVidStreamBufferSource::MaxRatingsLevel Method

This topic applies to Windows XP Service Pack 1 or later.
The MaxRatingsLevel method specifies the maximum ratings level the object is permitted to play.

Syntax

HRESULT MaxRatingsLevel(
  [in]  EnTvRat_System pEnSystem,
  [in]  EnTvRat_GenericLevel pEnRating,
  [in]  long pBfEnAttr
);

Parameters

  • pEnSystem [in]
    Specifies the rating system, as an EnTvRat_System enumeration value.

  • pEnRating [in]
    Specifies the maximum rating level, as an EnTvRat_GenericLevel enumeration value.

  • pBfEnAttr [in]
    Specifies zero or more ratings attributes, as a bitwise combination of flags from the BfEnTvRat_GenericAttributes enumeration.

Return Value

The method returns an HRESULT. Possible values include the following.

Return code Description

S_OK

The method succeeded.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidStreamBufferSource Interface
TV Ratings Components

Send comments about this topic to Microsoft

Build date: 12/4/2008