Microsoft DirectX 8.1 (C++)

IAMTimelineSrc::GetMediaTimes

The GetMediaTimes method retrieves the media start and stop times.

Syntax

HRESULT GetMediaTimes(
    REFERENCE_TIME *pStart,
    REFERENCE_TIME *pStop
);

Parameters

pStart

Pointer to a variable that receives the media start time, in 100-nanosecond units.

pStop

Pointer to a variable that receives the media stop time, in 100-nanosecond units.

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

Remarks

The media times are relative to the original media file. For more information, see Time in DirectShow Editing Services.

See Also