Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
TriggersGetPos method 
 
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] 
control.TriggersGetPos
nPlayer as Integer
nTriggerID as Integer 
) as Long
 
[C++] 
long control.TriggersGetPos
short nPlayer
short 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
 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents