###User Defined Function###
_WinAPI_FillRect

###Description###
Fills a rectangle by using the specified brush

###Syntax###
#include <WinAPI.au3>
_WinAPI_FillRect ( $hDC, $ptrRect, $hBrush )


###Parameters###
@@ParamTable@@
$hDC
	Handle to the device context
$ptrRect
	Pointer to a $tagRECT structure that contains the logical coordinates of the rectangle to be filled
$hBrush
	Handle to the brush used to fill the rectangle
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	True
Failure:	False, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
The brush identified by the $hBrush parameter may be either a handle to a logical brush or a color value.
If specifying a handle to a logical brush, call _WinAPI_CreateSolidBrush.
Additionally, you may retrieve a handle to one of the stock brushes by using the _WinAPI_GetStockObject function.
If specifying a color value for the $hBrush parameter, it must be one of the standard system colors (the value 1 must be added to the chosen color)


###Related###


###See Also###
@@MsdnLink@@ FillRect
