IAMTimelineSrc::GetMediaTimes
Microsoft DirectShow 9.0 |
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.
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