Share via


IEvalRat::get_BlockUnRated

 
Microsoft DirectShow 9.0

IEvalRat::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

The method returns an HRESULT. Possible values include those in the following table.

Value Description
E_POINTER NULL pointer argument.
S_OK The method succeeded.

Remarks

Implementation Note: By default, unrated programs should be allowed. Return FALSE in pfBlockUnRatedShows unless the put_BlockUnRated method was previously called with the value TRUE.

Requirements

Header: Tvratings.h.

See Also