ID_Free function

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

Syntax

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

ID_Free() will not be called if ID_Init() failed.

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

Requirements

Header: ID_PlugIn.h

See also: