Release

Description

Release deallocates all resources allocated by the HIW plugin and should be called once before freeing the library.

Syntax

OPT_HIW_API int Release();

Parameters

Return

(int): returns the identification number of the error if an error occurs or 0 if no error occurs.

Example

#define OPT_PLUGIN_NO_ERROR 0
#define OPT_PLUGIN_RELEASE_ERROR 2

int Release()
{
     If (!ClearAlgorithms(...)) return OPT_PLUGIN_ RELEASE_ERROR;
     
return OPT_PLUGIN_NO_ERROR;
}