|
The mi_retrieve_callback() function retrieves the handle of a registered callback.
The mi_retrieve_callback() function returns a callback-function pointer (MI_CALLBACK_FUNC) when you pass in a callback handle (MI_CALLBACK_HANDLE). This function is useful when a DataBlade API module needs to temporarily change the callback that is registered for a particular event.
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:
| MI_OK | indicates that the function was successful. |
| MI_ERROR | indicates that the function was not successful. |
See the description of the mi_register_callback() function.
For more information, see Retrieving the Callback Function.