Share via


IDTFilter::put_BlockUnRated 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_BlockUnRated method specifies whether to block a program for which rating information has not been obtained.

Syntax

HRESULT put_BlockUnRated(
  [in] BOOL fBlockUnRatedShows
);

Parameters

[in] fBlockUnRatedShows

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

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

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