Copyright © 2005-2019 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]

Public Function ItemGetLoopCount (

nFileUniqueID as Int32,

ByRef nLoopCount as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemGetLoopCount (

Int32 nFileUniqueID,

ref Int32 nLoopCount

);


 

[C++]

public: enumErrorCodes ItemGetLoopCount (

Int32 nFileUniqueID,

Int32 __gc *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.