Assigns an object to a reference symbol previously created by the user.
Since a reference symbol allows a user to refer to an object without
maintaining a handle to the object, the user may have used the
reference symbol for forward referencing, via
SE_AddSymbolicAssociate(),
SE_AddSymbolicComponent(), or
both. Consequently, when an object is assigned to the reference symbol
by
SE_AssignReferenceSymbolToObject(),
the API identifies any symbolic association or composition relationships
that have been created, then creates the real relationships
between the objects.
SE_INVALID_OR_NULL_OBJECT - and no changes are made, if object_in is not a handle to a valid, active (i.e., not freed) object.
SE_UNRESOLVED_OBJECT - and no changes are made, if object_in is an unresolved object.
SE_INVALID_OR_NULL_REFERENCE_SYMBOL - and no changes are made, if component_object is not a handle to a valid, active (i.e., not freed) SE_REFERENCE_SYMBOL created by one of the create- reference-symbol functions.
SE_REFERENCE_SYMBOL_HAS_ASSIGNED_OBJECT - and no changes are made, if the reference symbol has been assigned previously to a different object.
SE_INVALID_ACCESS_MODE - and no changes are made, if the transmittal containing object_in was opened in read-only mode.
SE_FAILURE - and no changes are made, 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_AssignReferenceSymbolToObject | |||
| ( | |||
| SE_REFERENCE_SYMBOL | ref_symbol, | (notes) | |
| SE_OBJECT | object_in | (notes) | |
| ); | |||
the previously created reference symbol.
the object to be assigned the reference symbol.