Share via


IMSVidStreamBufferSource::put_BlockUnrated method (segment.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 put_BlockUnrated method specifies whether to block unrated content.

Syntax

HRESULT put_BlockUnrated(
  [in] VARIANT_BOOL bBlock
);

Parameters

[in] bBlock

Specifies one of the following values.

Value Description
VARIANT_FALSE Do not block unrated content.
VARIANT_TRUE Block unrated content.

Return value

The method returns an HRESULT. Possible values include the following.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidStreamBufferSource Interface

IMSVidStreamBufferSource::put_UnratedDelay