网站首页  词典首页

请输入您要查询的函数:

 

术语 drawstateproc
释义 DrawStateProc
语法:
BOOL CALLBACK DrawStateProc(
__in HDC hdc,
__in LPARAM lData,
__in WPARAM wData,
__in int cx,
__in int cy
);
DrawStateProc功能
该DrawStateProc函数是一个应用程序定义的回调函数,呈现一个DrawState功能复杂的图像。在DRAWSTATEPROC类型定义一个指向这个回调函数。 DrawStateProc是一个应用程序的占位符定义函数的名称。
参数
hdc [in]
阿处理设备环境提请英寸设备上下文是一个选择位图内存设备上下文,尺寸,其中至少有那么大的国泰航空和cy参数所指定的。
lData [in]
指定对图像,该申请的信息传递给DrawState。
wData [in]
指定对图像,该申请的信息传递给DrawState。
国泰航空 [in]
图片的宽度,设备单位的具体说明,对DrawState调用。
赛扬 [in]
图片的高度,设备单位的具体说明,对DrawState调用。
返回值
如果函数成功,返回值为TRUE。
如果函数失败,返回值为FALSE。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
参见
绘画和绘图概述
绘画和绘图功能
DrawState
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==DrawStateProc Function
The DrawStateProc function is an application-defined callback function that renders a complex image for the DrawState function. The DRAWSTATEPROC type defines a pointer to this callback function. DrawStateProc is a placeholder for the application-defined function name.
Syntax
BOOL CALLBACK DrawStateProc(
__in HDC hdc,
__in LPARAM lData,
__in WPARAM wData,
__in int cx,
__in int cy
);
Parameters
hdc [in]
A handle to the device context to draw in. The device context is a memory device context with a bitmap selected, the dimensions of which are at least as great as those specified by the cx and cy parameters.
lData [in]
Specifies information about the image, which the application passed to DrawState.
wData [in]
Specifies information about the image, which the application passed to DrawState.
cx [in]
The image width, in device units, as specified by the call to DrawState.
cy [in]
The image height, in device units, as specified by the call to DrawState.
Return Value
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinuser.h (include Windows.h)
See Also
Painting and Drawing Overview
Painting and Drawing Functions
DrawState
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162497(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:22:34