网站首页  词典首页

请输入您要查询的函数:

 

术语 copyenhmetafile
释义 CopyEnhMetaFile
语法:
HENHMETAFILE CopyEnhMetaFile(
__in HENHMETAFILE hemfSrc,
__in LPCTSTR lpszFile
);
CopyEnhMetaFile功能
该CopyEnhMetaFile功能只为增强型图元文件格式的内容到一个指定的文件。
参数
hemfSrc [in]
句柄的增强型图元被复制。
lpszFile [in]
是对目标文件名的指针。如果该参数为NULL,则源图元文件复制到内存。
返回值
如果函数成功,返回值是一个句柄的增强型图元文件的副本。
如果函数失败,返回值为NULL。
备注
凡文本参数必须使用Unicode字符作为宽字符函数CopyEnhMetaFile功能。凡文本参数必须使用Windows字符集,文字的使用功能,作为一个ANSI此功能。
应用程序可以使用在内存中临时运营图元文件。
当应用程序不再需要的增强型图元文件句柄,它应该删除处理调用DeleteEnhMetaFile功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode和ANSI namesCopyEnhMetaFileW(Unicode)和CopyEnhMetaFileA(ANSI)的
参见
图元文件概述
图元文件函数
DeleteEnhMetaFile
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==CopyEnhMetaFile Function
The CopyEnhMetaFile function copies the contents of an enhanced-format metafile to a specified file.
Syntax
HENHMETAFILE CopyEnhMetaFile(
__in HENHMETAFILE hemfSrc,
__in LPCTSTR lpszFile
);
Parameters
hemfSrc [in]
A handle to the enhanced metafile to be copied.
lpszFile [in]
A pointer to the name of the destination file. If this parameter is NULL, the source metafile is copied to memory.
Return Value
If the function succeeds, the return value is a handle to the copy of the enhanced metafile.
If the function fails, the return value is NULL.
Remarks
Where text arguments must use Unicode characters, use the CopyEnhMetaFile function as a wide-character function. Where text arguments must use characters from the Windows character set, use this function as an ANSI function.
Applications can use metafiles stored in memory for temporary operations.
When the application no longer needs the enhanced-metafile handle, it should delete the handle by calling the DeleteEnhMetaFile function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode and ANSI namesCopyEnhMetaFileW (Unicode) and CopyEnhMetaFileA (ANSI)
See Also
Metafiles Overview
Metafile Functions
DeleteEnhMetaFile
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183479(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:25:29