The output plugin entry point


This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core


The entry point for output plugins is typically defined like this:

    OSErr PLUGIN (
      short selector,
      deviceDefinition *dev,
      void *param )
    {
    }

The type OSErr is defined as a result of including plugdefs.h which is included in outplug.h .

Windows plugins must explicitly export this function, either by declaring it in a .def file linked with the project, or by declaring it as:

declspec(dllexport) OSErr PLUGIN ...