VST2.4 specs 
HOME   |   Software       VST2.4 specs :: FIRST   -   PREV   -   NEXT

effCopyProgram / copyProgram()


C++: VstIntPtr function dispatcher(AEffect* e, VstInt32 opcode, VstInt32 index, VstIntPtr value, void* ptr, float opt);
Delphi: function dispatcher(e: PAEffect; opcode, index: VstInt32; value: VstIntPtr; ptr: pointer; opt: Single): VstIntPtr; cdecl;
always returns 0, unless otherwise defined.
all string-pointers points to zero terminated strings.
e[ ]: = plugin receives as entry parameter
x[ ]: = plugin returns to host

dispatcher() function using opcode 30:
30. effCopyProgram   >= VST2.0 ... deprecated in VST2.4   @see AudioEffectX::copyProgram()
e[index]: destination program number to copy current program to, note: implies setParameter connections, configuration
x[return]: 1 = successful

C++ method:
 bool AudioEffectX::DECLARE_VST_DEPRECATED(copyProgram) (VstInt32 destination)

Delphi method:
 function AudioEffectX.copyProgram(destination: VstInt32): boolean;

FIRST   -   PREV   -   NEXT   -   TOP