2.3.6.1 META_ESCAPE Record

The META_ESCAPE Record specifies extensions to WMF functionality that are not directly available through other records defined in the RecordType Enumeration (section 2.1.1.1). The MetafileEscapes Enumeration (section 2.1.1.17) lists these extensions.


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

RecordSize

RecordFunction

EscapeFunction

ByteCount

EscapeData (variable)

...

RecordSize (4 bytes): A 32-bit unsigned integer that defines the number of WORD structures, defined in [MS-DTYP] section 2.2.61, in the record.

RecordFunction (2 bytes): A 16-bit unsigned integer that defines this record type. The lower byte MUST match the lower byte of the RecordType Enumeration table value META_ESCAPE.

EscapeFunction (2 bytes): A 16-bit unsigned integer that defines the escape function. The value MUST be from the MetafileEscapes Enumeration.

ByteCount (2 bytes): A 16-bit unsigned integer that specifies the size, in bytes, of the EscapeData field.

EscapeData (variable): An array of bytes of size ByteCount.

Every META_ESCAPE MUST include a MetafileEscapes function specifier, followed by arbitrary data. The data SHOULD NOT contain position-specific data that assumes the location of a particular record within the metafile, because one metafile might be embedded within another.

See section 2.3.6 for the specification of other Escape Record Types.