Gets a handle to the device context of the Graphics object
#include <GDIPlus.au3>
_GDIPlus_GraphicsGetDC ( $hGraphics )
$hGraphics | Handle to a Graphics object |
Success: | a handle DC of the Graphics object. |
Failure: | 0 and sets the @error flag to non-zero, @extended may contain GPSTATUS error code ($GPIP_ERR* see GPIPlusConstants.au3). |
Each call to the _GDIPlus_GraphicsGetDC() should be paired with a call to the _GDIPlus_GraphicsReleaseDC().
Do not call any methods of the Graphics object between the calls.
Search GdipGetDC in MSDN Library.