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 17:
17. effEditMouse
>= VST1.0 ... deprecated in VST2.4 (editor) (MAC only) @see AEffEditor::mouse()
e[index]: x,
e[value]: y
C++ method:
VstInt32 AEffEditor::DECLARE_VST_DEPRECATED (mouse) (VstInt32 x, VstInt32 y)
Delphi method:
function AEffEditor::mouse(x,y: VstInt32): VstInt32;