网站首页  词典首页

请输入您要查询的函数:

 

术语 getenhmetafile
释义 GetEnhMetaFile
语法:
HENHMETAFILE GetEnhMetaFile(
__in LPCTSTR lpszMetaFile
);
GetEnhMetaFile功能
该GetEnhMetaFile函数创建一个句柄,标识增强型图元文件格式存储在指定的文件。
参数
lpszMetaFile [in]
一个指向 null 结尾的字符串指针,它指定了一个增强型图元文件的名称。
返回值
如果函数成功,返回值是一个句柄增强型图元。
如果函数失败,返回值为NULL。
备注
当应用程序不再需要一个增强型图元文件句柄,它应该删除处理调用DeleteEnhMetaFile功能。
一个Windows图元文件格式,必须转换为增强格式,然后才能由GetEnhMetaFile函数处理。要转换的文件,使用SetWinMetaFileBits功能。
凡文本参数必须使用Unicode字符作为宽字符功能,此功能。凡文本参数必须使用Windows字符集,文字的使用功能,作为一个ANSI此功能。
实例
有关示例,请参阅开户增强型图元文件并显示其内容。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinGdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode和ANSI namesGetEnhMetaFileW(Unicode)和GetEnhMetaFileA(ANSI)的
参见
图元文件概述
图元文件函数
DeleteEnhMetaFile
GetEnhMetaFile
SetWinMetaFileBits
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetEnhMetaFile Function
The GetEnhMetaFile function creates a handle that identifies the enhanced-format metafile stored in the specified file.
Syntax
HENHMETAFILE GetEnhMetaFile(
__in LPCTSTR lpszMetaFile
);
Parameters
lpszMetaFile [in]
A pointer to a null-terminated string that specifies the name of an enhanced metafile.
Return Value
If the function succeeds, the return value is a handle to the enhanced metafile.
If the function fails, the return value is NULL.
Remarks
When the application no longer needs an enhanced-metafile handle, it should delete the handle by calling the DeleteEnhMetaFile function.
A Windows-format metafile must be converted to the enhanced format before it can be processed by the GetEnhMetaFile function. To convert the file, use the SetWinMetaFileBits function.
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.
Examples
For an example, see Opening an Enhanced Metafile and Displaying Its Contents .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinGdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode and ANSI namesGetEnhMetaFileW (Unicode) and GetEnhMetaFileA (ANSI)
See Also
Metafiles Overview
Metafile Functions
DeleteEnhMetaFile
GetEnhMetaFile
SetWinMetaFileBits
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144880(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:22:59