Share via


Gdi::GetRgnBox_I (Windows CE 5.0)

Send Feedback

This method retrieves the bounding rectangle of the specified region.

static WINGDIAPI int WINAPI GetRgnBox_I(HRGNhrgn,RECT* lprc);

Parameters

  • hrgn
    [in] Handle to the region.
  • lprc
    [out] Long pointer to a RECT structure that receives the bounding rectangle.

Return Values

The return value specifies the complexity of the 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.

Zero indicates that the hrgn parameter does not identify a valid region.

Remarks

This method is an internal version of the GetRgnBox function.

Requirements

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

See Also

Gdi | GetRgnBox | RECT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.