Export (0) Print
Expand All

2.2.10 HeaderExtension1 Object

The HeaderExtension1 object defines the first extension to the EMFmetafile 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): A 32-bit unsigned integer that specifies the size of the PixelFormatDescriptor object. This MUST be 0x00000000 if no pixel format is set.

offPixelFormat (4 bytes): A 32-bit unsigned integer that specifies the offset to the PixelFormatDescriptor object. This MUST be 0x00000000 if no pixel format is set.

bOpenGL (4 bytes): A 32-bit 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.

 
Show:
© 2014 Microsoft