有A,B,C,D四个点,构成一个多边形,怎么对多边形内部填充颜色呢

有A,B,C,D四个点,构成一个多边形,如何对多边形内部填充颜色呢?
POINT   points12[5]={A,B,C,D,A};
dc.Polyline(points12,5);

用上面的代码画了多边形,如何对多边形内部填充颜色呢?用什么方法?
没系统的学习过VC,现在是用到哪儿学到哪儿,搜了论坛也没找到答案

------解决方案--------------------
BOOL FillRgn( CRgn* pRgn, CBrush* pBrush );
------解决方案--------------------
四个点的直接用RECT就搞定了

int FillRect(
HDC hDC, // handle to DC
CONST RECT *lprc, // rectangle
HBRUSH hbr // handle to brush
);

多边形的话要找一些填充算法可以搞定的
------解决方案--------------------
beginPath();
dc.Polyline(points12,5);
endPath();
dc.PathToRgn();
填充函数

------解决方案--------------------
This function draws a polygon consisting of two or more vertices connected by straight lines. The current pen outlines the polygon, and the current brush fills it using the specified polygon fill mode.

BOOL Polygon(
HDC hdc,
const POINT* lpPoints,
int nCount
);