ImageGear for C and C++ on Windows v19.6 - Updated
IG_thread_local_data_cleanup
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Thread Functions > IG_thread_local_data_cleanup

This function destroys a group of settings with a specific ID if it's not in use by any threads.

Declaration:

 
Copy Code
AT_ERRCOUNT EXPORT ACCUAPI IG_thread_local_data_cleanup(DWORD dwClDataId);

Arguments:

Name Type Description
dwClDataId DWORD The group ID of settings to clean up.

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:

None

Example:

 
Copy Code
nErrCnt = IG_thread_local_data_cleanup( 1 );