ImageGear Professional v18.4 > API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Element List Functions > MED_DCM_FileMetaInfo_copy_get |
This function allocates a new Element List and copies the DICOM FileMetaInfo (Part10 header) associated with hIGear to it.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_DCM_FileMetaInfo_copy_get( HIGEAR hIGear, HIGMEDELEMLIST* lphDstList ); |
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle to an image from which Element List will be copied. |
lphDstList | HIGMEDELEMLIST* | Address of the HIGMEDELEMLIST handle to the Metadata List object. |
Returns the number of ImageGear errors that occurred during the function call.
This function does not process image pixels.
The image must have a DICOM DataSet attached to it. Use MED_DCM_DS_exists to check whether the image contains a DataSet. |
When copied Element List is no longer necessary, it should be destroyed by calling MED_ElemList_destroy().