typedef struct tagMETAHEADER { /* mh */
UINT mtType;
UINT mtHeaderSize;
UINT mtVersion;
DWORD mtSize;
UINT mtNoObjects;
DWORD mtMaxRecord;
UINT mtNoParameters;
} METAHEADER;
The METAHEADER structure contains information about a metafile.
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.