# Function Reference

# _WinAPI_FillRgn

Fills a region by using the specified brush

#include <WinAPIGdi.au3>
_WinAPI_FillRgn ( $hDC, $hRgn, $hBrush )

## Parameters

$hDC | Handle to the device context.
$hRgn | Handle to the region to be filled. The region's coordinates are presumed to be in logical units.
$hBrush | Handle to the brush to be used to fill the region.

## Return Value

Success: | True
Failure: | False

## See Also

Search FillRgn in MSDN Library.