API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Element List Functions > MED_ElemList_curr_data_item_get |
This function returns the data item of the current multi valued Data Element in its native form.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_ElemList_curr_data_item_get( HIGMEDELEMLIST hIGMedElemList, INT item_index, LPVOID lpData, DWORD size_of_data, LPDWORD lpSize_of_data ); |
Name | Type | Description |
---|---|---|
hIGMedElemList | HIGMEDELEMLIST | HIGMEDELEMLIST handle to the Data Element List object. |
item_index | INT | Index of Data Item in Data Element. |
lpData | LPVOID | A far pointer to a VOID buffer into which the data will be copied. |
size_of_lpData | DWORD | Size of above buffer, lpData. |
lpSize_of_data | LPDWORD | Actual number of bytes copied to lpData (NULL if do not care). This will always be equal to or smaller than size_of_lpData. If lpSize_of_data is less than the VL of the current Data Element then lpData does not contain all the data because lpData does not point to enough memory to hold the entire object. |
Returns the number of ImageGear errors that occurred during the function call.
This function does not process image pixels.
Each Data Element can be of one of many different data types (int, word, bytes, float, double, string, etc.) You must know the VR (Value Representation) of the data in order to use this data.