2.3.2.2 META_HEADER Record

The META_HEADER Record is the first record in a standard (nonplaceable) WMF metafile.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Type

HeaderSize

Version

SizeLow

SizeHigh

NumberOfObjects

MaxRecord

NumberOfMembers

Type (2 bytes): A 16-bit unsigned integer that defines the type of metafile. It MUST be a value in the MetafileType Enumeration (section 2.1.1.18).

HeaderSize (2 bytes): A 16-bit unsigned integer that defines the number of 16-bit WORD structures, defined in [MS-DTYP] section 2.2.61, in the header.

Version (2 bytes): A 16-bit unsigned integer that defines the metafile version. It MUST be a value in the MetafileVersion Enumeration (section 2.1.1.19).<54>

SizeLow (2 bytes): A 16-bit unsigned integer that defines the low-order word of the number of 16-bit WORD structures in the entire metafile.

SizeHigh (2 bytes): A 16-bit unsigned integer that defines the high-order word of the number of 16-bit WORD structures in the entire metafile.

NumberOfObjects (2 bytes): A 16-bit unsigned integer that specifies the number of graphics objects that are defined in the entire metafile. These objects include brushes, pens, and the other objects specified in section 2.2.1.

MaxRecord (4 bytes): A 32-bit unsigned integer that specifies the size of the largest record used in the metafile (in 16-bit elements).

NumberOfMembers (2 bytes): A 16-bit unsigned integer that is not used. It SHOULD be 0x0000.

See section 2.3.2 for the specification of similar records.