This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
The entry point for event-based plugins is typically defined like this:
OSErr PLUGIN ( short selector,
GenericPluginContext * context, void *param )
{
}
The type OSErr is defined as a result of including plugdefs.h , which is included via cmplug.h .