网站首页  词典首页

请输入您要查询的函数:

 

术语 closemetafile
释义 CloseMetaFile
语法:
HMETAFILE CloseMetaFile(
__in HDC hdc
);
CloseMetaFile功能
该CloseMetaFile功能关闭图元文件设备上下文,并返回一个句柄,标识的Windows图元文件格式。
注意:此功能仅提供兼容的Windows图元文件格式。增强型图元文件格式,提供卓越的功能,并建议新的应用。对于一个增强型图元文件格式,相应的功能是CloseEnhMetaFile。
参数
hdc [in]
图元文件句柄设备上下文用于创建基于Windows图元文件格式。
返回值
如果函数成功,返回值是一个句柄的Windows图元文件格式。
如果函数失败,返回值为NULL。
备注
要转换到一个新的增强型图元文件格式的Windows的图元文件格式,使用SetWinMetaFileBits功能。
当一个应用程序不再需要的Windows图元文件格式处理,应删除处理调用DeleteMetaFile功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
图元文件概述
图元文件函数
CloseEnhMetaFile
CopyMetaFile
CreateMetaFile
DeleteMetaFile
EnumMetaFile
GetMetaFileBitsEx
PlayMetaFile
SetWinMetaFileBits
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==CloseMetaFile Function
The CloseMetaFile function closes a metafile device context and returns a handle that identifies a Windows-format metafile.
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 CloseEnhMetaFile .
Syntax
HMETAFILE CloseMetaFile(
__in HDC hdc
);
Parameters
hdc [in]
Handle to a metafile device context used to create a Windows-format metafile.
Return Value
If the function succeeds, the return value is a handle to a Windows-format metafile.
If the function fails, the return value is NULL.
Remarks
To convert a Windows-format metafile into a new enhanced-format metafile, use the SetWinMetaFileBits function.
When an 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
See Also
Metafiles Overview
Metafile Functions
CloseEnhMetaFile
CopyMetaFile
CreateMetaFile
DeleteMetaFile
EnumMetaFile
GetMetaFileBitsEx
PlayMetaFile
SetWinMetaFileBits
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183445(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:30:37