Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kReplaceRef ( kObject object,
kObject  source 
)

Replaces a reference to existing object with a new object.

The existing object is disposed, the new object is shared, and the existing object reference is replaced with a reference to the new object.

Parameters
objectPointer to object handle to be replaced.
sourceReplacement object.
Returns
Operation status.