Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

METAHEADER structure

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;

Members

mtType

Specifies whether the metafile is in memory or recorded in a disk file. This member can be one of the following values.

ValueMeaning
1Metafile is in memory.
2Metafile 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

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

Metafiles Overview
Metafile Structures
METARECORD

 

 

Show: