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]
Public Function ItemGetRange (
nFileUniqueID as Int32,
ByRef nStartPos as Int32,
ByRef nEndPos as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes ItemGetRange (
Int32 nFileUniqueID,
ref Int32 nStartPos,
ref Int32 nEndPos
);
|
|
[C++]
public: enumErrorCodes ItemGetRange (
Int32 nFileUniqueID,
Int32 __gc *nStartPos,
Int32 __gc *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.
|
|