网站首页  词典首页

请输入您要查询的函数:

 

术语 playmetafile
释义 PlayMetaFile
语法:
BOOL PlayMetaFile(
__in HDC hdc,
__in HMETAFILE hmf
);
PlayMetaFile功能
该PlayMetaFile功能显示图片存储在给定的Windows,在指定的设备图元文件格式。
注意:此功能仅提供兼容的Windows图元文件格式。增强型图元文件格式,提供卓越的功能,并建议新的应用。对于一个增强型图元文件格式,相应的功能是PlayEnhMetaFile。
参数
hdc [in]
句柄设备上下文。
羟甲基糠醛 [in]
句柄的Windows图元文件格式。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
转化为增强型图元文件格式Windows的图元文件格式,使用SetWinMetaFileBits功能。
一个Windows图元文件格式,可播放多次。
一个Windows图元文件格式,可以嵌入在第二个Windows,通过调用PlayMetaFile功能,发挥到为目标图元文件设备上下文源图元文件格式图元文件。
创建的任何对象,但不能在Windows中删除格式图元文件是由这个函数删除。
为了制止这种功能,应用程序可以调用另一个线程CancelDC职能终止运作。在这种情况下,函数返回FALSE。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
图元文件概述
图元文件函数
CancelDC
SetWinMetaFileBits
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==PlayMetaFile Function
The PlayMetaFile function displays the picture stored in the given Windows-format metafile on the specified device.
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 PlayEnhMetaFile .
Syntax
BOOL PlayMetaFile(
__in HDC hdc,
__in HMETAFILE hmf
);
Parameters
hdc [in]
Handle to a device context.
hmf [in]
Handle to a Windows-format metafile.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
To convert a Windows-format metafile into an enhanced format metafile, use the SetWinMetaFileBits function.
A Windows-format metafile can be played multiple times.
A Windows-format metafile can be embedded in a second Windows-format metafile by calling the PlayMetaFile function and playing the source metafile into the device context for the target metafile.
Any object created but not deleted in the Windows-format metafile is deleted by this function.
To stop this function, an application can call the CancelDC function from another thread to terminate the operation. In this case, the function returns FALSE.
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
CancelDC
SetWinMetaFileBits
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162802(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:17:46