Function that is called when the host application no longer needs the plug-in.
PLUGIN_API int __stdcall CX_Free();
For a description of return values, see Return Values.
The host application will call this function once when it no longer needs the plug-in. After CX_Free is called, no other entry points may be called. Normally, CX_Free will be called immediately before unloading the plug-in DLL using FreeLibrary(). This function will not be called if CX_Init failed. The main purpose of CX_Free is to give the plug-in a chance to free any DLLs it has dynamically loaded with LoadLibrary().
Header: CX_PlugIn.h