Microsoft DirectX 9.0

IMSVidPlayback.Length

This topic applies to Windows XP Service Pack 1 only.

The Length property returns the duration of the source.

Syntax

objVidPlayback.Length As Boolean

Parameters

This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns the position. The units are determined by the value of the PositionMode property.

Remarks

This property is read-only.

See Also