This function imports a HBITMAP into an HIGEAR instance.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_DDB_import(
HDC hDC,
HBITMAP hBitmap,
HPALETTE hPalette,
LPHIGEAR lphIGear
);
|
|
Arguments:
| 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. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.![]() |
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. |
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
C Display
