# Function Reference

# _WinAPI_OffsetWindowOrg

Modifies the window origin for a device context using the specified horizontal and vertical offsets

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

## Parameters

$hDC | Handle to the device context.
$iXOffset | The horizontal offset, in logical units.
$iYOffset | The vertical offset, in logical units.

## Return Value

Success: | True
Failure: | False

## Remarks

Call _WinAPI_GetExtended() to retrieve a $tagPOINT structure containing the previous window origins.

## Related

_WinAPI_GetExtended

## See Also

Search OffsetWindowOrgEx in MSDN Library.