![]() |
|
The mi_lo_specset_def_open() function sets the default open flags for a smart large object.
The mi_lo_specset_def_open() function is the LO-specification accessor function that sets the default open flags for a new smart large object. The def_open_flags value is the bit mask that indicates which open flags to use when the mi_lo_open() opens the smart large object. The default open flags indicate how the mi_lo_open() function opens the smart large object when it does not include an open flag. To override the default open flags, you can specify an open mode as an argument to mi_lo_open().
MI_OK | indicates that the function was successful. |
MI_ERROR | indicates that the function was not successful. |
See the descriptions of the following functions: mi_lo_copy(), mi_lo_create(), mi_lo_expand(), mi_lo_from_file(), mi_lo_open(), mi_lo_spec_free(), mi_lo_spec_init() and mi_lo_specget_def_open().
For more information on the default open mode of a smart large object, see Storage Characteristics. For information on how to use the mi_lo_specset_def_open() function, see The LO-Specification Structure, and Defining User-Specified Storage Characteristics.