The mi_init_library() function

The mi_init_library() function initializes the DataBlade® API library.

Syntax

mi_integer mi_init_library(flags)
   mi_integer flags;
flags
This value must be 0.
Valid in client LIBMI application? Valid in user-defined routine?
Yes No

Usage

The mi_init_library() function initializes the DataBlade API when it is the first DataBlade API function in a client LIBMI application.

Return values

MI_OK
The function was successful.
MI_ERROR
The function was not successful.