共用方式為


IDTFilter::put_BlockUnRatedDelay

 
Microsoft DirectShow 9.0

IDTFilter::put_BlockUnRatedDelay

This topic applies to Windows XP Service Pack 1 or later.

The put_BlockUnRatedDelay method sets the length of time the filter waits before it blocks unrated content.

Syntax

  HRESULT put_BlockUnRatedDelay(
    LONG  msecsDelayBeforeBlock
);

Parameters

msecsDelayBeforeBlock

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

Return Values

Returns an HRESULT. Possible values include the following.

Value 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

Header: EncDec.h.

See Also