网站首页  词典首页

请输入您要查询的函数:

 

术语 setmetafilebitsex
释义 SetMetaFileBitsEx
语法:
HMETAFILE SetMetaFileBitsEx(
__in UINT nSize,
__in const BYTE *lpData
);
SetMetaFileBitsEx功能
该SetMetaFileBitsEx函数创建一个基于内存的Windows的格式提供的数据从图元文件。
注意:此功能仅提供兼容的Windows图元文件格式。增强型图元文件格式,提供卓越的功能,并建议新的应用。对于一个增强型图元文件格式,相应的功能是SetEnhMetaFileBits。
参数
nSize [in]
指定的大小,以字节为单位的Windows格式图元文件。
lpData [in]
缓冲区指针包含的Windows图元文件格式。 (这是假设数据是通过使用GetMetaFileBitsEx函数获得。)
返回值
如果函数成功,返回值是一个句柄基于内存的Windows图元文件格式。
如果函数失败,返回值为NULL。
备注
转化为增强型图元文件格式Windows的图元文件格式,使用SetWinMetaFileBits功能。
当应用程序不再需要通过SetMetaFileBitsEx元文件返回句柄,它应该删除调用DeleteMetaFile函数。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
图元文件概述
图元文件函数
DeleteMetaFile
GetMetaFileBitsEx
SetEnhMetaFileBits
SetWinMetaFileBits
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==SetMetaFileBitsEx Function
The SetMetaFileBitsEx function creates a memory-based Windows-format metafile from the supplied data.
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 SetEnhMetaFileBits .
Syntax
HMETAFILE SetMetaFileBitsEx(
__in UINT nSize,
__in const BYTE *lpData
);
Parameters
nSize [in]
Specifies the size, in bytes, of the Windows-format metafile.
lpData [in]
Pointer to a buffer that contains the Windows-format metafile. (It is assumed that the data was obtained by using the GetMetaFileBitsEx function.)
Return Value
If the function succeeds, the return value is a handle to a memory-based Windows-format metafile.
If the function fails, the return value is NULL.
Remarks
To convert a Windows-format metafile into an enhanced-format metafile, use the SetWinMetaFileBits function.
When the application no longer needs the metafile handle returned by SetMetaFileBitsEx, it should delete it 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
DeleteMetaFile
GetMetaFileBitsEx
SetEnhMetaFileBits
SetWinMetaFileBits
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162982(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:18