informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_retrieve_callback()

The mi_retrieve_callback() function retrieves the handle of a registered callback.

Syntax

Usage

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:

Return Values

MI_OK indicates that the function was successful.
MI_ERROR indicates that the function was not successful.

Related Topics

See the description of the mi_register_callback() function.

For more information, see Retrieving the Callback Function.


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved