ImageGear for C and C++ on Linux v20.0 - Updated
IG_close
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Linux Initialize and Close Functions > IG_close

This function frees resources and memory that ImageGear allocated while it was in use. When your application no longer needs the use of ImageGear functions, you should close ImageGear using this function. This function should be called before the application program exits.

lpData must be the same value as the one passed to the preceding call of IG_initialize().

Declaration:

 
Copy Code

AT_ERRCOUNT IG_close ( LPVOID lpData);

Arguments:

Name Type Description
lpData LPVOID Must be the same value as the one passed to the preceding call of IG_initialize().

Return Value:

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

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

ImageGearDemo

Example:

 
Copy Code

/* Close ImageGear */
nErrCount = IG_close (lpData);

See Also:

IG_initialize()

Is this page helpful?
Yes No
Thanks for your feedback.