Group: GDI+ Bitmap - Library: gdiplus
GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib(
GDIPCONST BITMAPINFO* gdiBitmapInfo,
VOID* gdiBitmapData,
GpBitmap** bitmap
)
DECLARE INTEGER GdipCreateBitmapFromGdiDib IN gdiplus;
INTEGER gdiBitmapInfo,;
INTEGER gdiBitmapData,;
INTEGER @ hBitmap
gdiBitmapInfo [in] Pointer to a Microsoft Windows Graphics Device Interface (GDI)BITMAPINFO structure.
gdiBitmapData [in] Pointer to an array of bytes that contains the pixel data.
bitmap [out] Handle to the GDI+ bitmap object.
Returns 0 on success or gpstatus value in case of an error.
Home