다음을 통해 공유


IDTFilter::put_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 put_BlockedRatingAttributes method specifies whether to block content that has a specified rating.

Syntax

HRESULT put_BlockedRatingAttributes(
  [in] EnTvRat_System       enSystem,
  [in] EnTvRat_GenericLevel enLevel,
  [in] LONG                 lbfAttrs
);

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.

[in] lbfAttrs

Bitwise combination of zero or more 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::put_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