The mi_typedesc_typeid() function

The mi_typedesc_typeid() function obtains the type identifier of a data type from its type descriptor.

Syntax

MI_TYPEID *mi_typedesc_typeid(type_desc)
   MI_TYPE_DESC *type_desc;
type_desc
A pointer to the type descriptor from which to obtain the type identifier.
Valid in client LIBMI application? Valid in user-defined routine?
Yes Yes

Return values

An MI_TYPEID pointer
A pointer to the type identifier of the data type in type_desc.
NULL
The function was not successful.