The mi_type_typedesc() function

The mi_type_typedesc() function creates a type descriptor, given a type identifier.

Syntax

MI_TYPE_DESC *mi_type_typedesc (conn, typeid_ptr)
   MI_CONNECTION *conn;
   MI_TYPEID *typeid_ptr;
conn
A pointer to a connection descriptor established by a previous call to mi_open(), mi_server_connect(), or mi_server_reconnect().
typeid_ptr
A pointer to the type identifier for which to generate a type descriptor.
Valid in client LIBMI application? Valid in user-defined routine?
Yes Yes

Usage

The mi_type_typedesc() function obtains the type descriptor for the type identifier that typeid_ptr references.

Return values

An MI_TYPE_DESC pointer
A pointer to the type descriptor for typeid_ptr.
NULL
The function was not successful.