libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.GetPosition Method

Get current position.

Visual Basic
Public Sub GetPosition(ByRef time As TStreamTime)
Parameters 
Description 
ByRef time As TStreamTime 
Reference to TStreamTime. User must allocate memory for this parameter. 

None.

This function retrieves current position in TStreamTime format. All members of TStreamTime structure are valid. If stream is not playing or stream is closed, position is 0.

Dim pos As New TStreamTime()
player.GetPosition(pos)
Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr