C语言,rectangle() ZeroMemory()这两个函数不太理解 求高人指点一下简单用法 及格式...

 我来答
lishman
2011-03-25 · 超过42用户采纳过TA的回答
知道小有建树答主
回答量:81
采纳率:0%
帮助的人:87万
展开全部
The Rectangle function draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.

BOOL Rectangle(
HDC hdc, // handle to DC
int nLeftRect, // x-coord of upper-left corner of rectangle
int nTopRect, // y-coord of upper-left corner of rectangle
int nRightRect, // x-coord of lower-right corner of rectangle
int nBottomRect // y-coord of lower-right corner of rectangle
);

绘指导下一个矩形,从屏幕的左上方(nLeftRect, nTopRect)到右下方(nRightRect, nBottomRect)

void ZeroMemory(
PVOID Destination,
SIZE_T Length
);

将分配数组置0
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式