###User Defined Function###
_GDIPlus_BitmapCreateFromHBITMAP

###Description###
Create a Bitmap object from a bitmap handle

###Syntax###
#include <GDIPlus.au3>
_GDIPlus_BitmapCreateFromHBITMAP ( $hBmp [, $hPal = 0] )


###Parameters###
@@ParamTable@@
$hBmp
	Handle to a HBITMAP
$hPal
	[optional] Handle to a HPALETTE
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	a handle to a Bitmap object.
Failure:	0 and sets the @error flag to non-zero, @extended may contain GPSTATUS error code ($GPID_ERR*).
@@End@@


###Remarks###
When you are done with the Bitmap object, call <a href="_GDIPlus_BitmapDispose.htm">_GDIPlus_BitmapDispose()</a> to release the resources.


###Related###
_GDIPlus_BitmapDispose


###See Also###
@@MsdnLink@@ GdipCreateBitmapFromHBITMAP


###Example###
@@IncludeExample@@
