IEvalRat::get_BlockUnRated Method

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(
  [out, retval]  BOOL *pfBlockUnRatedShows
);

Parameters

  • pfBlockUnRatedShows [out]
    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

Header Declared in Tvratings.h.

See Also

IEvalRat Interface
IEvalRat::put_BlockUnRated

Send comments about this topic to Microsoft

Build date: 12/4/2008