Obtaining user-state information in subsequent invocations of the UDR

About this task

To obtain user-state information in subsequent invocations of the UDR:

Procedure

  1. Use the mi_fp_funcstate() function to retrieve the user-state pointer from the MI_FPARAM structure.
  2. If the user-state pointer is not a NULL-valued pointer, cast the pointer to the data type of your user-state information.

    After the user-state pointer points to the correct data type, you can access the user-state information.