# MetaFiles user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPIGdi.au3>.

User Defined Function | Description
--- | ---
_WinAPI_CloseEnhMetaFile | Closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile
_WinAPI_CopyEnhMetaFile | Copies the contents of an enhanced-format metafile to a specified file
_WinAPI_CreateEnhMetaFile | Creates a device context for an enhanced-format metafile
_WinAPI_DeleteEnhMetaFile | Deletes an enhanced-format metafile or an enhanced-format metafile handle
_WinAPI_GdiComment | Copies a comment from a buffer into a specified enhanced-format metafile
_WinAPI_GetEnhMetaFile | Creates a handle that identifies the enhanced-format metafile stored in the specified file
_WinAPI_GetEnhMetaFileBits | Retrieves the contents of the specified enhanced-format metafile
_WinAPI_GetEnhMetaFileDescription | Retrieves an optional text description from an enhanced-format metafile
_WinAPI_GetEnhMetaFileDimension | Retrieves a dimension of the specified enhanced-format metafile
_WinAPI_GetEnhMetaFileHeader | Retrieves the record containing the header for the specified enhanced-format metafile
_WinAPI_PlayEnhMetaFile | Displays the picture stored in the specified enhanced-format metafile
_WinAPI_SetEnhMetaFileBits | Creates a memory-based enhanced-format metafile from the specified data