Copyright © 2005-2019 MultiMedia Soft

DelayedPlayback.ItemGetDuration method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the duration of a sound file added to delayed playbacks list.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function ItemGetDuration (

nFileUniqueID as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemGetDuration (

Int32 nFileUniqueID

);


 

[C++]

public: enumErrorCodes ItemGetDuration(

Int32 nFileUniqueID

);


 

 

Parameter

Description

 

 

nFileUniqueID

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

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

Value >= 0

Sound duration expressed in milliseconds