# Function Reference

# _WinAPI_OffsetClipRgn

Moves the clipping region of a device context by the specified offsets

#include <WinAPIGdi.au3>
_WinAPI_OffsetClipRgn ( $hDC, $iXOffset, $iYOffset )

## Parameters

$hDC | Handle to the device context.
$iXOffset | The number of logical units to move left or right.
$iYOffset | The number of logical units to move up or down.

## 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 OffsetClipRgn in MSDN Library.