This function imports a HBITMAP into a HIGEAR instance.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_DDB_import( HDC hDC, HBITMAP hBitmap, HPALETTE hPalette, LPHIGEAR lphIGear ); |
Name | Type | Description |
---|---|---|
hDC | HDC | HDC to use when processing the hBitmap. If NULL, the desktop DC is used. |
hBitmap | HBITMAP | HBITMAP to import to the HIGEAR instance. |
hPalette | HPALETTE | HPALETTE of the specified hBitmap. If NULL, then the system default palette is used. |
lphIGear | LPHIGEAR | HIGEAR instance to which the hBitmap will be imported. |
To determine the number of errors currently on the error stack use IG_error_check. After fetching all error information you need using IG_error_get, use IG_error_clear to clear the stack.
This function does not process image pixels.