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

This function serializes Data Element List into buffer lpPtr32.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_ElemList_write_mem (
        VOID FAR32* lpPtr32,
        LPAT_UINT lpSize,
        LPAT_DCM_ELEMLIST_SETTINGS lpElemListSettings,
        HIGMEDELEMLIST hIGMedElemList
);

Arguments:

Name Type Description
lpPtr32 VOID FAR32* Far pointer to buffer, where will be serialized Data Element List.
lpSize LPAT_UINT Size of the saving data. Function will fill here number of written bytes.
lpElemListSettings LPAT_DCM_ELEMLIST_SETTINGS A far pointer to AT_DCM_ELEMLIST_SETTINGS structure's object with control parameters for writing of element lists.
hIGMedElemList HIGMEDELEMLIST HIGMEDELEMLIST handle to the 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:

For determining buffer size before its allocation call MED_ElemList_save_size_calc().