conn
is the connection descriptor established by a previous call to mi_open() or mi_server_connect().
database_info
is a pointer to a user-provided structure for storing the database information.
The MI_DATABASE_INFO structure looks like this.
Yes
MI_OK
The function was successful.
MI_ERROR
The function was not successful.