Copyright © 2006-2018 MultiMedia Soft

SetOverwritePos method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the position where a new recording session (whose recording mode has been set to REC_MODE_OVERWRITE through a call to the SetRecordingMode method) will overwrite an existing one.

 

For details about the encoding format and parameters applied during recording see the How to perform a recording session section.

 

 

Syntax

 

[Visual Basic]

control.SetOverwritePos (

nPosition as Long

) as enumErrorCodes


 

[C++]

short control.SetOverwritePos (

long nPosition

);


 

 

Parameter

Description

 

 

nPosition

Insertion position expressed in milliseconds.

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.