Function Reference


_WinAPI_CreateRectRgnIndirect

Creates a rectangular region

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

Parameters

$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.

Remarks

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

Related

_WinAPI_DeleteObject

See Also

Search CreateRectRgnIndirect in MSDN Library.