mi_integer mi_get_connection_option(conn, conn_option, result_ptr)
MI_CONNECTION *conn;
const mi_integer conn_option;
mi_integer *result_ptr;
Valid in Client LIBMI Application? | Valid in User-Defined Routine? |
---|---|
Yes | Yes |
The mi_get_connection_option( ) function puts information about the connection attribute that conn specifies in the location that result_ptr references.
The following table lists the valid values for conn_option and the associated possible values that result_ptr references.
This function copies this value into the buffer that result_ptr references. The function allocates memory for the result in the current memory duration. When you no longer need this result, free this memory.
The mi_get_connection_option( ) function raises an exception for the following conditions: