IRenderEngine::SetRenderRange2

 
Microsoft DirectShow 9.0

IRenderEngine::SetRenderRange2

The SetRenderRange2 method sets the range of time on the timeline to be rendered. This method is equivalent to IRenderEngine::SetRenderRange, but takes values of type double.

Syntax

  HRESULT SetRenderRange2(
    double Start,
    double Stop
);

Parameters

Start

Start time, in seconds.

Stop

Stop time, in seconds.

Return Value

Returns one of the following HRESULT values:

Value Description
S_OK Success.
E_MUST_INIT_RENDERER Render engine failed to initialize.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also