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

effGetNumProgramCategories / getNumCategories()


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 28:
28. effGetNumProgramCategories 28. effGetNumProgramCategories   >= VST2.0 ... deprecated in VST2.4   @see AudioEffectX::getNumCategories()
no arguments, this is for dividing programs into groups (like GM)
x[return]: 1 when there is no real program categories

C++ method:
 VstInt32 AudioEffectX::DECLARE_VST_DEPRECATED(getNumCategories) ()

Delphi method:
 function AudioEffectX.getNumCategories: VstInt32;

FIRST   -   PREV   -   NEXT   -   TOP