|Microsoft DirectX 9.0|
The CurrentPosition property sets or retrieves the playback position.
objMediaPosition.CurrentPosition As Double
This property takes no parameters.
Returns the current position, in seconds, relative to the start of the original source.
If the graph is running, this property is equal to the current position of the stream, relative to the start of the source. If the graph is paused or stopped, this property is equal to the last position that was reached.
This property is read/write. If the stream is seekable, setting this property seeks the stream.
The position is calculated before the rate, so the position is relative to normal playback speed. For example, if you set the rate to twice normal speed and run the graph for 2 seconds, the CurrentPosition property is 4.0.