|
The mi_file_to_large_object() function creates a smart large object and writes the contents of the specified file to it.
Use mi_free() to free this handle when it is no longer needed.
| MI_LOHANDLE * | is a pointer to an LO handle for the new smart large object. |
| NULL | indicates that the function was not successful. |
The mi_file_to_large_object() function does not throw an MI_Exception event when it encounters a runtime error. Therefore, it does not cause callbacks to be invoked.
See the descriptions of other mi_lo_ functions and the following functions: mi_large_object_create(), mi_large_object_create_opts(), mi_large_object_to_file(), mi_large_object_info(), and mi_lo_from_file().