Microsoft DirectX 8.1 (C++)

AMTimelineSrc.GetMediaLength2 Method

The AMTimelineSrc.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