Runtime derivatives can supply the following external entry points:
KcsInit()XXXX()
KcsCleanup()XXXX()
It is highly recommended that you use the KcsInit()XXXX() entry point to verify the version of the versions so that your CMM can use the profile data properly.
KcsStatus KcsInit()XXXX(long libMajor, long libMinor, long *myMajor, long *myMinor); |
If you supply the KcsInit()XXXX()entry point, the KCMS framework calls it when the shareable object is loaded for the first time. This initializes and derives private allocations before any creation method is called. KcsInit()XXXX() checks for minor version numbering. See "Configuration Requirements" for more information.
KcsStatus KcsCleanup()XXXX(); |
If you supply the KcsCleanup()XXXX()entry point, the KCMS framework calls it when the shareable object is unloaded for the last time (when KcsDLOpen()XXXXCount = 0()). This cleans up shareable objects when they are no longer needed.