Partager via


IDTFilter::get_BlockedRatingAttributes

 
Microsoft DirectShow 9.0

IDTFilter::get_BlockedRatingAttributes

This topic applies to Windows XP Service Pack 1 or later.

The get_BlockedRatingAttributes method determines whether content is blocked for a given rating system and rating level.

Syntax

  HRESULT get_BlockedRatingAttributesmethod(
    EnTvRat_System  EnSystem
    EnTvRat_GenericLevel  EnRating
    LONG  plbfEnAttr
);

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.

plbfEnAttr

[out, retval]  Receives a bitwise combination of 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::get_BlockedRatingAttributes.

Requirements

Header: EncDec.h.

See Also