conn
is the connection descriptor.
from_type
is the original data type.
to_type
is the type to which the original data type is being cast.
cast_status
is an output parameter set by mi_cast_get(). Possible cast_status values follow:
MI_ERROR_CAST
The mi_cast_get() function failed.
MI_NO_CAST
No casting routine exists between the two specified types. The user must write a function in order to cast.
MI_NOP_CAST
No casting routine exists between the two types. The user can cast directly without writing a function.
MI_SYSTEM_CAST
Casting is between built-in types.
MI_UDR_CAST
A user-defined routine exists for casting between the specified types.
MI_EXPLICIT_CAST
The cast is explicit.
MI_IMPLICIT_CAST
The cast is implicit.
Yes