Microsoft DirectX 9.0

IDTFilter::put_BlockedRatingAttributes

This topic applies to Windows XP Service Pack 1 only.

The put_BlockedRatingAttributes method specifies whether to block content that has a specified rating.

Syntax

HRESULT put_BlockedRatingAttributesmethod(
    EnTvRat_System  EnSystem
    EnTvRat_GenericLevel  EnRating
    LONG  lbfEnAttr
);

Parameters

EnSystem

[in]  Specifies the rating system, as an EnTvRat_System enumeration type.

EnRating

[in]  Specifies the rating level, as an EnTvRat_GenericLevel enumeration type.

lbfEnAttr

[in]  Bitwise combination of zero or more flags from the BfEnTvRat_GenericAttributes enumeration.

Return Values

Returns an HRESULT. Possible values include the following.

Value 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.

See Also