Copyright © 2001-2019 MultiMedia Soft

DelayedPlayback.ItemGetRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the range that will be performed during playback of the given file. The current range can be modified through the DelayedPlayback.ItemSetRange method.

 

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

 

 

Syntax

 

[Visual Basic]

control.DelayedPlayback.ItemGetRange (

nFileUniqueID as Long,

nStartPos as Long,

nEndPos as Long

) as enumErrorCodes


 

[C++]

long control.DelayedPlayback.ItemGetRange (

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

Reference that, on return from the method call, will contain the start position of the playback range expressed in milliseconds

nEndPos

Reference that, on return from the method call, will contain 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.