|Microsoft DirectX 9.0|
The GetStartStop method retrieves the object's start and stop times, relative to the object's parent.
HRESULT GetStartStop( REFERENCE_TIME *pStart, REFERENCE_TIME *pStop );
Pointer to a variable that receives the start time, in 100-nanosecond units.
Pointer to a variable that receives the stop time, in 100-nanosecond units.
Returns S_OK if successful, or E_POINTER otherwise.
Compositions, groups, and tracks always have a start time of 0.
During rendering, DES rounds an object's start and stop times to the nearest frame boundary. However, DES does not overwrite the object's times. If you change the group frame rate, the rounded times are always calculated from the original times. For more information, Time in DirectShow Editing Services.
To determine the start and stop times in the rendered project, pass the values returned by GetStartStop to the IAMTimelineObj::FixTimes method.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.