Copyright © 2005-2018 MultiMedia Soft

TriggersGetPos method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the current position for the given trigger.

 

See the How to add Triggers and Cue Points to a player section for further details about triggers.

 

 

Syntax

 

[Visual Basic]

Public Function TriggersGetPos (

nPlayerIndex as Int16,

nTriggerID as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes TriggersGetPos (

Int16 nPlayerIndex,

Int16 nTriggerID

);


 

[C++]

public: enumErrorCodes TriggersGetPos (

Int16 nPlayerIndex,

Int16 nTriggerID

);


 

 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nTriggerID

Number representing the identifier of the new trigger

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

Value > 0

The trigger position expressed in milliseconds