2.2.2.7.7.3 BBTENTRY (Leaf BBT Entry)

Office

BBTENTRY records contain information about blocks and are found in BTPAGES with cLevel equal to 0, with the ptype of "ptypeBBT". These are the leaf entries of the BBT. As noted in section 2.2.2.7.7.1, these structures MAY NOT be tightly packed and the cbEnt field of the BTPAGE SHOULD be used to iterate over the entries.

Unicode:


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

BREF (16 bytes)

...

...

cb

cRef

dwPadding

ANSI:


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

BREF

...

cb

cRef

BREF (Unicode: 16 bytes; ANSI: 8 bytes): BREF structure (section 2.2.2.4) that contains the BID and IB of the block that the BBTENTRY references.

cb (2 bytes): The count of bytes of the raw data contained in the block referenced by BREF excluding the block trailer and alignment padding, if any.

cRef (2 bytes): Reference count indicating the count of references to this block. See section 2.2.2.7.7.3.1 regarding how reference counts work.

dwPadding (Unicode file format only, 4 bytes): Padding; MUST be set to zero.

Show: