This function gets the current attribute settings of the GUI window.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_color_profile_attribute_get(
HWND hWnd,
AT_MODE nAttributeID,
LPVOID lpData
);
|
|
| Name | Type | Description |
|---|---|---|
| hWnd | HWND | Handle of window in which the image is displayed. |
| nAttributeID | AT_MODE | A variable of type AT_MODE, such as IG_GUI_WINDOW_PAINT. |
| lpData | LPVOID | A VOID pointer to a variable of the type required by the nAttributeID parameter. This gets the value for the attribute defined by nAttributeID. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
GUI Windows
Currently, there are only two attributes, but this may be expanded in the future: