This function loads the marks from memory into the HIGEAR image.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ART_memory_import (
HIGEAR hIGear,
HWND hWnd,
DWORD dwGrpID,
LPVOID lpMem
);
|
Arguments:
Name |
Type |
Description |
hIGear |
HIGEAR |
HIGEAR handle to the image. |
hWnd |
HWND |
HWND handle to the window. |
dwGrpID |
DWORD |
Identifier of 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++.
Sample:
None
Example:
|
Copy Code
|
HIGEAR hIGear; /* HIGEAR handle of Image */
LPBYTE pMem; /* Pointer to memory */
AT_ERRCOUNT nErrCount; /* Tally of IG errors on stack */
HWND hWnd;
DWORD dwGrpID;
dwGrpID = IG_GRP_DEFAULT;
nErrCount = ART_memory_import (hIGear, hWnd,
dwGrpID, pMem);
|
Remarks:
Use this for loading marks that were previously made and temporarily saved in memory.