Share via


Gdi::OffsetRgn_I (Windows CE 5.0)

Send Feedback

This method moves a region by the specified offsets.

static WINGDIAPI int WINAPI OffsetRgn_I(HRGNhrgn, intnXOffset, intnYOffset);

Parameters

  • hrgn
    [in] Handle to the region to be moved.
  • nXOffset
    [in] Integer that specifies the number of logical units to move left or right.
  • nYOffset
    [in] Integer that specifies the number of logical units to move up or down.

Return Values

The return value specifies the complexity of the new region.

NULLREGION indicates that the region is empty.

SIMPLEREGION indicates that the region is a single rectangle.

COMPLEXREGION indicates that the region is more than a single rectangle.

ERROR indicates that an error occurred; the current clipping region is unaffected.

Remarks

This method is an internal version of the OffsetRgn function.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.

See Also

Gdi | OffsetRgn

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.