|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
CopyEnhMetaFile
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
|
);
|
|
Parameters
hemfSrc
Identifies the source-enhanced metafile.
lpszFile
Points to the name of the destination file. If this parameter is NULL, the
source metafile is copied to memory.
Return Values
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.
Remarks
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.
See Also
DeleteEnhMetaFile
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database