2.2.10 HeaderExtension1 Object

The HeaderExtension1 object defines the first extension to the EMF metafile header. It adds support for a PixelFormatDescriptor object (section 2.2.22) and OpenGL [OPENGL] records (section 2.3.9).


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

cbPixelFormat

offPixelFormat

bOpenGL

cbPixelFormat (4 bytes): An unsigned integer that specifies the size of the PixelFormatDescriptor object. This value is 0x00000000 if no pixel format is set.

offPixelFormat (4 bytes): An unsigned integer that specifies the offset to the PixelFormatDescriptor object. This value is 0x00000000 if no pixel format is set.

bOpenGL (4 bytes): An unsigned integer that indicates whether OpenGL commands are present in the metafile.

Value

Meaning

0x00000000

OpenGL records are not present in the metafile.

0x00000001

OpenGL records are present in the metafile.