# Function Reference

# _WinAPI_OffsetRgn

Moves a region by the specified offsets

#include <WinAPIGdi.au3>
_WinAPI_OffsetRgn ( $hRgn, $iXOffset, $iYOffset )

## Parameters

$hRgn | Handle to the region to be moved.
$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 region's complexity; it can be one of the following values. $COMPLEXREGION $NULLREGION $SIMPLEREGION
Failure: | 0.

## See Also

Search OffsetRgn in MSDN Library.