retval
is a pointer to the location of the function return value.
func
is a pointer to the function.
nargs
is the number of the arguments in the argument list.
...
is from 0 to 10 arguments to pass to the function.
No
Yes
MI_NOMEM
The mi_call() function was unable to allocate virtual memory.
MI_TOOMANY
The nargs argument is greater than 10.
10
MI_CONTINUE
The current stack is large enough.
MI_DONE
The function was called; the return value is in retval.