Function Reference


Creates a rectangular region

#include <WinAPIGdi.au3>
_WinAPI_CreateRectRgnIndirect ( $tRECT )


$tRECT $tagRECT structure that contains the coordinates of the upper-left and lower-right corners of the rectangle that defines the region in logical units.

Return Value

Success: The handle to the region.
Failure: 0.


When you no longer need the HRGN object, call the _WinAPI_DeleteObject() function to delete it.



See Also

Search CreateRectRgnIndirect in MSDN Library.