void PEXCopyElements( Display *display, PEXStructure src_structure, int src_whence1, long src_offset1, int src_whence2, long src_offset2, PEXStructure dst_structure, int dst_whence, long dst_offset )
None.
Invoke PEXCopyElements to copy a range of elements from src_structure to dst_structure.
If a computed offset is less than zero, then this function sets the offset to zero before obtaining the element information. If a computed offset is greater than the number of elements in the structure, then this function sets the offset to the offset of the last element in the structure. If element zero is specified as the start of the element range to be copied from src_structure, then the implementation ignores element zero and begins the copy operation with the first element.
The same structure can be named as src_structure and dst_ structure. In this case, the copy operation proceeds as though the indicated range were copied to a temporary location and then inserted relative to the destination position.
After the copy operation, this function updates the element pointer of dst_structure to point at the last element copied into it. The editing mode attribute of dst_structure is ignored during this request. This function always inserts the copied elements into dst_structure and never uses them to replace existing structure elements.
For a list of all Structure functions and related topics, see Structures.