网站首页  词典首页

请输入您要查询的函数:

 

术语 copymetafile
释义 CopyMetaFile
语法:
HMETAFILE CopyMetaFile(
__in HMETAFILE hmfSrc,
__in LPCTSTR lpszFile
);
CopyMetaFile功能
该CopyMetaFile功能复制的Windows的内容,格式图元文件到指定的文件。
注意:此功能仅提供兼容的Windows图元文件格式。增强型图元文件格式,提供卓越的功能,并建议新的应用。对于一个增强型图元文件格式,相应的功能是CopyEnhMetaFile。
参数
hmfSrc [in]
一个句柄,源的Windows图元文件格式。
lpszFile [in]
是对目标文件名的指针。如果该参数为NULL,则源图元文件复制到内存。
返回值
如果函数成功,返回值是一个句柄的Windows副本图元文件格式。
如果函数失败,返回值为NULL。
备注
凡文本参数必须使用Unicode字符作为宽字符功能,此功能。凡文本参数必须使用Windows字符集,文字的使用功能,作为一个ANSI此功能。
当应用程序不再需要的Windows图元文件格式处理,应删除处理调用DeleteMetaFile功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode和ANSI namesCopyMetaFileW(Unicode)和CopyMetaFileA(ANSI)的
参见
图元文件概述
图元文件函数
DeleteMetaFile
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==CopyMetaFile Function
The CopyMetaFile function copies the content of a Windows-format metafile to the specified file.
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 CopyEnhMetaFile .
Syntax
HMETAFILE CopyMetaFile(
__in HMETAFILE hmfSrc,
__in LPCTSTR lpszFile
);
Parameters
hmfSrc [in]
A handle to the source Windows-format metafile.
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 Windows-format metafile.
If the function fails, the return value is NULL.
Remarks
Where text arguments must use Unicode characters, use this function as a wide-character function. Where text arguments must use characters from the Windows character set, use this function as an ANSI function.
When the application no longer needs the Windows-format metafile handle, it should delete the handle by calling the DeleteMetaFile function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode and ANSI namesCopyMetaFileW (Unicode) and CopyMetaFileA (ANSI)
See Also
Metafiles Overview
Metafile Functions
DeleteMetaFile
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183480(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:15:24