Microsoft DirectX 9.0

IMediaPosition.CanSeekForward

The CanSeekForward method queries whether the stream can be seeked forward.

Syntax

objMediaPosition.CanSeekForward() As Long

Parameters

This method takes no parameters.

Return Values

Returns True if the stream can be seeked forward, or False otherwise.

Example Code

If iPosition.CanSeekBackward Then
    ' Seek forward 5 seconds.
    IPosition.CurrentPosition = iPosition.CurrentPosition + 5.0
End If

See Also