Copyright © 2006-2019 MultiMedia Soft

SwitchedOutputFileGetDuration method

Previous pageReturn to chapter overviewNext page

Remarks

 

Returns the duration, expressed in milliseconds, of an output file switched through the SwitchOutputFile or the SwitchOutputFileEx methods during a recording session.

 

For further details about output files switching see the How to perform a recording session tutorial.

 

 

Syntax

 

[Visual Basic]

control.SwitchedOutputFileGetDuration (

nFileId as Long

) as Long


 

[C++]

long control.SwitchedOutputFileGetDuration (

long nFileId

);


 

 

Parameter

Description

 

 

nFileId

Number representing the zero-based index of the switched output file. This index is the same notified by the RecordingOutputFileSwitch event.

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

Value >= 0

Duration, expressed in milliseconds, of the switched output file