CreateCompatibleDC CreateCompatibleDC和CreateCompatibleBitmap用来创建兼容设备和位图,可以创建离屏表面,做完绘图操作再用BitBlt把数据拷贝到当前DC