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

This function retrieves the ID of the group of settings used by a particular thread.

Declaration:

 
Copy Code
AT_ERRCOUNT EXPORT ACCUAPI IG_thread_data_ID_get(LPDWORD lpdwDataId);

Arguments:

Name Type Description
LpdwDataId LPDWORD A pointer to a variable for receiving information about group ID of settings currently associated with a thread.

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:

MFC Threads

Example:

 
Copy Code
nErrCnt = IG_thread_data_ID_get( &dwLocalId );