网站首页  词典首页

请输入您要查询的函数:

 

术语 enumobjectsproc
释义 EnumObjectsProc
语法:
int CALLBACK EnumObjectsProc(
__in LPVOID lpLogObject,
__in LPARAM lpData
);
EnumObjectsProc功能
该EnumObjectsProc函数是一个应用程序定义的回调函数与EnumObjects使用功能。它是用来处理数据的对象。类型定义的GOBJENUMPROC指向这个回调函数。 EnumObjectsProc是一个应用程序的占位符定义函数的名称。
参数
lpLogObject [in]
一个 LOGPEN或LOGBRUSH结构的指针描述了对象的属性。
lpData [in]
该申请的指针定义的EnumObjects传递的数据功能。
返回值
要继续枚举,回调函数必须返回一个非零值。此值是用户定义的。
要停止枚举,在回调函数必须返回零。
备注
应用程序必须通过其登记地址的EnumObjects这个函数的功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
参见
设备上下文概述
设备上下文函数
EnumObjects
GlobalAlloc
GlobalLock
LOGPEN
LOGBRUSH
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==EnumObjectsProc Function
The EnumObjectsProc function is an application-defined callback function used with the EnumObjects function. It is used to process the object data. The GOBJENUMPROC type defines a pointer to this callback function. EnumObjectsProc is a placeholder for the application-defined function name.
Syntax
int CALLBACK EnumObjectsProc(
__in LPVOID lpLogObject,
__in LPARAM lpData
);
Parameters
lpLogObject [in]
A pointer to a LOGPEN or LOGBRUSH structure describing the attributes of the object.
lpData [in]
A pointer to the application-defined data passed by the EnumObjects function.
Return Value
To continue enumeration, the callback function must return a nonzero value. This value is user-defined.
To stop enumeration, the callback function must return zero.
Remarks
An application must register this function by passing its address to the EnumObjects function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
See Also
Device Contexts Overview
Device Context Functions
EnumObjects
GlobalAlloc
GlobalLock
LOGPEN
LOGBRUSH
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162686(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 13:18:41