Copyright © 2001-2019 MultiMedia Soft

GetCurrentHour method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the hours value for the current position during a playback session. If for example the current position is 1:3:15:234 (1 hour, 3 minutes, 15 seconds, 234 ms) the call will return 1.

 

 

Syntax

 

[Visual Basic]

control.GetCurrentHour (

nPlayer as Integer

) as Integer


 

[C++]

short control.GetCurrentHour (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player whose information must be retrieved

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

Value >= 0

The number of hours inside the current playing position