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.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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.
If an IsPrincipalMemberOfRequest record is present in the serialization stream, the value of this field MUST contain the ObjectId of the ArgumentsArray (section 2.3.1.2.1).
If an IsPrincipalMemberOfResponse record is present in the serialization stream, the value of this field MUST contain the ObjectId of the ReturnArray (section 2.3.1.3.1).
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.