网站首页  词典首页

请输入您要查询的函数:

 

术语 playmetafilerecord
释义 PlayMetaFileRecord
语法:
BOOL PlayMetaFileRecord(
__in HDC hdc,
__in LPHANDLETABLE lpHandletable,
__in LPMETARECORD lpMetaRecord,
__in UINT nHandles
);
PlayMetaFileRecord功能
该PlayMetaFileRecord函数通过执行了图形设备接口(GDI)基于Windows图元文件格式录音功能在该记录中。
注意:此功能仅提供兼容的Windows图元文件格式。增强型图元文件格式,提供卓越的功能,并建议新的应用。对于一个增强型图元文件格式,相应的功能是PlayEnhMetaFileRecord。
参数
hdc [in]
一个句柄,设备上下文。
lpHandletable [in]
一个 HANDLETABLE结构代表表的指针句柄比赛时使用的GDI对象图元文件。
lpMetaRecord [in]
一个Windows指针格式图元文件记录。
nHandles [in]
数字处理的句柄表中。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
转化为增强型图元文件格式Windows的图元文件格式,使用SetWinMetaFileBits功能。
应用程序通常使用与EnumMetaFile功能一起PlayMetaFileRecord处理和发挥时间基于Windows图元文件格式的一个记录。
在lpHandletable和nHandles参数必须相同,以传递给由EnumMetaFile EnumMetaFileProc回调过程的。
如果PlayMetaFileRecord功能不能识别的记录,它忽略了记录,并返回TRUE。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
图元文件概述
图元文件函数
EnumMetaFile
HANDLETABLE
METARECORD
PlayMetaFile
SetWinMetaFileBits
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==PlayMetaFileRecord Function
The PlayMetaFileRecord function plays a Windows-format metafile record by executing the graphics device interface (GDI) function contained within that record.
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 PlayEnhMetaFileRecord .
Syntax
BOOL PlayMetaFileRecord(
__in HDC hdc,
__in LPHANDLETABLE lpHandletable,
__in LPMETARECORD lpMetaRecord,
__in UINT nHandles
);
Parameters
hdc [in]
A handle to a device context.
lpHandletable [in]
A pointer to a HANDLETABLE structure representing the table of handles to GDI objects used when playing the metafile.
lpMetaRecord [in]
A pointer to the Windows-format metafile record.
nHandles [in]
The number of handles in the handle table.
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.
An application typically uses PlayMetaFileRecord in conjunction with the EnumMetaFile function to process and play a Windows-format metafile one record at a time.
The lpHandletable and nHandles parameters must be identical to those passed to the EnumMetaFileProc callback procedure by EnumMetaFile.
If the PlayMetaFileRecord function does not recognize a record, it ignores the record and returns TRUE.
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
EnumMetaFile
HANDLETABLE
METARECORD
PlayMetaFile
SetWinMetaFileBits
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162803(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:26:04