Function Reference


_WinAPI_GetRgnBox

Retrieves the bounding rectangle of the specified region

#include <WinAPIGdi.au3>
_WinAPI_GetRgnBox ( $hRgn, ByRef $tRECT )

Parameters

$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.
$COMPLEXREGION
$NULLREGION
$SIMPLEREGION
Failure: 0.

See Also

Search GetRgnBox in MSDN Library.