Function Reference


_WinAPI_SetEnhMetaFileBits

Creates a memory-based enhanced-format metafile from the specified data

#include <WinAPIGdi.au3>
_WinAPI_SetEnhMetaFileBits ( $pData, $iLength )

Parameters

$pData A pointer to the buffer that contains the enhanced-metafile data. To obtain the metafile data, call the
_WinAPI_GetEnhMetaFileBits() function.
$iLength The size of the buffer, in bytes.

Return Value

Success: Handle to a memory-based enhanced metafile.
Failure: 0.

Remarks

When the application no longer needs an enhanced-metafile handle, it should delete the handle by calling the
_WinAPI_DeleteEnhMetaFile() function.

Related

_WinAPI_DeleteEnhMetaFile, _WinAPI_GetEnhMetaFileBits

See Also

Search SetEnhMetaFileBits in MSDN Library.