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. |
| Success: | The handle to the region. |
| Failure: | 0. |
When you no longer need the HRGN object, call the _WinAPI_DeleteObject() function to delete it.
Search CreateRectRgnIndirect in MSDN Library.