libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.GetPosition Method

Get current position.

C#
public void GetPosition(ref TStreamTime time);
Parameters 
Description 
ref TStreamTime time 
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.

TStreamTime pos = new TStreamTime();
player.GetPosition(ref pos);
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr