Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.03 KB

File metadata and controls

54 lines (36 loc) · 1.03 KB

Home

Function name : GdipCreateHBITMAPFromBitmap

Group: GDI+ Bitmap - Library: gdiplus


Creates a Microsoft® Windows® Graphics Device Interface (GDI) bitmap from this GDI+ Bitmap handle.


Code examples:

Custom GDI+ class

Declaration:

GpStatus WINGDIPAPI GdipCreateHBITMAPFromBitmap(
	GpBitmap* bitmap,
	HBITMAP* hbmReturn,
	ARGB background
)
  

FoxPro declaration:

DECLARE INTEGER GdipCreateHBITMAPFromBitmap IN gdiplus;
	INTEGER   bitmap,;
	INTEGER @ hbmReturn,;
	INTEGER   background
  

Parameters:

bitmap [in] Handle to the GDI+ bitmap object.

hbmReturn [out] Pointer to an HBITMAP that receives a handle to the GDI bitmap.

colorBackground [in] Reference to a Color object that specifies the background color.


Return value:

Returns 0 on success.