Copyright © 2005-2019 MultiMedia Soft

VST.ProgramNameGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the name of the given program.

 

For further details about methods related to the use of VST effects refer to the VSTs class.

For further details about managing a VST effect refer to the How to manage VST effects tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function ProgramNameGet (

nPlayerIndex as Int16,

nIdVST as Int32,

nProgramIndex as Int16

) as string


 

[C#]

public string ProgramNameGet (

Int16 nPlayerIndex,

Int32 nIdVST,

Int16 nProgramIndex

);


 

[C++]

public: string ProgramNameGet (

Int16 nPlayerIndex,

Int32 nIdVST,

Int16 nProgramIndex

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

nIdVST

Unique identifier of the VST effect as returned by the VST.EffectLoad or VST.InstrumentLoad methods.

nProgramIndex

Zero-based index of the program

 

 

Return value

 

Value

Meaning

 

 

Empty string

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

Valid string

String containing the name of the given program