CX_Free function

Function that is called when the host application no longer needs the plug-in.

Syntax

PLUGIN_API int __stdcall CX_Free();

Parameters

Return Value

For a description of return values, see Return Values.

Remarks

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().

Requirements

Header: CX_PlugIn.h

See also: