The METAHEADER structure contains information about a Windows-format metafile.
typedef struct tagMETAHEADER { // mh
WORD mtType;
WORD mtHeaderSize;
WORD mtVersion;
DWORD mtSize;
WORD mtNoObjects;
DWORD mtMaxRecord;
WORD mtNoParameters;
} METAHEADER;
Members
mtType
Specifies whether the metafile is in memory or recorded in a disk file. This member can be one of the following values:
Value | Meaning |
1 | Metafile is in memory. |
2 | Metafile is in a disk file. |
mtHeaderSize
Specifies the size, in words, of the metafile header.
mtVersion
Specifies the Windows version number. The version number for metafiles that support device-independent bitmaps (DIBs) is 0x0300. Otherwise, the version number is 0x0100.
mtSize
Specifies the size, in words, of the file.
mtNoObjects
Specifies the maximum number of objects that exist in the metafile at the same time.
mtMaxRecord
Specifies the size, in words, of the largest record in the metafile.
mtNoParameters
Reserved.
See Also