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 |
---|---|
|
NULL pointer argument. |
|
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
Requirement | Value |
---|---|
Minimum supported client | Windows�XP with SP1 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | tvratings.h |