ImageMan DLL Suite Version 8Submit feedback on this topic   

ImgGetDIBPtr

LPVOID IMAPI ImgGetDIBPtr (hImage)

This function retrieves a pointer to the internal DIB image's BITMAPINFO structure.

 

Parameter

Type

Description

hImage

HANDLE

Identifies the Image whose header should be retrieved.

 

Return Value

The return value is a pointer to BITMAPINFO structure if the function is successful, NULL if not.

Comments

This function should not be used to retrieve the bits of a raster image instead the ImgGetDataPtr function should be used.

Note

ImgGetDIBPtr 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 pointer returned by this function is only valid while the image is opened. After calling ImgClose on the image this pointer will no longer point to a valid image.

 

 


© 1995-2004 Data Techniques, Inc. All rights reserved.