3.2.71 EMR_EOF Example

This section provides an example of the EMF EMR_EOF record ([MS-EMF] section 2.3.4.1).

 00000A40:                   0E 00 00 00 14 00 00 00
 00000A50: 00 00 00 00 10 00 00 00 14 00 00 00 
  
  


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 (0x0000000E)

Size (0x00000014)

nPalEntries (0x00000000)

offPalEntries (0x00000000)

PaletteEntries (0x00000010)

SizeLast (0x00000014)

Type (4 bytes): 0x0000000E identifies the record type as EMR_EOF.

Size (4 bytes): 0x00000014 specifies the size of this record in bytes.

nPalEntries (4 bytes): 0x00000000 specifies the number of palette entries.

offPalEntries (4 bytes): 0x00000000 is ignored, as no palette entries are defined.

PaletteEntries (4 bytes): 0x00000010 is ignored, as no palette entries are defined.

SizeLast (4 bytes): 0x00000014 specifies a value that is the same as Size, and is the last field of the metafile.