Audio.SeekCurrentPosition Method

Language:

Seeks to a specific playback position.

Definition

Visual Basic Public Function SeekCurrentPosition( _
    ByVal time As Double, _
    ByVal flags As SeekPositionFlags _
) As Double
C# public double SeekCurrentPosition(
    double time,
    SeekPositionFlags flags
);
C++ public:
double SeekCurrentPosition(
    double time,
    SeekPositionFlags flags
);
JScript public function SeekCurrentPosition(
    time : double,
    flags : SeekPositionFlags
) : double;

Parameters

time System.Double
Position to seek.
flags Microsoft.DirectX.AudioVideoPlayback.SeekPositionFlags
The position seek type to use.

Return Value

System.Double
Returns the position after the seek.

Remarks

Exceptions
DirectXException For more information on the cause of this exception, reference the DirectXException.ErrorCode and DirectXException.ErrorString properties to the AudioVideoPlayback error code table.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center