The mi_get_row_desc_from_type_desc() function
The mi_get_row_desc_from_type_desc() function obtains a row descriptor that is associated with the specified type descriptor.
Syntax
MI_ROW_DESC *mi_get_row_desc_from_type_desc(type_desc)
MI_TYPE_DESC *type_desc;- type_desc
- A pointer to the type descriptor.
| Valid in client LIBMI application? | Valid in user-defined routine? |
|---|---|
| Yes | Yes |
Usage
The mi_get_row_desc_from_type_desc() function is useful for processing returned row data, especially when not all the rows that a query returns have the same size and structure.
For more information about how to obtain row descriptors or on type descriptors, see the HCL® Informix® DataBlade® API Programmer's Guide.
Return values
- An MI_ROW_DESC pointer
- A pointer to the row descriptor for the specified type descriptor.
- NULL
- The function was not successful.