###User Defined Function###
_GDIPlus_GraphicsCreateFromHDC

###Description###
Create a Graphics object from a device context (DC)

###Syntax###
#include <GDIPlus.au3>
_GDIPlus_GraphicsCreateFromHDC ( $hDC )


###Parameters###
@@ParamTable@@
$hDC
	Device context
@@End@@

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


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


###Related###
_GDIPlus_GraphicsDispose


###See Also###
@@MsdnLink@@ GdipCreateFromHDC


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