 
            This function registers a callback function to be called when a GUI image window is destroyed.
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT ACCUAPI IG_GUI_window_CB_register ( 
        HWND hWndImage, 
        LPFNIG_GUIWINDESTROY lpfnDestroy, 
        LPVOID lpPrivate 
);
 | |
| Name | Type | Description | 
|---|---|---|
| hWndImage | HWND | Image window handle. | 
| lpfnDestroy | LPFNIG_GUIWINDESTROY | Far pointer to the callback function to be called when the window is destroyed. | 
| lpPrivate | LPVOID | Far pointer to the private data (passed to the callback function). | 
Returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
GUI Windows
See the example for function IG_GUI_window_create().
These are windows created by IG_GUI_window_create() or by currently GUI-associated calls to IG_GUI_window_associate().