Copyright © 2001-2018 MultiMedia Soft

DelayedPlayback.ItemGetLoopCount method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the number of loops applied to the given file during playback. The current number of loops can be modified through the DelayedPlayback.ItemSetLoopCount method.

 

For details about management of delayed playbacks refer to the How to manage delayed playbacks tutorial.

 

 

Syntax

 

[Visual Basic]

control.DelayedPlayback.ItemGetLoopCount (

nFileUniqueID as Long,

nLoopCount as Long

) as enumErrorCodes


 

[C++]

long control.DelayedPlayback.ItemGetLoopCount (

long nFileUniqueID,

long *nLoopCount

);


 

 

Parameter

Description

 

 

nFileUniqueID

Number representing the unique identifier of the file as returned by the DelayedPlayback,ListAddItem method

nLoopCount

Reference that, on return from the method call, will contain the number of loops to apply. A value of -1 would mean infinite loops.

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The call was successful.