ImageMan DLL Suite Version 8Submit feedback on this topic   

ImgGetDDB

HANDLE IMAPI ImgGetDDB (hImage, hDC)

This function returns a handle to a Windows device-dependent bitmap (DDB) which represents the given image.

 

Parameter

Type

Description

hImage

HANDLE

Identifies the image.

hDC

HDC

The image is created to be compatible with this device context. This parameter cannot be NULL.

 

Return Value

The return value is a handle to a Windows bitmap on success, NULL on failure.

Comments

The returned image will take on the color characteristics and bit-depth of the passed device context; therefore, it's important to make sure that a palette has been selected into the device context before calling this function. This function returns a new copy of a DDB. Therefore you must free the handle when you are done using it.

 

 


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