FillRect

機能
ブラシで矩形領域を塗りつぶす
Declare Function FillRect Lib "user32.dll" _
(ByVal hdc As Long, lpRect As RECT, ByVal hbr As Long) As Long
Declare Function FillRect Lib "user32.dll" _
(ByVal hdc As Integer, lpRect As RECT, ByVal hbr As Integer) As Integer

int FillRect(
HDC hDC,
CONST RECT *lprc,
HBRUSH hbr
);
引数
hDC

デバイスコンテキストのハンドル
lpRect
塗りつぶす矩形を指定するRECT構造体
hbr
ブラシのハンドル
現在選択されているブラシを使うときは0
戻り値
正常終了のとき                      0以外
エラーのとき                        0