This function retrieves a handle to the internal DIBSECTION.
|
Parameter |
Type |
Description |
|
hImage |
HANDLE |
Identifies the Image whose handle should be retrieved. |
Return Value
The return value is a handle to the internal DIBSECTION if the function is successful, NULL if not.
Comments
This function should be used to retrieve the handle of a raster image in DIBSECTION format. The DIB format maintains all the color information of the original image.
Note
ImgGetHBitmap works only with raster images; using this function on vector images will result in an IMG_BAD_TYPE error being returned to your application. The handle returned by this function is only valid while the image is opened. After calling ImgClose on the image this handle will no longer reference a valid image.
© 1995-2004 Data Techniques, Inc. All rights reserved.