Microsoft DirectX 9.0

AMTimelineSrc.GetMediaLength2 Method

The GetMediaLength2 method retrieves the media length of this object.

Syntax

object.GetMediaLength2(
    pLength As Double
)

Parameters

pLength

Variable that receives the media length in seconds.

Error Codes

If the method fails, an error is raised, and Err.Number can be set to the following value:

Value Description
E_NOTDETERMINED Media times are not set on this object.

See Also