Share via


IAMTimelineSrc::GetMediaTimes2

 
Microsoft DirectShow 9.0

IAMTimelineSrc::GetMediaTimes2

The GetMediaTimes2 method retrieves the media start and stop times. This method is equivalent to IAMTimelineSrc::GetMediaTimes, but takes REFTIME values.

Syntax

  HRESULT GetMediaTimes2(
    REFTIME *pStart,
    REFTIME *pStop
);

Parameters

pStart

Pointer to a variable that receives the media start time, in seconds.

pStop

Pointer to a variable that receives the media stop time, in seconds.

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also