网站首页  词典首页

请输入您要查询的函数:

 

术语 enhmetafileproc
释义 EnhMetaFileProc
语法:
int CALLBACK EnhMetaFileProc(
__in HDC hDC,
__in HANDLETABLE *lpHTable,
__in const ENHMETARECORD *lpEMFR,
__in int nObj,
__in LPARAM lpData
);
EnhMetaFileProc功能
该EnhMetaFileProc函数是一个应用程序定义的回调函数与EnumEnhMetaFile功能使用。在ENHMFENUMPROC类型定义一个指向这个回调函数。 EnhMetaFileProc是一个应用程序的占位符定义函数的名称。
参数
hDC [in]
设备句柄上下文传递给EnumEnhMetaFile。
lpHTable [in]
指针HANDLETABLE结构代表表处理与图形对象(笔,画笔等,在图元文件)。第一项包含增强型图元文件句柄。
lpEMFR [in]
指针之一的元文件记录。该记录不应该被修改。 (如果修改是必要的,应当对1的纪录。)
nObj [in]
指定相关的对象句柄数的句柄表。
lpData [in]
可选数据指针。
返回值
这个函数必须返回一个非零值,继续枚举;停止枚举,它必须返回零。
备注
应用程序必须通过其登记地址的EnumEnhMetaFile函数的回调函数。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
参见
图元文件概述
图元文件函数
ENHMETARECORD
EnumEnhMetaFile
HANDLETABLE
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==EnhMetaFileProc Function
The EnhMetaFileProc function is an application-defined callback function used with the EnumEnhMetaFile function. The ENHMFENUMPROC type defines a pointer to this callback function. EnhMetaFileProc is a placeholder for the application-defined function name.
Syntax
int CALLBACK EnhMetaFileProc(
__in HDC hDC,
__in HANDLETABLE *lpHTable,
__in const ENHMETARECORD *lpEMFR,
__in int nObj,
__in LPARAM lpData
);
Parameters
hDC [in]
Handle to the device context passed to EnumEnhMetaFile.
lpHTable [in]
Pointer to a HANDLETABLE structure representing the table of handles associated with the graphics objects (pens, brushes, and so on) in the metafile. The first entry contains the enhanced-metafile handle.
lpEMFR [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.
lpData [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 EnumEnhMetaFile function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
See Also
Metafiles Overview
Metafile Functions
ENHMETARECORD
EnumEnhMetaFile
HANDLETABLE
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162606(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:23:17