|Microsoft DirectX 9.0|
The GetMediaTimes2 method retrieves the media start and stop times. This method is equivalent to IAMTimelineSrc::GetMediaTimes, but takes REFTIME values.
HRESULT GetMediaTimes2( REFTIME *pStart, REFTIME *pStop );
Pointer to a variable that receives the media start time, in seconds.
Pointer to a variable that receives the media stop time, in 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.