Copyright © 2001-2019 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 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.GetType (

nIdVST as Long,

nType as enumVstType

) as enumErrorCodes


 

[C++]

short control.VST.GetType (

long nIdVST,

short *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.