D_CMM_QUERY (core module plugins)
This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
D_CMM_QUERY Selector
Parameter: CoreModuleQueryParam * param
Call type: Single call
This call is made to determine the number of Color Management Core Modules that this plugin contains. The number should be returned in n_instances
.
The plugin can inspect api_version
to determine if it is compatible with the RIP by comparing its API version (taken from the enumeration sw_cmm_api_versions
in swcmm.h
) to that presented by the RIP.
This can be used, for instance, to ensure that use of the sw_message_fn
function is not attempted with RIPs which report SW_HTM_API_VERSION_20071110
and earlier.
typedef struct CoreModuleQueryParam {
int32 api_version ; /* (I) RIP's API version */
int32 n_instances ; /* (O) how many instances the plugin supports */
} CoreModuleQueryParam ;