Routine-state information

When the routine manager executes a C UDR, it puts information about the routine sequence for the UDR in an MI_FPARAM structure and passes this MI_FPARAM structure as the last argument to the UDR.

From the MI_FPARAM structure, the UDR can obtain the following information:
  • The number and data types of its arguments
  • The assumed data type of its return value (for a user-defined function only)
  • Any user data associated with the UDR

For information about how the routine manager executes a UDR, see Execute a UDR. For information about how to access the routine-state information in the MI_FPARAM structure, see Access MI_FPARAM routine-state information.