Copyright © 2001-2018 MultiMedia Soft

TriggersIsEnabled method

Previous pageReturn to chapter overviewNext page

Remarks

 

Verifies if the given trigger is enabled or disabled.

 

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

 

 

Syntax

 

[Visual Basic]

control.TriggersIsEnabled (

nPlayer as Integer,

nTriggerID as Integer,

) as Boolean


 

[C++]

BOOL control.TriggersIsEnabled (

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. If this identifier should be already assigned to another trigger, an error code would be returned.

 

 

Return value

 

Mnemonic constant

Value

Meaning

FALSE

0

Trigger is disabled

TRUE

1

Trigger is enabled