Creates a new clipping region from the intersection of the current clipping region and the specified rectangle
#include <WinAPIGdi.au3>
_WinAPI_IntersectClipRect ( $hDC, $tRECT )
$hDC | Handle to the device context. |
$tRECT | $tagRECT structure that contains the logical coordinates of the specified rectangle. |
Success: | The value that specifies the new clipping region's complexity; it can be one of the following values. $COMPLEXREGION $NULLREGION $SIMPLEREGION |
Failure: | 0. |
Search IntersectClipRect in MSDN Library.