网站首页  词典首页

请输入您要查询的函数:

 

术语 enummetafileproc
释义 EnumMetaFileProc
语法:
int CALLBACK EnumMetaFileProc(
__in HDC hDC,
__in HANDLETABLE *lpHTable,
__in METARECORD *lpMFR,
__in int nObj,
__in LPARAM lpClientData
);
EnumMetaFileProc功能
该EnumMetaFileProc函数是一个应用程序定义的回调函数,处理Windows格式元文件记录。这个函数被调用的EnumMetaFile功能。在MFENUMPROC类型定义一个指向这个回调函数。 EnumMetaFileProc是一个应用程序的占位符定义函数的名称。
注意:此功能仅提供兼容的Windows图元文件格式。增强型图元文件格式,提供卓越的功能,并建议新的应用。对于一个增强型图元文件格式,相应的功能是EnhMetaFileProc。
参数
hDC [in]
设备句柄上下文传递给EnumMetaFile。
lpHTable [in]
指针表处理与图形对象(笔,画笔等,在图元文件)。
lpMFR [in]
指针之一的元文件记录。该记录不应该被修改。 (如果修改是必要的,应当对1的纪录。)
nObj [in]
指定相关的对象句柄数的句柄表。
lpClientData [in]
可选数据指针。
返回值
这个函数必须返回一个非零值,继续枚举;停止枚举,它必须返回零。
备注
应用程序必须通过其登记地址的EnumMetaFile函数的回调函数。
EnumMetaFileProc是一个应用程序的占位符提供的函数的名称。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
参见
图元文件概述
图元文件函数
EnhMetaFileProc
EnumEnhMetaFile
EnumMetaFile
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==EnumMetaFileProc Function
The EnumMetaFileProc function is an application-defined callback function that processes Windows-format metafile records. This function is called by the EnumMetaFile function. The MFENUMPROC type defines a pointer to this callback function. EnumMetaFileProc is a placeholder for the application-defined function name.
Note This function is provided only for compatibility with Windows-format metafiles. Enhanced-format metafiles provide superior functionality and are recommended for new applications. The corresponding function for an enhanced-format metafile is EnhMetaFileProc .
Syntax
int CALLBACK EnumMetaFileProc(
__in HDC hDC,
__in HANDLETABLE *lpHTable,
__in METARECORD *lpMFR,
__in int nObj,
__in LPARAM lpClientData
);
Parameters
hDC [in]
Handle to the device context passed to EnumMetaFile.
lpHTable [in]
Pointer to a table of handles associated with the graphics objects (pens, brushes, and so on) in the metafile.
lpMFR [in]
Pointer to one of the records in the metafile. This record should not be modified. (If modification is necessary, it should be performed on a copy of the record.)
nObj [in]
Specifies the number of objects with associated handles in the handle table.
lpClientData [in]
Pointer to optional data.
Return Value
This function must return a nonzero value to continue enumeration; to stop enumeration, it must return zero.
Remarks
An application must register the callback function by passing its address to the EnumMetaFile function.
EnumMetaFileProc is a placeholder for the application-supplied function name.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
See Also
Metafiles Overview
Metafile Functions
EnhMetaFileProc
EnumEnhMetaFile
EnumMetaFile
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162630(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:26:25