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