IDTFilter::put_BlockUnRatedDelay method (encdec.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_BlockUnRatedDelay method sets the length of time the filter waits before it blocks unrated content.

Syntax

HRESULT put_BlockUnRatedDelay(
  [in] LONG msecsDelayBeforeBlock
);

Parameters

[in] msecsDelayBeforeBlock

Specifies the delay, in milliseconds. The value must be from 0 to 60000 (60 seconds).

Return value

Returns an HRESULT. Possible values include the following.

Return code Description
E_INVALIDARG
Invalid argument
S_OK
Success

Remarks

Regardless of the value of this property, the filter does not block unrated content unless the BlockUnRated property is TRUE.

Requirements

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

See also

IDTFilter Interface

IDTFilter::put_BlockUnRated