Skip to main content
Skip table of contents

PSDEV plugin startup call sequence

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

The initialization sequence for an input plugin involves the following selector calls:

  1. D_SELECTOR_SUPPORT query on D_GET_IDENTITY.
  2. D_GET_IDENTITY. This call identifies the type of the plugin.
  3. D_GEN_BOOT. Allows the plugin to tell the RIP how much memory should be allocated for it.
  4. D_PLUGIN_INITIALISE This call allows the plugin to set up any initial state information it needs.
  5. D_SECURITY Allows the plugin to verify that it can work with this copy of the RIP and with the dongle attached.
  6. D_PSDEV_INITDEVICETYPES This call provides another initialization opportunity for the plugin, some helper function pointers and also provides some version information about the RIP
    The call occurs after the first call to D_GEN_SECURITY and implies that the plugin will indeed be expected to perform some actual work. The plugin need not necessarily have a use for the RIP version information, or the helper function pointers provided by this call, but generally the plugin will take a copy of the structure provided for retention in its static state.
  7. D_PSDEV_NUMDEVTYPES Requests from the plugin the number of device types supported by the plugin.
  8. D_PSDEV_GETDEVTYPE Requests the plugin to supply one DEVICETYPE structure. Called repeatedly for as many structures as notified by D_PSDEV_NUMDEVICETYPES.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.