Share via


IMSVidStreamBufferSource::CurrentRatings Method

This topic applies to Windows XP Service Pack 1 or later.
The CurrentRatings method retrieves the current ratings information from the data source.

Syntax

HRESULT CurrentRatings(
  [out]  EnTvRat_System *pEnSystem,
  [out]  EnTvRat_GenericLevel *pEnRating,
  [out]  long *pBfEnAttr
);

Parameters

  • pEnSystem [out]
    Pointer to a variable that receives the rating system, as an EnTvRat_System enumeration value.

  • pEnRating [out]
    Pointer to a variable that receives the rating level, as an EnTvRat_GenericLevel enumeration value.

  • pBfEnAttr [out]
    Pointer to a variable that receives the ratings attributes, as a bitwise combination of zero or more 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