KCMS CMM Reference Manual

External Loadable Interface

Use these KcsXform external entry points to load your derivatives at runtime. See the DDK manual KCMS CMM Developer's Guide for more information on creating a KcsXform derivative as a runtime loadable CMM.

Table 8-4 KcsXform External Loadable Interface

Extern "C" 

Description 

extern long KcsDLOpenXfrmCount; 

Holds a counter for the number of times this dynamically loadable module has been loaded. 

KcsStatus KcsInitXfrm(long libMajor,
  	long libMinor, long *myMajor,
  	long *myMinor); 

Returns KCS_SUCCESS.

KcsXfrm  
* KcsCreateXfrm(KcsStatus *aStat,
  	KcsChunkSet *aChunkSet,
  	KcsChunkId aChunkId
,  	KcsAttributeSet *aAttrSet); 

Returns a KcsXform object by invoking the KcsXform constructor.

KcsStatus KcsCleanupXfrm(); 

Returns KCS_SUCCESS.