Microsoft DirectX 9.0

IEvalRat::get_BlockUnRated

This topic applies to Windows XP Service Pack 1 only.

The get_BlockUnRated method indicates whether a program without rating information is blocked.

Syntax

HRESULT get_BlockUnRated(
  BOOL*  pfBlockUnRatedShows
);

Parameters

pfBlockUnRatedShows

[out, retval]  Pointer to a variable that 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

For more information, see Setting Allowable Viewing Levels.

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.

See Also