共用方式為


IDTFilter::put_BlockUnRated

 
Microsoft DirectShow 9.0

IDTFilter::put_BlockUnRated

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

The put_BlockUnRated method specifies whether to block a program for which rating information has not been obtained.

Syntax

  HRESULT put_BlockUnRated(
    BOOL fBlockUnRatedShows
);

Parameters

fBlockUnRatedShows

[in]  Boolean value. Specify TRUE to block unrated programs, or specify FALSE not to block unrated programs.

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

Requirements

Header: EncDec.h.

See Also