|Microsoft DirectX 9.0|
The GetMediaTimes method retrieves the media start and stop times.
HRESULT GetMediaTimes( REFERENCE_TIME *pStart, REFERENCE_TIME *pStop );
Pointer to a variable that receives the media start time, in 100-nanosecond units.
Pointer to a variable that receives the media stop time, in 100-nanosecond units.
Returns S_OK if successful, or E_POINTER otherwise.
The media times are relative to the original media file. For more information, see Time in DirectShow Editing Services.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.