extern ReImageHandle KADMOS_API re_hbitmap2image (HBITMAP hbmp, ReImage *image);
hbmp
image
ReImage
to receive the destination image.Handle of the allocated memory, NULL
in case of error.
The source Windows bitmap image under hbm will be converted into the ReImage
format. The function
allocates sufficient memory for the destination image. In case of error the NULL
pointer will be returned,
the error text can be retrieved with re_GetErrorText()
. In case of success a handle of the allocated memory
will be returned. This memory can be freed by a call to re_freeimage()
with the given handle.