mi_integer mi_retrieve_callback(conn, event_type, cback_handle, cback_func,user_data) MI_CONNECTION *conn; MI_EVENT_TYPE event_type; MI_CALLBACK_HANDLE *cback_handle; MI_CALLBACK_FUNC *cback_func; void **user_data;
Valid in Client LIBMI Application? | Valid in User-Defined Routine? |
---|---|
Yes | Yes |
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:
See also the description of mi_register_callback( ).