Directory Entry Name Length (2 bytes): This field MUST match the length of the Directory Entry Name Unicode string in bytes. The length MUST be a multiple of 2 and include the terminating null character in the count. This length MUST NOT exceed 64, the maximum size of the Directory Entry Name field. This field MUST be 0x00, 0x01, 0x02, or 0x05, depending on the actual type Object Type (1 byte): of object. All other values are not valid. Name Value Unknown or 0x00 unallocated Storage Object 0x01 Stream Object 0x02 Root Storage 0x05 Object Flag (1 byte): This field MUST be 0x00 (red) or 0x01 (black). All other values are not valid. Name Value red 0x00 black 0x01 Left Sibling ID (4 bytes): This field contains the stream ID of the left sibling. If there is no left sibling, the field MUST be set to NOSTREAM (0xFFFFFFFF). Value Meaning REGSID Regular stream ID to identify the directory entry. 0x00000000 — 0xFFFFFFF9 MAXREGSID Maximum regular stream ID. 0xFFFFFFFA NOSTREAM If is no left sibling. 0xFFFFFFFF Right Sibling ID (4 bytes): This field contains the stream ID of the right sibling. If there is no right sibling, the field MUST be set to NOSTREAM (0xFFFFFFFF). Meaning REGSID Regular stream ID to identify the directory 0x00000000 0xFFFFFFF9 — MAXREGSID Maximum regular stream ID. 0xFFFFFFFA NOSTREAM If there is no right sibling. 0xFFFFFFFF Child ID (4 bytes): This field contains the stream ID of a child object. If there is no child object, the field MUST be set to NOSTREAM (0xFFFFFFFF).
Directory Entry Name Length (2 bytes): This field MUST match the length of the Directory Entry Name Unicode string in bytes. The length MUST be a multiple of 2 and include the terminating null character in the count. This length MUST NOT exceed 64, the maximum size of the Directory Entry Name field. Object Type (1 byte): This field MUST be 0x00, 0x01, 0x02, or 0x05, depending on the actual type of object. All other values are not valid. Name Value Unknown or unallocated 0x00 Storage Object 0x01 Stream Object 0x02 Root Storage Object 0x05 Flag (1 byte): This field MUST be 0x00 (red) or 0x01 (black). All other values are not valid. Name Value red 0x00 black 0x01 Left Sibling ID (4 bytes): This field contains the stream ID of the left sibling. If there is no left sibling, the field MUST be set to NOSTREAM (0xFFFFFFFF). Value Meaning REGSID 0x00000000 — 0xFFFFFFF9 Regular stream ID to identify the directory entry. MAXREGSID 0xFFFFFFFA Maximum regular stream ID. NOSTREAM 0xFFFFFFFF If is no left sibling. Right Sibling ID (4 bytes): This field contains the stream ID of the right sibling. If there is no right sibling, the field MUST be set to NOSTREAM (0xFFFFFFFF). Meaning REGSID 0x00000000 — 0xFFFFFFF9 Regular stream ID to identify the directory MAXREGSID 0xFFFFFFFA Maximum regular stream ID. NOSTREAM 0xFFFFFFFF If there is no right sibling. Child ID (4 bytes): This field contains the stream ID of a child object. If there is no child object, the field MUST be set to NOSTREAM (0xFFFFFFFF).