Audio.SeekCurrentPosition Method |
Language: |
Seeks to a specific playback position.
Visual Basic Public Function SeekCurrentPosition( _
ByVal time As Double, _
ByVal flags As SeekPositionFlags _
) As DoubleC# public double SeekCurrentPosition(
double time,
SeekPositionFlags flags
);C++ public:
double SeekCurrentPosition(
double time,
SeekPositionFlags flags
);JScript public function SeekCurrentPosition(
time : double,
flags : SeekPositionFlags
) : double;
time System.Double
Position to seek.flags Microsoft.DirectX.AudioVideoPlayback.SeekPositionFlags
The position seek type to use.
System.Double
Returns the position after the seek.
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