Copyright © 2008-2019 MultiMedia Soft

GetPlaybackPosition method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the current position, expressed in milliseconds, of the current playback session.

 

A formatted string of the current position can be retrieved using the GetFormattedPlaybackPosition method.

 

 

Syntax

 

[Visual Basic]

control.GetPlaybackPosition (

) as long


 

[C++]

long control.GetPlaybackPosition (

);


 

 

Return value

 

Value

Meaning

 

 

Value > 0

The playback position in milliseconds

Negative value

An error occurred (see the LastError property for further error details)