Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.01 KB

GdipCreateBitmapFromHICON.md

File metadata and controls

54 lines (35 loc) · 1.01 KB

Home

Function name : GdipCreateBitmapFromHICON

Group: GDI+ Bitmap - Library: gdiplus


Creates a Bitmap object based on a handle to an icon.


Code examples:

Custom GDI+ class

Declaration:

GpStatus WINGDIPAPI GdipCreateBitmapFromHICON(
	HICON hicon,
	GpBitmap** bitmap
)
  

FoxPro declaration:

DECLARE INTEGER GdipCreateBitmapFromHICON IN gdiplus;
	INTEGER hicon,;
	INTEGER @hbitmap
  

Parameters:

hicon [in] Handle to a Microsoft Windows Graphics Device Interface (GDI) icon.

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


Return value:

Returns 0 on success.


Comments:

See also: GdipCreateBitmapFromHBITMAP, GdipCreateHICONFromBitmap.