Function Reference


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.

Return Value

Success: The value that specifies the region's complexity; it can be one of the following values.
Failure: 0.

See Also

Search GetRgnBox in MSDN Library.