Share via


IDTFilter::put_BlockUnRatedDelay Method

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(
  [in]  LONG msecsDelayBeforeBlock
);

Parameters

  • msecsDelayBeforeBlock [in]
    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

Header Declared in EncDec.h.

See Also

IDTFilter Interface
IDTFilter::put_BlockUnRated

Send comments about this topic to Microsoft

Build date: 12/4/2008