formZ SDK | 4.0 Call Back Reference | Object Type

# fz_otyp_cbak_copy

Description

Object type copy function (Optional). This function is called whenever an object of this type is copied. This function should be implemented when the parametric data contains dynamically allocated arrays. These can be copied from the source parameter block to the destination parameter block after the function allocates the space in the destination parameter block. All other fields need to be copied from the source parameter block to the destination parameter block as well. if this function is not implemented, formZ will copy all the bytes from the source parameter block to the the destination parameter block. For convenience, both the object and a pointer to the parameter block of the source and destination are passed in.

Plugin Prototype

fzrt_error_td fz_otyp_cbak_copy(

fzrt_int | src_windex,
fz_objt_ptr | src_objt,
fzrt_ptr | src_parm,
fzrt_int | dst_windex,
fz_objt_ptr | dst_objt,
fzrt_ptr | dst_parm )

Parameters

src_windex [Input]

source project

src_objt [Input]

source object

src_parm [Input]

generic pointer to the source parameter block

dst_windex [Input]

destination project

dst_objt [Input]

destination object

dst_parm [Input]

generic pointer to the destination parameter block

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_otyp_cbak_fset

Defined in

fz_otyp_api.h