Synopsis
PDX_MSGT mda_CopyToOList(long option, OLM_LIST *list, int count, void *ptr)
Purpose
Copy a field to an object list.
Description
The contents of the specified field will be copied to an object list. The list will be created in the same order as the elements appear in the field. The number of elements to be copied is specified in the count argument. The source of the copy must be a "pointer to fixed" field type. The pointer passed must be the location of the data, not the location of the pointer to the data. If the count argument is specified as 0, no data will be added to the list and the function will return MDA_NOERR.
Input
option
Options (not used)
list
The object list to copy the data to
count
Number of elements to copy from the field
ptr
Address of the field data to be copied
Return
MDA error code