xxx_init(), xxx_winit()

extern XXX_ERROR XXX_API xxx_init (XXX_Data *, const char *file_title);
extern XXX_ERROR XXX_API xxx_winit (XXX_Data *, const wchar_t *file_title);
      

Parameter:

XXX_Data *
Pointer to a structure XXX_Data.
filetitle
Pointer to the filename of the loaded classifier.

Return value:

RE_SUCCESS or XXX error type.

Comment:

xxx_init() loads the classifier file, specified by file_title. The values of interna will be set to handles of the loaded classifier data, and must not be changed before xxx_end() has been called. In the ReParm sub structure parm the default values of the parameters will be filled in. In case of success the functions return RE_SUCCESS, in case of error they return the related error type. The error text can be retrieved by calling re_GetErrorText() or be displayed by calling re_DisplayErrorText().

Reference: