网站首页  词典首页

请输入您要查询的函数:

 

术语 enummetafile
释义 EnumMetaFile
语法:
BOOL EnumMetaFile(
__in HDC hdc,
__in HMETAFILE hmf,
__in MFENUMPROC lpMetaFunc,
__in LPARAM lParam
);
EnumMetaFile功能
枚举函数的EnumMetaFile在Windows的记录,图元文件格式,通过检索每个记录并传递到指定的回调函数。应用程序提供的回调函数需要处理每个记录。枚举继续进行,直到最后一条记录处理或当回调函数返回零。
注意:此功能仅提供兼容的Windows图元文件格式。增强型图元文件格式,提供卓越的功能,并建议新的应用。对于一个增强型图元文件格式,相应的功能是EnumEnhMetaFile。
参数
hdc [in]
句柄设备上下文。此句柄传递给回调函数。
羟甲基糠醛 [in]
句柄的Windows图元文件格式。
lpMetaFunc [in]
指向一个应用程序提供的回调函数。有关更多信息,请参阅EnumMetaFileProc。
lparam的 [in]
可选数据指针。
返回值
如果回调函数成功枚举所有记录在Windows格式图元文件,则返回值为非零。
如果回调函数不成功枚举所有记录在Windows格式图元文件,返回值是零。
备注
转化为增强型图元文件格式Windows的图元文件格式,使用SetWinMetaFileBits功能。
您可以使用EnumMetaFile功能嵌入到一个又一个的Windows图元文件格式。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
图元文件概述
图元文件函数
EnumEnhMetaFile
EnumMetaFileProc
PlayMetaFile
PlayMetaFileRecord
SetWinMetaFileBits
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==EnumMetaFile Function
The EnumMetaFile function enumerates the records within a Windows-format metafile by retrieving each record and passing it to the specified callback function. The application-supplied callback function processes each record as required. The enumeration continues until the last record is processed or when the callback function returns zero.
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 EnumEnhMetaFile .
Syntax
BOOL EnumMetaFile(
__in HDC hdc,
__in HMETAFILE hmf,
__in MFENUMPROC lpMetaFunc,
__in LPARAM lParam
);
Parameters
hdc [in]
Handle to a device context. This handle is passed to the callback function.
hmf [in]
Handle to a Windows-format metafile.
lpMetaFunc [in]
Pointer to an application-supplied callback function. For more information, see EnumMetaFileProc .
lParam [in]
Pointer to optional data.
Return Value
If the callback function successfully enumerates all the records in the Windows-format metafile, the return value is nonzero.
If the callback function does not successfully enumerate all the records in the Windows-format metafile, the return value is zero.
Remarks
To convert a Windows-format metafile into an enhanced-format metafile, use the SetWinMetaFileBits function.
You can use the EnumMetaFile function to embed one Windows-format metafile within another.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Metafiles Overview
Metafile Functions
EnumEnhMetaFile
EnumMetaFileProc
PlayMetaFile
PlayMetaFileRecord
SetWinMetaFileBits
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162629(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:19:55