术语 | closeenhmetafile |
释义 | CloseEnhMetaFile 语法: HENHMETAFILE CloseEnhMetaFile( __in HDC hdc ); CloseEnhMetaFile功能 该CloseEnhMetaFile函数关闭一个增强型图元文件设备上下文,并返回一个句柄,标识一个增强型图元文件格式。 参数 hdc [in] 处理一个增强型图元文件设备上下文。 返回值 如果函数成功,返回值是一个句柄,增强型图元。 如果函数失败,返回值为NULL。 备注 应用程序可以使用的增强型图元文件处理由CloseEnhMetaFile函数返回执行下列任务: 显示的图片存储在增强型图元 创建副本的增强型图元 枚举,编辑或复制的增强型图元的个人纪录 检索从增强型图元文件头图元文件内容可选的说明 检索的副本增强型图元文件头 检索一个增强型图元二进制拷贝 枚举的颜色在选购的调色板 增强的转换成一个Windows格式图元文件格式的图元文件 当应用程序不再需要增强型图元文件句柄,它应该释放处理调用DeleteEnhMetaFile功能。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWingdi.h(头文件:winuser.h) LibraryGdi32.lib DLLGdi32.dll 参见 图元文件概述 图元文件函数 CopyEnhMetaFile CreateEnhMetaFile DeleteEnhMetaFile EnumEnhMetaFile GetEnhMetaFileBits GetWinMetaFileBits PlayEnhMetaFile 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==CloseEnhMetaFile Function The CloseEnhMetaFile function closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile. Syntax HENHMETAFILE CloseEnhMetaFile( __in HDC hdc ); Parameters hdc [in] Handle to an enhanced-metafile device context. Return Value If the function succeeds, the return value is a handle to an enhanced metafile. If the function fails, the return value is NULL. Remarks An application can use the enhanced-metafile handle returned by the CloseEnhMetaFile function to perform the following tasks: Display a picture stored in an enhanced metafile Create copies of the enhanced metafile Enumerate, edit, or copy individual records in the enhanced metafile Retrieve an optional description of the metafile contents from the enhanced-metafile header Retrieve a copy of the enhanced-metafile header Retrieve a binary copy of the enhanced metafile Enumerate the colors in the optional palette Convert an enhanced-format metafile into a Windows-format metafile When the application no longer needs the enhanced metafile handle, it should release 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 See Also Metafiles Overview Metafile Functions CopyEnhMetaFile CreateEnhMetaFile DeleteEnhMetaFile EnumEnhMetaFile GetEnhMetaFileBits GetWinMetaFileBits PlayEnhMetaFile Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd183442(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。