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 14:
14. effEditOpen
>= VST1.0 (editor)
@see AEffEditor::open()
e[ptr]: contains system dependant Window handle/pointer
x[return]: 1 = successful
C++ method:
bool AEffEditor::open(void* ptr)
Delphi method:
function AEffEditor.open(ptr: pointer): VstInt32;