KCMS CMM Developer's Guide

KcsCleanupXXXX()

KcsStatus KcsCleanupXXXX();

If you supply the KcsCleanupXXXX() 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.