|
The mi_unregister_callback() function unregisters a callback for an event type or for all event types.
The mi_unregister_callback() function unregisters the callback that cback_handle identifies for the event that event_type specifies.
For a C UDR, conn must be NULL for the following event types:
For a client LIBMI application, you must provide a valid connection descriptor to mi_retrieve_callback() for callbacks that handle the following event types:
The mi_register_callback() function registers a callback. The database server automatically unregisters a callback when either of the following occurs:
Use the mi_unregister_callback() function to explicitly unregister a callback so that the database server does not invoke it when the event_type event occurs.
| MI_OK | indicates that the function was successful; the callback was unregistered. |
| MI_ERROR | indicates that the function was not successful. |
See the description of the mi_register_callback() function.
For a description of how to register and unregister a callback, see Registering a Callback.