Status res = graphics.FillRectangle(&linGrBrush, 300, 50, 200, 100);
if (Ok == res)
{
MessageBox(L"函数正常执行");
}else if(InvalidParameter == res){
MessageBox(L"函数参数错误");
}else{
MessageBox(L"其它错误");
}
GDI函数执行成功与否的检验方式
最新推荐文章于 2018-01-21 23:41:41 发布