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
[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.
|
|