Callback handle

The mi_register_callback() function returns a callback handle, which accesses a registered callback within a DataBlade® API module. A callback handle has the MI_CALLBACK_HANDLE data type.

Use a callback handle to identify a callback for the following tasks.
Callback task DataBlade API function
Enable a callback mi_enable_callback()
Disable a callback mi_disable_callback()
Retrieve a pointer to a callback function mi_retrieve_callback()
Unregister a callback mi_unregister_callback()
Tip: The last argument of the mi_register_callback() function is also a callback handle, but this argument is reserved for future use and must currently be a NULL-valued pointer.