(v13) D_CMM_ENUMERATE (core module plugins)
This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
D_CMM_ENUMERATE Selector
Parameter: CoreModuleEnumerateParam * param
Call type: Single call
This call is made to enumerate the instances of Color Management Core Modules that this plugin contains. The RIP will call the plugin with index set to an integer 0...n-1
, where n
is the value of n_instances
from the D_CMM_QUERY
call.
The plugin must set the value of pInstance
to the address of the sw_cmm_api
structure that defines the module. The memory used for this structure should not be modified or freed after this call returns.
typedef struct CoreModuleEnumerateParam {
int32 index ; /* (I) zero based instance index */
void* pInstance ; /* (O) pointer to instance structure*/
} CoreModuleEnumerateParam ;