Copyright © 2001-2019 MultiMedia Soft

VST.ProgramNameSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the name of the given program.

 

For further details about methods related to the use of VST effects refer to the VST COM object.

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

 

 

Syntax

 

[Visual Basic]

control.VST.ProgramNameSet (

nPlayer as Integer,

nIdVST as Long,

nProgramIndex as Integer,

strName as String

) as enumErrorCodes


 

[C++]

short control.VST.ProgramNameSet (

short nPlayer,

long nIdVST,

short nProgramIndex,

LPCTSTR strName

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nIdVST

Unique identifier of the VST effect as returned by the VST.Load method.

nProgramIndex

Zero-based index of the program

strName

New program name

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.