The SetEnhMetaFileBits function creates a memory-based enhanced-format metafile from the supplied data.
HENHMETAFILE SetEnhMetaFileBits(
UINT cbBuffer, |
// buffer size |
CONST BYTE *lpData |
// buffer that contains enhanced metafile data |
); |
If the function succeeds, the return value is a handle of a memory-based enhanced metafile.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
When the application no longer needs the enhanced-metafile handle, it should delete the handle by calling the DeleteEnhMetaFile function.
The SetEnhMetaFileBits function does not accept metafile data in the Windows format. To import Windows-format metafiles, use the SetWinMetaFileBits function.
DeleteEnhMetaFile, GetEnhMetaFileBits, SetWinMetaFileBits
file: /Techref/os/win/api/win32/func/src/f78_10.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/25 00:21,
18.190.153.77: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://techref.massmind.org/techref/os/win/api/win32/func/src/f78_10.htm"> SetEnhMetaFileBits</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.