ImageGear for C and C++ on Windows v19.1 - Updated
IG_save_mem_CB_direct
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Save Functions > IG_save_mem_CB_direct

This function has been deprecated and will be removed from the public API in a future release. Please use IG_save_mem_CB_ex instead.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_save_mem_CB_direct(
   LPVOID lpImage,
   AT_UINT nImageSize,
   AT_UINT nBufferSize,
   UINT nPage,
   UINT nReserved,
   AT_LMODE lFormatType,
   LPFNIG_DIRECT_RASTER_GET lpfnRasterGet,
   LPFNIG_DIB_GET lpfnDIBGet,
   LPVOID lpPrivateData,
   LPAT_UINT lpActualSize
);

Arguments:

Name Type Description
lpImage LPVOID Not used.
nImageSize AT_UINT Not used.
nBufferSize AT_UINT Not used.
nPage UINT Not used.
nReserved UINT Not used.
lFormatType AT_LMODE Not used.
lpfnRasterGet LPFNIG_DIRECT_RASTER_GET Not used.
lpfnDIBGet LPFNIG_DIB_GET Not used.
lpPrivateData LPVOID Not used.
lpActualSize LPAT_UINT Not used.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

N/A

Sample:

None