# Function Reference

# _WinAPI_ExcludeClipRect

Creates a new clipping region that consists of the existing clipping region minus the specified rectangle

#include <WinAPIGdi.au3>
_WinAPI_ExcludeClipRect ( $hDC, $tRECT )

## Parameters

$hDC | Handle to the device context.
$tRECT | $tagRECT structure that contains the logical coordinates of the specified rectangle.

## Return Value

Success: | The value that specifies the new clipping region's complexity; it can be one of the following values. $COMPLEXREGION $NULLREGION $SIMPLEREGION
Failure: | 0.

## See Also

Search ExcludeClipRect in MSDN Library.