Copyright © 2005-2019 MultiMedia Soft

VST.InstrumentFree method

Previous pageReturn to chapter overviewNext page

Remarks

 

Frees the VST instrument plugin.

 

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 InstrumentFree (

nPlayerIndex as Int16

) as Int32


 

[C#]

public Int32 InstrumentFree (

Int16 nPlayerIndex

);


 

[C++]

public: Int32 InstrumentFree (

Int16 nPlayerIndex

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that hosts the VST instrument

 

 

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.