Share via


IEvalRat::get_BlockUnRated method (tvratings.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 get_BlockUnRated method indicates whether a program without rating information is blocked.

Syntax

HRESULT get_BlockUnRated(
  [out, retval] BOOL *pfBlockUnRatedShows
);

Parameters

[out, retval] pfBlockUnRatedShows

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

Return value

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

Return code Description
E_POINTER
NULL pointer argument.
S_OK
The method succeeded.

Remarks

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

   
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tvratings.h

See also

IEvalRat Interface

IEvalRat::put_BlockUnRated