Copyright © 2005-2018 MultiMedia Soft

VST.GetType method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the type of VST 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 GetType (

nIdVST as Int32,

ByRef nType as enumVstType

) as string


 

[C#]

public string GetType (

Int32 nIdVST,

ref enumVstType nType

);


 

[C++]

public: string GetType (

Int32 nIdVST,

enumVstType __gc *nType

);


 

 

Parameter

Description

 

 

nIdVST

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

nType

Reference that, on return from the method call, will contain the type of VST plugin.

Supported values are the following:

Mnemonic constant

Value

Meaning

VST_TYPE_INSTRUMENT

0

VST Instrument

VST_TYPE_EFFECT

1

VST effect

 

 

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.