Microsoft DirectX 9.0

MediaDet.StreamLength Property

The StreamLength property returns the duration of the current stream, in seconds.

Syntax

object.StreamLength As Double

Parameters

This property takes no parameters.

Remarks

Before retrieving this property, set the Filename and CurrentStream properties. This property is not valid if the MediaDet object is in bitmap grab mode (see EnterBitmapGrabMode).

This property is read-only.

See Also