2.3.2.3 Leaf BTH (Data) Records

Leaf BTH records contain the actual data associated with each key entry. The BTH records are tightly packed (that is, byte-aligned), and each record is exactly cbKey + cbEnt bytes in size. The number of data records can be determined based on the size of the heap allocation.

Unicode / 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

key (variable)

...

data (variable)

...

key (variable): This is the key of the record. The size of the key is specified in the cbKey field in the corresponding BTHHEADER structure(section 2.3.2.1). The size and contents of the key are specific to the higher level structure that implements this BTH.

data (variable): This contains the actual data associated with the key. The size of the data is specified in the cbEnt field in the corresponding BTHHEADER structure. The size and contents of the data are specific to the higher level structure that implements this BTH.