|
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
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|