int GetRgnBox( LPRECT lpRect ) const;
lpRect
Points to a RECT structure or CRect object to receive the coordinates of the bounding rectangle.
Retrieves the coordinates of the bounding rectangle of the CRgn object.
Specifies the region's type. It can be any of the following values:
Value | Meaning |
COMPLEXREGION | Region has overlapping borders. |
NULLREGION | Region is empty. |
ERROR | CRgn object does not specify a valid region. |
SIMPLEREGION | Region has no overlapping borders. |
::GetRgnBox