Copyright © 2001-2019 MultiMedia Soft

DelayedPlayback.ItemSetRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the range that will be performed during playback of the given file. The current range can be obtained through the DelayedPlayback.ItemGetRange method.

 

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

 

 

Syntax

 

[Visual Basic]

control.DelayedPlayback.ItemSetRange (

nFileUniqueID as Long,

nStartPos as Long,

nEndPos as Long

) as enumErrorCodes


 

[C++]

long control.DelayedPlayback.ItemSetRange (

long nFileUniqueID,

long nStartPos,

long nEndPos

);


 

 

Parameter

Description

 

 

nFileUniqueID

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

nStartPos

The start position of the playback range expressed in milliseconds

nEndPos

The end position of the playback range expressed in milliseconds

 

 

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.