IAMTimelineSrc::SetMediaTimes2

 
Microsoft DirectShow 9.0

IAMTimelineSrc::SetMediaTimes2

The SetMediaTimes2 method sets the media stop and start times. This method is equivalent to IAMTimelineSrc::SetMediaTimes, but takes REFTIME values.

Syntax

  HRESULT SetMediaTimes2(
    REFTIME Start,
    REFTIME Stop
);

Parameters

Start

Media start time, in seconds.

Stop

Media stop time, in seconds.

Return Value

Returns S_OK.

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