Function Reference


_WinAPI_GetClipRgn

Retrieves a handle identifying the current application-defined clipping region

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

Parameters

$hDC Handle to the device context.

Return Value

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

Remarks

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().

Related

_WinAPI_BeginPaint, _WinAPI_SelectClipRgn

See Also

Search GetClipRgn in MSDN Library.