Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1 KB

File metadata and controls

53 lines (35 loc) · 1 KB

Home

Function name : GdipCreateHICONFromBitmap

Group: GDI+ Bitmap - Library: gdiplus


Creates an icon from this Bitmap object.


Code examples:

Custom GDI+ class

Declaration:

GpStatus WINGDIPAPI GdipCreateHICONFromBitmap(
	GpBitmap* bitmap,;
	HICON* hbmReturn
)
  

FoxPro declaration:

DECLARE INTEGER GdipCreateHICONFromBitmap IN gdiplus;
	INTEGER @hbitmap,;
	INTEGER @hbmReturn  

Parameters:

hbitmap [in] Handle to a GDI bitmap.

hbmReturn [out] Handle to a Microsoft Windows Graphics Device Interface (GDI) icon.


Return value:

Returns 0 on success.


Comments:

See also: GdipCreateBitmapFromHICON, GdipCreateBitmapFromHBITMAP.