IDTFilter::get_BlockedRatingAttributes method (encdec.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 get_BlockedRatingAttributes method determines whether content is blocked for a given rating system and rating level.

Syntax

HRESULT get_BlockedRatingAttributes(
  [in]          EnTvRat_System       enSystem,
  [in]          EnTvRat_GenericLevel enLevel,
  [out, retval] LONG                 *plbfEnAttr
);

Parameters

[in] enSystem

Specifies the rating system as an EnTvRat_System enumeration type.

[in] enLevel

Specifies the rating level as an EnTvRat_GenericLevel enumeration type.

[out, retval] plbfEnAttr

Receives a bitwise combination of flags from the BfEnTvRat_GenericAttributes enumeration.

Return value

Returns an HRESULT. Possible values include the following.

Return code Description
E_NOINTERFACE
The EvalRat object was not successfully created.
S_OK
Success.

Remarks

The filter passes this call through to the EvalRat object. For more information, see IEvalRat::get_BlockedRatingAttributes.

Requirements

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header encdec.h

See also

IDTFilter Interface