PTMAP_copy_point
This subroutine copies the data value of a source point to a destination point.
Syntax
int PTMAP_copy_point (dest_point, src_point, retstat)
PTM_DATA *dest_point;
PTM_DATA *src_point;
COR_STATUS *retstat;
Input Arguments
Dest_point | Point to which data value is to be copied. |
Src_point | Point from which data value is being copied. |
Output Arguments
Retstat | Pointer to status structure. |
COR_SUCCESS will be returned on a successful copy. | |
The following errors may be returned if either the source or destination point record is NULL or if the record definitions are note the same (see Appendix A for an explanation of this code): | |
PTMAP_DATA_NULLPTR | |
PTMAP_DATA_TYPE_MISMATCH | |
PTMAP_DATA_LEN_MISMATCH | |
PTMAP_DATA_ELEM_MISMATCH |
Return Value
The contents of retstat.status .