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 02:58, local time: 2024/11/23 10:45,
3.147.62.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://ecomorder.com/techref/os/win/api/win32/func/src/f07_11.htm"> CopyEnhMetaFile</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.