IAMTimelineSrc::GetMediaLength method

Note  [Deprecated. This API may be removed from future releases of Windows.]
 

The GetMediaLength method retrieves the media length of this source object.

Syntax


HRESULT GetMediaLength(
   REFERENCE_TIME *pLength
);

Parameters

pLength

Receives the media length in 100-nanosecond units.

Return value

Returns one of the following HRESULT values:

Return codeDescription
S_OK

Success.

E_NOTDETERMINED

Media times are not set on this object.

E_POINTER

NULL pointer argument.

 

Remarks

Note  The header file Qedit.h is not compatible with Direct3D headers later than version 7.
 
Note  To obtain Qedit.h, download the Microsoft Windows SDK Update for Windows Vista and .NET Framework 3.0. Qedit.h is not available in the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1.
 

Requirements

Header

Qedit.h

Library

Strmiids.lib

See also

IAMTimelineSrc Interface
IAMTimelineSrc::SetMediaLength
Error and Success Codes

 

 

Show: