TFruityPlugInfo |
This structure holds some information about the plugin that is used by the
host. It is the same for all instances of the same plugin.
PFruityPlugInfo is a pointer to TFruityPlugInfo.
Fields
SDKVersion | This has to be the version of the SDK used to create the plugin. This value is available in the constant CurrentSDKVersion |
LongName | The name of the plugin dll, without the extension (.dll) |
ShortName | Short plugin name, to be used in labels to tell the user which plugin he is working with. |
Flags | These are some flags that tell the host something about how the plugin behaves (see Plugin flags). This value is a bitfield (see Working with bitfields), so it can be any combination of the plugin flags. |
NumParams | The number of parameters for this plugin |
DefPoly | Preferred (default) maximum polyphony (FL Studio manages the polyphony) |
NumOutCtrls | The number of controllers this plugin can control |
Reserved[] | This is a field that makes it possible to add more fields in a future version of the sdk. It should be initialized to zero. |
Declaration in FP_Class (.pas /.h)
Delphi
TFruityPlugInfo = record
SDKVersion : Integer;
LongName : PChar;
ShortName : PChar;
Flags : Integer;
NumParams : Integer;
DefPoly : Integer;
NumOutCtrls : Integer;
Reserved :Array[1..31] of Integer;
end;
PFruityPlugInfo = ^TFruityPlugInfo;
C++
typedef struct {
int SDKVersion;
char *LongName;
char *ShortName;
int Flags;
int NumParams;
int DefPoly;
int NumOutCtrls;
int Reserved[31];
} TFruityPlugInfo;
typedef TFruityPlugInfo *PFruityPlugInfo;