共用方式為


IAMTimelineObj::GetStartStop2

 
Microsoft DirectShow 9.0

IAMTimelineObj::GetStartStop2

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

Syntax

  HRESULT GetStartStop2(
    REFTIME *pStart,
    REFTIME *pStop
);

Parameters

pStart

Pointer to a variable that receives the start time, in seconds.

pStop

Pointer to a variable that receives the stop time, in seconds.

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

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