The mi_get_parameter_info() function
The mi_get_parameter_info() function populates a parameter-information descriptor with the current session parameters.
Syntax
mi_integer mi_get_parameter_info (parameter_info)
MI_PARAMETER_INFO *parameter_info;
- parameter_info
- A pointer to a user-provided parameter-information descriptor to store the current session parameters.
Valid in client LIBMI application? | Valid in user-defined routine? |
---|---|
Yes | Yes |
Usage
The mi_get_parameter_info() function
returns current session parameters into the parameter-information
descriptor (MI_PARAMETER_INFO structure) that parameter_info references.
The parameter information structure controls whether callbacks are
enabled and whether pointers are checked during the session.
Tip: You must allocate this parameter-information descriptor
before you call mi_get_parameter_info().
The mi_get_parameter_info() function also initializes the DataBlade® API when it is the first DataBlade® API function in a client LIBMI application.
To set the session parameters, use the mi_get_parameter_info() function.
For more information about the parameter-information descriptor, see the Informix® DataBlade® API Programmer's Guide.
Return values
- MI_OK
- The function was successful.
- MI_ERROR
- The function was not successful.