mi_integer mi_streamread_row(strm_desc, rowstruc_dptr, fparam_ptr) MI_STREAM *strm_desc; MI_ROW **rowstruc_dptr; MI_FPARAM *fparam_ptr;
Valid in Client LIBMI Application? | Valid in User-Defined Routine? |
---|---|
No | Yes |
The mi_streamread_row( ) function reads a row structure from the stream that strm_desc references. The function reads the row structure from the stream and puts its address in the buffer that *rowstruc_dptr references. The read operation begins at the current stream seek position. You can use mi_stream_tell( ) or mi_stream_getpos( ) to obtain this seek position.
The mi_streamread_row( ) function is a constructor function for a row structure. It allocates memory for this row structure in the current memory duration.
This function is useful in a streamread( ) support function of an opaque data type that contains a row structure (MI_ROW).
See also the descriptions of mi_stream_getpos( ), mi_stream_read( ), mi_stream_tell( ), and mi_streamwrite_row( ).
For more information on the use of mi_streamread_row( ) in a streamread( ) support function, see the IBM Informix: DataBlade API Programmer's Guide.