conn
is the connection descriptor established by a previous call to mi_open() or mi_server_connect().
MI_OK
The function was successful.
MI_ERROR
The function was not successful.