This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
D_PLUGIN_INITIALISE Selector
Parameter: PlugInitParam *param
Call type: Single‐call
This is the third startup call made to the plugin. It is used to set up any state required by the plugin as a whole. D_PLUGIN_INITIALISE is followed by a call to D_SECURITY .
typedef struct plugInitParam { int32 version ;
int32 memAllocated ; int32 returnCode ;
} PlugInitParam ;
Note : By this point, the globalState pointer in the GenericPluginContext structure passed to the plugin will have been correctly initialized.
|
|
The version field should be ignored. |
|
|
The RIP sets this to indicate the amount of global memory actually allocated in response to the amount requested in the |
|
|
The plugin should set |