1、用包围省份的多边形顶点数组创建一个Region;
HRGN CreatePolygonRgn(
CONST POINT *lppt, // array of points <---包围省份的多边形顶点数组
int cPoints, // number of points in array
int fnPolyFillMode // polygon-filling mode
);
2、调用下列函数判断一个点是否落在Region内:
BOOL PtInRegion(
HRGN hrgn, // handle to region
int X, // x-coordinate of point
int Y // y-coordinate of point
);