Microsoft DirectX 9.0

IMSVidStreamBufferSource::CurrentRatings

This topic applies to Windows XP Service Pack 1 only.

The CurrentRatings method retrieves the current ratings information from the data source.

Syntax

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

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

Value Description
S_OK The method succeeded.

See Also