IF_Free function

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

Syntax

PLUGIN_API int __stdcall IF_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 IF_Free() is called, no other entry points may be called. Normally, IF_Free() will be called immediately before unloading the plug-in DLL using FreeLibrary().

IF_Free() will not be called if IF_Init() failed.

The main purpose of IF_Free() is to give the plug-in a chance to free any DLLs it has dynamically loaded with LoadLibrary().

Requirements

Header: IF_PlugIn.h

See also: