The EnumMetaFile function enumerates the records within a Windows-format metafile by retrieving each record and passing it to the specified callback function. The application-supplied callback function processes each record as required. The enumeration continues until the last record is processed or when the callback function returns zero.
This function is provided for compatibility with earlier versions of Microsoft Windows. Win32-based applications should use the EnumEnhMetaFile function.
BOOL EnumMetaFile(
HDC hdc, |
// handle to device context |
HMETAFILE hmf, |
// handle to Windows-format metafile |
MFENUMPROC lpMetaFunc, |
// pointer to callback function |
LPARAM lParam |
// address of callback function data |
); |
If the callback function successfully enumerates all the records in the Windows-format metafile, the return value is nonzero.
If the callback function does not successfully enumerate all the records in the Windows-format metafile, the return value is zero.
A Windows-format metafile does not support the new curve, path, and transformation functions, such as PolyBezier, BeginPath, and SetWorldTransform. Applications that use these new functions and use metafiles to store pictures created by these functions should use the enhanced-format metafile functions.
To convert a Windows-format metafile into an enhanced-format metafile, use the SetWinMetaFileBits function.
You can use the EnumMetaFile function to embed one Windows-format metafile within another.
BeginPath, EnumEnhMetaFile, EnumMetaFileProc, PlayMetaFile, PlayMetaFileRecord, PolyBezier, SetWinMetaFileBits, SetWorldTransform
file: /Techref/os/win/api/win32/func/src/f20_14.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/23 13:36,
3.145.57.5:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f20_14.htm"> EnumMetaFile</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.