# Function Reference

# _GDIPlus_GraphicsReleaseDC

Releases the device context of the Graphics object

#include <GDIPlus.au3>
_GDIPlus_GraphicsReleaseDC ( $hGraphics, $hDC )

## Parameters

$hGraphics | Handle to a Graphics object
$hDC | Handle to the Graphics device context

## Return Value

Success: | True.
Failure: | False and sets the @error flag to non-zero, @extended may contain GPSTATUS error code ($GDIP_ERR* see GPIPlusConstants.au3).

## Related

_GDIPlus_GraphicsGetDC

## See Also

Search GdipReleaseDC in MSDN Library.