The CloseEnhMetaFile function closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile.
HENHMETAFILE CloseEnhMetaFile(
HDC hdc |
// handle to an enhanced-metafile device context |
); |
If the function succeeds, the return value is a handle to an enhanced metafile.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
An application can use the enhanced-metafile handle returned by the CloseEnhMetaFile function to perform the following tasks:
When the application no longer needs the enhanced metafile handle, it should release the handle by calling the DeleteEnhMetaFile function.
CopyEnhMetaFile, CreateEnhMetaFile, DeleteEnhMetaFile, EnumEnhMetaFile, GetEnhMetaFileBits, GetWinMetaFileBits, PlayEnhMetaFile
file: /Techref/os/win/api/win32/func/src/f06_1.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/23 14:59,
18.191.165.149: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/f06_1.htm"> CloseEnhMetaFile</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.