DevIL Documentation | Home | Previous | Next |
The ilutSetHBitmap function sets the current image to be a copy of a Win32 bitmap.
ILboolean ilutSetHBitmap(
HBITMAP Bitmap
);
ilutSetHBitmap copies Bitmap to the current bound image in a format OpenIL can understand. The image can then be used just as if you had loaded an image via ilLoadImage. This function is the opposite of ilutConvertToHBitmap.
ILUT_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.
ilGenImages, ilBindImage, ilutConvertToHBitmap