2.15.4 Metafile Functions

Metafile functions close, copy, create, delete, retrieve, play, and return information about metafiles. Following are the metafile functions:

Function Description

CloseMetaFile Closes a metafile and creates a metafile handle.
CopyMetaFile Copies a source metafile to a file.
CreateMetaFile Creates a metafile display context.
DeleteMetaFile Deletes a metafile from memory.
EnumMetaFile Enumerates the GDI calls within a metafile.
GetMetaFile Creates a handle of a metafile.
GetMetaFileBits Stores a metafile as a collection of bits in a global memory object.
PlayMetaFile Plays the contents of a specified metafile.
PlayMetaFileRecord Plays a metafile record.
SetMetaFileBits Creates a memory metafile.
SetMetaFileBitsBetter Creates a memory block from a metafile.