Function Reference


Retrieves a handle identifying the current application-defined clipping region

#include <WinAPIGdi.au3>
_WinAPI_GetClipRgn ( $hDC )


$hDC Handle to the device context.

Return Value

Success: Handle to a copy of the current clipping region.
Failure: 0.


An application-defined clipping region is a clipping region identified by the _WinAPI_SelectClipRgn() function.
It is not a clipping region created when the application calls the _WinAPI_BeginPaint().


_WinAPI_BeginPaint, _WinAPI_SelectClipRgn

See Also

Search GetClipRgn in MSDN Library.