IDTFilter::get_BlockUnRated

 
Microsoft DirectShow 9.0

IDTFilter::get_BlockUnRated

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

The get_BlockUnRated method indicates whether a program without rating information is blocked.

Syntax

  HRESULT get_BlockUnRated(
    BOOL *pfBlockUnRatedShows
);

Parameters

pfBlockUnRatedShows

[out, retval]  Receives a Boolean value. If the value is TRUE, unrated shows are blocked. Otherwise, they are not blocked.

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

Requirements

Header: EncDec.h.

See Also