ImageGear Professional v18.4 > API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_ERRSTACK_CLEAR |
This callback function is called each time a thread that registered this callback (using IG_err_callback_set() function) clears the stack.
Copy Code
|
|
---|---|
typedef VOID (LPACCUAPI LPFNIG_ERRSTACK_CLEAR)( LPVOID lpPrivate, UINT nRecords ); |
Name | Type | Description |
lpPrivate | LPVOID | Private data passed. |
nRecords | UINT | Number of records cleared from the stack starting with index 0. |
None
This function does not process image pixels.
Filters, FlashPix, Multimedia, MFC Threads
Copy Code
|
|
---|---|
VOID ACCUAPI LocThErrClearCB( LPVOID lpPrivate, /* Private data passed in. */ UINT nRecords /* Number of records cleared from the stack starting from 0 index. */ ) { char szOutput[1024]; sprintf( szOutput, "Local CallBack - error stack cleared\nThread Id:%u\nThread number:%i, Records cleared:%i", GetCurrentThreadId(), (int)lpPrivate, nRecords ); // AfxMessageBox( szOutput ); ::MessageBox(NULL, szOutput, "THREADS", MB_OK); } |