2.2.1 PresentationObjectHeader

The PresentationObjectHeader structure specifies the header for different types of presentation data structures.


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

OLEVersion

FormatID

ClassName (variable)

...

OLEVersion (4 bytes): This can be set to any arbitrary value and MUST be ignored on processing.

FormatID (4 bytes): This MUST be set to 0x00000000 or 0x00000005. If this is set to 0x00000000, the ClassName field MUST NOT be present and this structure MUST NOT be contained by another structure. If this is a value other than 0x00000000 or 0x00000005, the PresentationObjectHeader structure is invalid.<5>

Value

Meaning

0x00000000

The ClassName field MUST NOT be present.

0x00000005

The ClassName field is present.

ClassName (variable):  This MUST be a LengthPrefixedAnsiString (section 2.1.4) that identifies the type of the presentation data structure that follows the PresentationObjectHeader.

There are two types of presentation objects. These are specified in sections 2.2.2 and 2.2.3.