This function imports a HBITMAP into a 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.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
C Display