Remarks
Modifies the number of loops applied to the given file during playback. The current number of loops can be obtained through the DelayedPlayback.ItemGetLoopCount method.
For details about management of delayed playbacks refer to the How to manage delayed playbacks tutorial.
Syntax
[Visual Basic]
control.DelayedPlayback.ItemSetLoopCount (
nFileUniqueID as Long,
nLoopCount as Long
) as enumErrorCodes
|
|
[C++]
long control.DelayedPlayback.ItemSetLoopCount (
long nFileUniqueID,
long nLoopCount
);
|
|
Parameter
|
Description
|
|
|
nFileUniqueID
|
Number representing the unique identifier of the file as returned by the DelayedPlayback,ListAddItem method
|
nLoopCount
|
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.
|
|