conn
is the connection descriptor. In the database server, conn must be NULL for the following event types:
In a user-defined routine, conn can be NULL or a valid connection for these event types
event_type
is the event type. Valid event types are listed in "Events".
handle
is the callback handle from mi_register_callback().
Yes
MI_OK
The function was successful.
MI_ERROR
The function was not successful.