Microsoft DirectX 8.1 (C++)

IAMTimeline::GetDuration2

The GetDuration2 method retrieves the duration of the timeline. This method is equivalent to IAMTimeline::GetDuration, but takes a parameter of type double.

Syntax

HRESULT GetDuration2(
    double *pDuration
);

Parameters

pDuration

Pointer to a variable that receives the duration of the timeline, in fractional seconds.

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

See Also