|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| No
| Platform Notes
| None
|
|
|
SetEnhMetaFileBits
The SetEnhMetaFileBits function creates a memory-based enhanced-format metafile from the supplied
data.
HENHMETAFILE SetEnhMetaFileBits(
UINT cbBuffer,
| // buffer size
| CONST BYTE *lpData
| // buffer that contains enhanced metafile data
| );
|
|
Parameters
cbBuffer
Specifies the size, in bytes, of the data provided.
lpData
Points to a buffer that contains enhanced-metafile data. (It is assumed that
the data in the buffer was obtained by calling the GetEnhMetaFileBits function.)
Return Values
If the function succeeds, the return value is a handle of a memory-based
enhanced metafile.
If the function fails, the return value is NULL.
Remarks
When the application no longer needs the enhanced-metafile handle, it should
delete the handle by calling the DeleteEnhMetaFile function.
The SetEnhMetaFileBits function does not accept metafile data in the Windows format. To import
Windows-format metafiles, use the SetWinMetaFileBits function.
See Also
DeleteEnhMetaFile, GetEnhMetaFileBits, 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
|