|Microsoft DirectX 9.0|
The GetMediaLength2 method retrieves the media length of this source object. This method is equivalent to IAMTimelineSrc::GetMediaLength, but takes REFTIME values.
HRESULT GetMediaLength2( REFTIME *pLength );
Pointer to a variable that receives the media length in seconds.
Returns one of the following HRESULT values:
|E_NOTDETERMINED||Media times are not set on this object.|
|E_POINTER||NULL pointer argument.|
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.