共用方式為


IAMTimelineObj::SetStartStop2

 
Microsoft DirectShow 9.0

IAMTimelineObj::SetStartStop2

The SetStartStop2 method sets the object's start and stop times, relative to the object's parent. This method is equivalent to IAMTimelineObj::SetStartStop, but takes REFTIME values.

Syntax

  HRESULT SetStartStop2(
    REFTIME Start,
    REFTIME Stop
);

Parameters

Start

New start time, in seconds, or –1 to keep the existing start time.

Stop

New stop time, in seconds, or –1 to keep the existing stop time.

Return Value

Returns one of the following HRESULT values:

Return code Description
S_OK Success.
E_INVALIDARG Invalid argument.
E_NOTIMPL Not implemented.

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