DevIL Documentation Previous | ILUT | Next

 

ilutConvertToHBitmap

 

ilutConvertToHBitmap creates a Windows bitmap handle (HBITMAP) copy of the current image, for direct use in Windows.

 

HBITMAP ilutConvertToHBitmap(
  HDC hDC );


Parameters

 
hDC
The ilutGetBoolean returns the value of a selected mode.


See Also

 
ilBindImage, ilGenImages, ilutGetHPal,

Errors

 
ILUT_INVALID_ENUM
stant or an out of range value.
ILUT_INVALID_PARAM
An invalid parameter was passed to a function, such as a NULL pointer.