|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
GetEnhMetaFile
The
GetEnhMetaFile function creates a handle that identifies the enhanced-format metafile stored
in the specified file.
HENHMETAFILE GetEnhMetaFile(
LPCTSTR lpszMetaFile
| // address of metafile name
|
);
|
|
Parameters
lpszMetaFile
Points to the null-terminated string that specifies the name of an enhanced
metafile.
Return Values
If the function succeeds, the return value is a handle of the enhanced
metafile.
If the function fails, the return value is NULL.
Remarks
When the application no longer needs an enhanced-metafile handle, it should
delete the handle by calling the
DeleteEnhMetaFile function.
A Windows-format metafile must be converted to the enhanced format before it
can be processed by the
GetEnhMetaFile function. To convert the file, use the
SetWinMetaFileBits function.
Where text arguments must use Unicode characters, use this 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.
Windows 95: The maximum length of the description string for an enhanced metafile is
16,384 bytes.
See Also
DeleteEnhMetaFile,
GetEnhMetaFile,
SetWinMetaFileBits
- 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