|Microsoft DirectX 9.0|
The GetDuration2 method retrieves the duration of the timeline. This method is equivalent to IAMTimeline::GetDuration, but takes a parameter of type double.
HRESULT GetDuration2( double *pDuration );
Pointer to a variable that receives the duration of the timeline, in fractional seconds.
Returns S_OK if successful, or E_POINTER otherwise.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.