Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

METAHEADER structure (wingdi.h)

The METAHEADER structure contains information about a Windows-format metafile.

Syntax

typedef struct tagMETAHEADER {
 WORD mtType;
 WORD mtHeaderSize;
 WORD mtVersion;
 DWORD mtSize;
 WORD mtNoObjects;
 DWORD mtMaxRecord;
 WORD mtNoParameters;
} METAHEADER, *PMETAHEADER, *LPMETAHEADER;

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

The size, in words, of the metafile header.

mtVersion

The system version number. The version number for metafiles that support device-independent bitmaps (DIBs) is 0x0300. Otherwise, the version number is 0x0100.

mtSize

The size, in words, of the file.

mtNoObjects

The maximum number of objects that exist in the metafile at the same time.

mtMaxRecord

The size, in words, of the largest record in the metafile.

mtNoParameters

Reserved.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h (include Windows.h)

See also

METARECORD

Metafile Structures

Metafiles Overview


Feedback

Was this page helpful?

Additional resources