Microsoft DirectX 8.1 (C++)

IAMTimelineSrc::SetMediaLength2

The SetMediaLength2 method specifies the duration of the source file. This method is equivalent to IAMTimelineSrc::SetMediaLength, but takes a REFTIME value.

Syntax

HRESULT SetMediaLength2(
    REFTIME Length
);

Parameters

Length

Media length, in seconds.

Return Value

Returns S_OK.

See Also