Function Reference


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.

Return Value

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

See Also

Search IntersectClipRect in MSDN Library.