ImageGear for C and C++ on Windows v19.1 - Updated
MED_ElemList_copy
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Element List Functions > MED_ElemList_copy

This function copies source Data Set to the destination lphDstList for which will be allocated new memory.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_ElemList_copy( 
        HIGMEDELEMLIST hSrcList,
        HIGMEDELEMLIST* lphDstList
);

Arguments:

Name Type Description
hSrcList HIGMEDELEMLIST HIGMEDELEMLIST handle to the source Data Element List object.
lphDstList HIGMEDELEMLIST* HIGMEDELEMLIST* address of handle to the destination Data Element List object.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

When copied Metadata is no longer necessary, it should be destroyed by calling MED_ElemList_destroy().