conn
is a pointer to the connection descriptor that a previous call to mi_open() or mi_server_connect() established.
serial_val
is the new SERIAL value that the mi_last_serial() function obtains.
Yes
MI_OK
The function was successful.
MI_ERROR
The function was not successful.