The mi_get_type_source_type() function

The mi_get_type_source_type() function obtains a type descriptor for the source of a distinct type.

Syntax

MI_TYPE_DESC *mi_get_type_source_type(typedesc_ptr)
   MI_TYPE_DESC *typedesc_ptr;
typedesc_ptr
A pointer to a type descriptor of the distinct type.
Valid in client LIBMI application? Valid in user-defined routine?
Yes Yes

Usage

The mi_get_type_source_type() function obtains a type descriptor for the source type of the data type that typedesc_ptr references.

Return values

An MI_TYPE_DESC pointer
A pointer to a type descriptor for the source type of the specified distinct type.
NULL
The function was not successful.