conn
is the connection handle.
fdesc
is the function handle.
Yes
MI_OK
The function was successful.
MI_ERROR
The function was not successful.