Copyright © 2006-2018 MultiMedia Soft

PositionMarkerPosGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the position of the given position marker. The current position can be modified through the PositionMarkerPosSet method.

 

For details about recording from input devices see the How to perform a recording session tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function PositionMarkerPosGet (

nUniqueId as Int32,

ByRef nPositionInMs as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes PositionMarkerPosGet (

Int32 nUniqueId,

ref Int32 nPositionInMs

);


 

[C++]

public: enumErrorCodes PositionMarkerPosGet (

Int32 nUniqueId,

Int32 __gc *nPositionInMs

);


 

 

Parameter

Description

 

 

nUniqueId

Number representing the unique identifier of the position marker.

The number of available position markers can be retrieved at the end of the recording session through the PositionMarkerCountGet method and, for each position marker inside the list, the related unique identifier.can be obtained through the PositionMarkerUniqueIdGet method.

nPositionInMs

Reference that, after returning from the method call, will contain the position, expressed in milliseconds, of the position marker.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.