Init

Description

Init initializes the HIW plugin and should be called once before any other HIW API call.

Syntax

OPT_HIW_API int Init();

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_INIT_ERROR 1

int Init()
{
     If (!InitErrorDescription(...)) return OPT_PLUGIN_INIT_ERROR;
     If (!InitAlgorithms(...)) return OPT_PLUGIN_INIT_ERROR;
     
return OPT_PLUGIN_NO_ERROR;
}