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

Public Function ItemSetRange (

nFileUniqueID as Int32,

nStartPos as Int32,

nEndPos as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemSetRange (

Int32 nFileUniqueID,

Int32 nStartPos,

Int32 nEndPos

);


 

[C++]

public: enumErrorCodes ItemSetRange (

Int32 nFileUniqueID,

Int32 nStartPos,

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