The CopyEnhMetaFile function copies the contents of an enhanced-format metafile to a specified file.
HENHMETAFILE CopyEnhMetaFile(
HENHMETAFILE hemfSrc, |
// handle to an enhanced metafile |
LPCTSTR lpszFile |
// pointer to a filename string |
); |
If the function succeeds, the return value is a handle to the copy of the enhanced metafile.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
Where text arguments must use Unicode characters, use the CopyEnhMetaFile function as a wide-character function. Where text arguments must use characters from the Windows 3.x character set, use this function as an ANSI function.
Applications can use metafiles stored in memory for temporary operations.
When the application no longer needs the enhanced-metafile handle, it should delete the handle by calling the DeleteEnhMetaFile function.
file: /Techref/os/win/api/win32/func/src/f07_11.htm, 2KB, , updated: 2001/6/24 03:58, local time: 2024/9/1 15:10,
3.22.81.215: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://sxlist.com/techref/os/win/api/win32/func/src/f07_11.htm"> CopyEnhMetaFile</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.