# Function Reference

# _WinAPI_SetRectRgn

Converts a region into a rectangular region with the specified coordinates

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

## Parameters

$hRgn | Handle to the region.
$tRECT | $tagRECT structure that contains the coordinates of the rectangular region in logical units.

## Return Value

Success: | True
Failure: | False

## See Also

Search SetRectRgn in MSDN Library.