Retrieves the bounding rectangle of the specified region
#include <WinAPIGdi.au3>
_WinAPI_GetRgnBox ( $hRgn, ByRef $tRECT )
$hRgn | Handle to the region. |
$tRECT | Returns a $tagRECT structure that is created by this function, and contains the bounding rectangle, in logical units. |
Success: | The value that specifies the region's complexity; it can be one of the following values. $COMPLEXREGION $NULLREGION $SIMPLEREGION |
Failure: | 0. |
Search GetRgnBox in MSDN Library.