IMSVidStreamBufferSource::CurrentRatings 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.]

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

[out] pEnSystem

Pointer to a variable that receives the rating system, as an EnTvRat_System enumeration value.

[out] pEnRating

Receives the rating level, as an EnTvRat_GenericLevel enumeration value.

[out] pBfEnAttr

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

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidStreamBufferSource Interface

TV Ratings Components