ImageGear for C and C++ on Linux v19.10 - Updated
ART_memory_append
API Reference Guide > ART Component API Reference > ART Component Functions Reference > Memory Functions > ART_memory_append

This function appends the marks from memory into the HIGEAR image.

Declaration:

 
Copy Code
AT_ERRCOUNT ART_memory_append (
        HIGEAR hIGear, 
        HWND hWnd, 
        DWORD dwGrpID,
        LPVOID lpMem
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
hWnd HWND HWND handle of the image window.
dwGrpID DWORD Display group.
lpMem LPVOID A 32-bit or 64-bit pointer to memory (based on the system's bit architecture).

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Example:

 
Copy Code
HIGEAR      hIGear; /* HIGEAR handle of Image  */
LPBYTE      pMem; /* Pointer to memory  */
LPBYTE      pMemAppend; /* Pointer to memory  */
AT_ERRCOUNT nErrCount; /* Tally of IG errors on stack */
HWND        hWnd;
nErrCount = ART_memory_import (hIGear,pMem);
nErrCount = ART_memory_append (hIGear,pMemAppend);