Group: Region - Library: gdi32
Finding parameters for the region specified
int GetRgnBox(
HRGN hrgn, // handle to a region
LPRECT lprc // bounding rectangle
);
DECLARE INTEGER GetRgnBox IN gdi32;
INTEGER hrgn,;
STRING @ lprc
hrgn [in] Handle to the region.
lprc [out] Pointer to a RECT structure that receives the bounding rectangle in logical units.
The return value specifies the region"s complexity:
#DEFINE NULLREGION 1
#DEFINE SIMPLEREGION 2
#DEFINE COMPLEXREGION 3
#DEFINE RGN_ERROR 0