IMSVidStreamBufferSource::MaxRatingsLevel

 
Microsoft DirectShow 9.0

IMSVidStreamBufferSource::MaxRatingsLevel

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(
  EnTvRat_System  pEnSystem,
  EnTvRat_GenericLevel  pEnRating,
  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 Values

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

Value Description
S_OK The method succeeded.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also