The following sequence of operations needs to be performed by a host before it can start telling a plug-in what to do via its
mainEntry
function.
OfxGetNumberOfPlugins
function,
OfxGetPlugin
is called,
pluginApi
and
apiVersion
of the returned
OfxPlugin
struct are examined,
setHost
in the returned
OfxPlugin
struct.