2.2.2.7.7.4 NBTENTRY (Leaf NBT Entry)

NBTENTRY records contain information about nodes and are found in BTPAGES with cLevel equal to 0, with the ptype of ptypeNBT. These are the leaf entries of the NBT.

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

nid

...

bidData

...

bidSub

...

nidParent

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

nid

bidData

bidSub

nidParent

nid (Unicode: 8 bytes; ANSI: 4 bytes): The NID (section 2.2.2.1) of the entry. Note that the NID is a 4-byte value for both Unicode and ANSI formats. However, to stay consistent with the size of the btkey member in BTENTRY, the 4-byte NID is extended to its 8-byte equivalent for Unicode PST files.

bidData (Unicode: 8 bytes; ANSI: 4 bytes): The BID of the data block for this node.

bidSub (Unicode: 8 bytes; ANSI: 4 bytes): The BID of the subnode block for this node. If this value is zero, a subnode block does not exist for this node.

nidParent (4 bytes): If this node represents a child of a Folder object defined in the Messaging Layer, then this value is nonzero and contains the NID of the parent Folder object's node. Otherwise, this value is zero. See section 2.2.2.7.7.4.1 for more information. This field is not interpreted by any structure defined at the NDB Layer.

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