2.3.1.1 SerializationHeaderRecord

The SerializationHeaderRecord record MUST be the first record in a binary serialization. This record has the major and minor version of the format and the IDs of the top object and the headers.


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

RecordTypeEnum

RootId

...

Reserved0

...

MajorVersion

...

MinorVersion

...

RecordTypeEnum (1 byte): A RecordTypeEnumeration value that identifies the record type. The value MUST be 0x00.

RootId (4 bytes):

An INT32 value ([MS-DTYP] section 2.2.22) that identifies the root of the graph of nodes. The value of the field is set as follows.

Reserved0 (4 bytes): Reserved. MUST be set to 0xFFFFFFFF (-1) and MUST be ignored upon receipt.

MajorVersion (4 bytes): An INT32 value ([MS-DTYP] section 2.2.22) that identifies the major version of the format. The value of this field MUST be 0x00000001.

MinorVersion (4 bytes): An INT32 value ([MS-DTYP] section 2.2.22) that identifies the minor version of the protocol. The value of this field MUST be 0x00000000.