Clones an object by allocating a new SE_OBJECT and
copying the given object into the new SE_OBJECT.
Unlike SE_GetNextObject(), this function
always allocates a brand-new object for the
*new_object_out_ptr
being returned.
SE_NULL_REQUIRED_PARAMETER - and *new_object_out_ptr is left unaltered, if new_object_out_ptr is NULL.
SE_INVALID_OR_NULL_OBJECT - and *new_object_out_ptr is set to NULL, if object_in is not a handle to a valid, active (i.e., unfreed) SEDRIS object.
SE_OUT_OF_MEMORY - and *new_object_out_ptr is set to NULL, if a new SE_OBJECT cannot be allocated.
SE_FAILURE - and *new_object_out_ptr is set to NULL, if the API implementation specified does not provide this function in its shared library, and dynamic binding is specified at compile time.
| extern SE_STATUS_CODE_ENUM | |||
| SE_CloneObject | |||
| ( | |||
| SE_OBJECT | object_in, | (notes) | |
| SE_OBJECT | * | new_object_out_ptr | (notes) |
| ); | |||
object that is being cloned.
the clone.